src-db/database/model/functions/M_INOUT_POST.xml
changeset 19150 34495b8f0646
parent 19148 e673ef0ebd97
child 19152 ae1c846b6f3f
--- a/src-db/database/model/functions/M_INOUT_POST.xml	Wed Jan 02 18:52:00 2013 +0100
+++ b/src-db/database/model/functions/M_INOUT_POST.xml	Wed Jan 02 19:13:40 2013 +0100
@@ -660,6 +660,7 @@
             SET Processed='Y',
             DocStatus='CO',
             DocAction='--',
+            Process_Goods_Java='--',
             Updated=now(),
             UpdatedBy=v_User
           WHERE M_INOUT.M_INOUT_ID=Cur_InOut.M_INOUT_ID;
@@ -735,7 +736,7 @@
               C_Costcenter_ID, A_Asset_ID,
               DeliveryViaRule, M_Shipper_ID, C_Charge_ID, ChargeAmt,
               PriorityRule, DocStatus, DocAction, Processing,
-              Processed, ISLOGISTIC, salesrep_id
+              Processed, ISLOGISTIC, salesrep_id, Process_Goods_Java
             )
             VALUES
             (
@@ -750,7 +751,7 @@
               Cur_InOut.C_Costcenter_ID, Cur_InOut.A_Asset_ID,
               Cur_InOut.DeliveryViaRule, Cur_InOut.M_Shipper_ID, Cur_InOut.C_Charge_ID, Cur_InOut.ChargeAmt * -1,
               Cur_InOut.PriorityRule, 'DR', 'CO', 'N',
-               'N', Cur_InOut.islogistic, Cur_InOut.salesrep_id
+               'N', Cur_InOut.islogistic, Cur_InOut.salesrep_id, 'CO'
             )
             ;
           v_ResultStr:='InsertInOutLine';
@@ -804,6 +805,7 @@
             Processed='Y',
             DocStatus='VO', -- it IS reversed
             DocAction='--',
+            Process_Goods_Java='--',
             Updated=now(),
             UpdatedBy=v_User
           WHERE M_INOUT.M_INOUT_ID=Cur_InOut.M_INOUT_ID;