src-db/database/model/triggers/C_BPARTNER_LOCATION_TRG.xml
changeset 1605 8a0fe0193bef
parent 785 8dba91261590
child 2078 cf88ca44cdd2
--- a/src-db/database/model/triggers/C_BPARTNER_LOCATION_TRG.xml	Wed Sep 03 17:10:52 2008 +0000
+++ b/src-db/database/model/triggers/C_BPARTNER_LOCATION_TRG.xml	Wed Sep 03 17:55:37 2008 +0000
@@ -39,7 +39,7 @@
 BEGIN
   DBMS_OUTPUT.PUT_LINE('C_BPartner_Location_Trg') ;
   IF(UPDATING) THEN
-    IF NOT(COALESCE(:old.C_Location_ID, 0) <> COALESCE(:NEW.C_Location_ID, 0) OR COALESCE(:old.Updated, v_DateNull) <> COALESCE(:NEW.Updated, v_DateNull)) THEN
+    IF NOT(COALESCE(:old.C_Location_ID, '0') <> COALESCE(:NEW.C_Location_ID, '0') OR COALESCE(:old.Updated, v_DateNull) <> COALESCE(:NEW.Updated, v_DateNull)) THEN
       RETURN;
     END IF;
   END IF;