src-db/database/model/triggers/AD_FORM_TRG2.xml
changeset 1605 8a0fe0193bef
parent 756 ae11e4610537
child 2078 cf88ca44cdd2
equal deleted inserted replaced
1604:a1c518e6ed93 1605:8a0fe0193bef
    20 * The Initial Developer of the Original Code is Openbravo SL
    20 * The Initial Developer of the Original Code is Openbravo SL
    21 * All portions are Copyright (C) 2001-2006 Openbravo SL
    21 * All portions are Copyright (C) 2001-2006 Openbravo SL
    22 * All Rights Reserved.
    22 * All Rights Reserved.
    23 * Contributor(s):  ______________________________________.
    23 * Contributor(s):  ______________________________________.
    24 ************************************************************************/
    24 ************************************************************************/
    25   v_ID NUMBER(10) ;
    25   v_ID VARCHAR2(32) ;
    26   v_ID_MAP     NUMBER(10) ;
    26   v_ID_MAP     VARCHAR2(32) ;
    27   v_WindowName VARCHAR2(60):='ad_forms';
    27   v_WindowName VARCHAR2(60):='ad_forms';
    28   v_ClassName  VARCHAR2(60) ;
    28   v_ClassName  VARCHAR2(60) ;
    29 BEGIN
    29 BEGIN
    30   IF(UPDATING) THEN
    30   IF(UPDATING) THEN
    31     IF NOT(COALESCE(:old.NAME, '.') <> COALESCE(:NEW.NAME, '.')
    31     IF NOT(COALESCE(:old.NAME, '.') <> COALESCE(:NEW.NAME, '.')