src-db/database/model/functions/MA_MEASURE_TIME_EXPLODE.xml
changeset 1605 8a0fe0193bef
parent 1273 3f48377a0023
child 6701 690d2af86089
--- a/src-db/database/model/functions/MA_MEASURE_TIME_EXPLODE.xml	Wed Sep 03 17:10:52 2008 +0000
+++ b/src-db/database/model/functions/MA_MEASURE_TIME_EXPLODE.xml	Wed Sep 03 17:55:37 2008 +0000
@@ -1,10 +1,10 @@
 <?xml version="1.0"?>
   <database name="FUNCTION MA_MEASURE_TIME_EXPLODE">
     <function name="MA_MEASURE_TIME_EXPLODE" type="NULL">
-      <parameter name="p_pinstance_id" type="NUMERIC" mode="in">
+      <parameter name="p_pinstance_id" type="VARCHAR" mode="in">
         <default/>
       </parameter>
-      <parameter name="p_measure_time_id" type="NUMERIC" mode="in">
+      <parameter name="p_measure_time_id" type="VARCHAR" mode="in">
         <default/>
       </parameter>
       <body><![CDATA[/*************************************************************************
@@ -26,22 +26,22 @@
   --  Logistice
   v_ResultStr VARCHAR2(2000):='';
   v_Message VARCHAR2(2000):='';
-  v_Record_ID NUMBER;
+  v_Record_ID VARCHAR2(32);
   v_Result NUMBER:=1; --  Success
   --  Parameter
   TYPE RECORD IS REF CURSOR;
     Cur_Parameter RECORD;
     --  Record Info
-    v_Client_ID NUMBER;
-    v_Org_ID NUMBER;
-    v_User_ID NUMBER;
+    v_Client_ID VARCHAR2(32);
+    v_Org_ID VARCHAR2(32);
+    v_User_ID VARCHAR2(32);
     v_CCP_Group NUMBER;
     v_MeasureQty NUMBER;
     v_Line NUMBER;
     v_Processed CHAR;
     Cur_CCP RECORD;
     FINISH_PROCESS BOOLEAN:=false;
-    v_NextNo NUMBER;
+    v_NextNo VARCHAR2(32);
   BEGIN
     --p_Result := 1;
     --  Get Parameters