src-db/database/model/triggers/AD_ACCOUNTINGRPT_ELEMENT_TRG.xml
changeset 1605 8a0fe0193bef
parent 756 ae11e4610537
child 1669 a4fcf009a57e
--- a/src-db/database/model/triggers/AD_ACCOUNTINGRPT_ELEMENT_TRG.xml	Wed Sep 03 17:10:52 2008 +0000
+++ b/src-db/database/model/triggers/AD_ACCOUNTINGRPT_ELEMENT_TRG.xml	Wed Sep 03 17:55:37 2008 +0000
@@ -22,9 +22,9 @@
 * All Rights Reserved.
 * Contributor(s):  ______________________________________.
 ************************************************************************/
-  v_xTree_ID NUMBER;
-  v_xParent_ID NUMBER;
-  v_NextNo     NUMBER;
+  v_xTree_ID VARCHAR2(32);
+  v_xParent_ID VARCHAR2(32);
+  v_NextNo     VARCHAR2(32);
 BEGIN
   -- Insert AD_Menu Trigger
   --  for Translation
@@ -39,7 +39,7 @@
     --    AND n.Parent_ID IS NULL
     --AND c.AD_Client_ID=:NEW.AD_Client_ID;
     SELECT AD_TREE_ID,
-      0
+      '0'
     INTO v_xTree_ID,
       v_xParent_ID
     FROM AD_TREE
@@ -64,8 +64,8 @@
         v_xParent_ID,(
         CASE :NEW.IsSummary
           WHEN 'Y'
-          THEN 100
-          ELSE 999
+          THEN '100'
+          ELSE '999'
         END
         )
       )