src-db/database/model/functions/M_RESERVATION_POST.xml
changeset 26090 b6c2ecaf7e1a
parent 25779 aa854421dcf5
child 27059 d759928f7271
--- a/src-db/database/model/functions/M_RESERVATION_POST.xml	Thu Feb 26 21:38:33 2015 +0000
+++ b/src-db/database/model/functions/M_RESERVATION_POST.xml	Thu Feb 26 19:48:36 2015 +0100
@@ -57,7 +57,7 @@
     --  Update AD_PInstance
     DBMS_OUTPUT.PUT_LINE('Updating PInstance - Processing ' || p_pinstance_id) ;
     v_ResultStr:='PInstanceNotFound';
-    AD_UPDATE_PINSTANCE(p_PInstance_ID, NULL, 'Y', NULL, NULL) ;
+    AD_UPDATE_PINSTANCE(p_PInstance_ID, NULL, 'Y', NULL, NULL, 'N') ;
     --  Get Parameters
     v_ResultStr:='ReadingParameters';
     FOR Cur_Parameter IN (
@@ -417,7 +417,7 @@
 
   IF (p_pinstance_id IS NOT NULL) THEN
     DBMS_OUTPUT.PUT_LINE('Updating PInstance - Finished ' || v_Message) ;
-    AD_UPDATE_PINSTANCE(p_PInstance_ID, NULL, 'N', v_Result, v_Message) ;
+    AD_UPDATE_PINSTANCE(p_PInstance_ID, NULL, 'N', v_Result, v_Message, 'N') ;
     DBMS_OUTPUT.PUT_LINE('--<<M_Reservation_Post finished>> ' || v_Message) ;
   END IF;
   RETURN;
@@ -428,7 +428,7 @@
   DBMS_OUTPUT.PUT_LINE(v_ResultStr) ;
   IF (p_pinstance_id IS NOT NULL) THEN
     ROLLBACK;
-    AD_UPDATE_PINSTANCE(p_pinstance_id, NULL, 'N', 0, v_ResultStr) ;
+    AD_UPDATE_PINSTANCE(p_pinstance_id, NULL, 'N', 0, v_ResultStr, 'N') ;
   ELSE
     RAISE;
   END IF;