📄 c_bpartner_contact_trg.sql
字号:
CREATE OR REPLACE TRIGGER C_BPartner_Contact_Trg
AFTER INSERT OR UPDATE OF EMail
ON C_BPartner_Contact
FOR EACH ROW
/*************************************************************************
* The contents of this file are subject to the Compiere License. You may
* obtain a copy of the License at http://www.compiere.org/license.html
* Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
* express or implied. See the License for details. Code: Compiere ERP+CRM
* Copyright (C) 1999-2003 Jorg Janke, ComPiere, Inc. All Rights Reserved.
*************************************************************************
* $Id: C_BPartner_Contact_Trg.sql,v 1.3 2003/04/06 01:59:59 jjanke Exp $
***
* Title: Sync EMail of User - nop - mutating
* Description:
************************************************************************/
BEGIN
NULL;
/**
IF ((INSERTING AND :new.EMail IS NOT NULL) OR UPDATING) THEN
UPDATE AD_User
SET EMail = :new.EMail
WHERE C_BPartner_ID = :new.C_BPartner_ID;
END IF;
**/
END C_BPartner_Contact_Trg;
/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -