src-db/database/model/functions/A_AMORTIZATION_PROCESS.xml
changeset 1605 8a0fe0193bef
parent 756 ae11e4610537
child 1929 ad0353d93b0f
--- a/src-db/database/model/functions/A_AMORTIZATION_PROCESS.xml	Wed Sep 03 17:10:52 2008 +0000
+++ b/src-db/database/model/functions/A_AMORTIZATION_PROCESS.xml	Wed Sep 03 17:55:37 2008 +0000
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
   <database name="FUNCTION A_AMORTIZATION_PROCESS">
     <function name="A_AMORTIZATION_PROCESS" type="NULL">
-      <parameter name="p_pinstance_id" type="NUMERIC" mode="in">
+      <parameter name="p_pinstance_id" type="VARCHAR" mode="in">
         <default/>
       </parameter>
       <body><![CDATA[/*************************************************************************
@@ -24,8 +24,8 @@
   v_ResultStr VARCHAR2(2000):='';
   v_Message VARCHAR2(2000):='';
   v_Result NUMBER:=1; -- 0=failure
-  v_Record_ID NUMBER;
-  v_AD_User_ID NUMBER:=0;
+  v_Record_ID VARCHAR2(32);
+  v_AD_User_ID VARCHAR2(32):='0';
   v_PROCESSED CHAR(1):='N';
   v_POSTED CHAR(1):='Y';
   FINISH_PROCESS BOOLEAN DEFAULT FALSE;