src-db/database/model/functions/M_INOUT_POST.xml
changeset 30807 ecf75ad34ce3
parent 30292 676e26599466
child 30916 97937c788c1c
equal deleted inserted replaced
30806:03b0e1ca6aac 30807:ecf75ad34ce3
  1080                 M_AttributeSetInstance_ID, C_UOM_ID, M_Locator_ID, MovementQty,
  1080                 M_AttributeSetInstance_ID, C_UOM_ID, M_Locator_ID, MovementQty,
  1081                 Description, IsInvoiced,  --MODIFIED BY F.IRIAZABAL
  1081                 Description, IsInvoiced,  --MODIFIED BY F.IRIAZABAL
  1082                 QuantityOrder, M_Product_UOM_ID, IsDescription,
  1082                 QuantityOrder, M_Product_UOM_ID, IsDescription,
  1083                 canceled_inoutline_id, A_Asset_ID, C_Project_ID, C_BPartner_ID,
  1083                 canceled_inoutline_id, A_Asset_ID, C_Project_ID, C_BPartner_ID,
  1084                 User1_ID, User2_ID, C_CostCenter_ID, 
  1084                 User1_ID, User2_ID, C_CostCenter_ID, 
  1085                 explode
  1085                 explode,
       
  1086                 C_AUM, AUMQTY
  1086               )
  1087               )
  1087               VALUES
  1088               VALUES
  1088               (
  1089               (
  1089                 v_NextNo, Cur_InOutLine.Line, v_RInOut_ID, Cur_InOutLine.C_OrderLine_ID,
  1090                 v_NextNo, Cur_InOutLine.Line, v_RInOut_ID, Cur_InOutLine.C_OrderLine_ID,
  1090                 Cur_InOut.AD_Client_ID, Cur_InOut.AD_Org_ID, 'Y', now(),
  1091                 Cur_InOut.AD_Client_ID, Cur_InOut.AD_Org_ID, 'Y', now(),
  1092                 Cur_InOutLine.M_AttributeSetInstance_ID, Cur_InOutLine.C_UOM_ID, Cur_InOutLine.M_Locator_ID, Cur_InOutLine.MovementQty * -1,
  1093                 Cur_InOutLine.M_AttributeSetInstance_ID, Cur_InOutLine.C_UOM_ID, Cur_InOutLine.M_Locator_ID, Cur_InOutLine.MovementQty * -1,
  1093                  '*R*: ' || COALESCE(TO_CHAR(Cur_InOutLine.Description), ''), Cur_InOutLine.IsInvoiced, --MODIFIED BY F.IRIAZABAL
  1094                  '*R*: ' || COALESCE(TO_CHAR(Cur_InOutLine.Description), ''), Cur_InOutLine.IsInvoiced, --MODIFIED BY F.IRIAZABAL
  1094                 Cur_InOutLine.QuantityOrder * -1, Cur_InOutLine.M_PRODUCT_UOM_ID, Cur_InOutLine.IsDescription,
  1095                 Cur_InOutLine.QuantityOrder * -1, Cur_InOutLine.M_PRODUCT_UOM_ID, Cur_InOutLine.IsDescription,
  1095                 Cur_InOutLine.M_InOutLine_ID, Cur_InOutLine.A_Asset_ID, Cur_InOutLine.C_Project_ID, Cur_InOutLine.C_BPartner_ID,
  1096                 Cur_InOutLine.M_InOutLine_ID, Cur_InOutLine.A_Asset_ID, Cur_InOutLine.C_Project_ID, Cur_InOutLine.C_BPartner_ID,
  1096                 Cur_InOutLine.User1_ID, Cur_InOutLine.User2_ID, Cur_InOutLine.C_CostCenter_ID, 
  1097                 Cur_InOutLine.User1_ID, Cur_InOutLine.User2_ID, Cur_InOutLine.C_CostCenter_ID, 
  1097                 Cur_InOutLine.explode 
  1098                 Cur_InOutLine.explode ,
       
  1099                 Cur_InOutLine.C_AUM, Cur_InOutLine.AUMQTY
  1098               )
  1100               )
  1099               ;
  1101               ;
  1100 
  1102 
  1101             -- Create InOut acctounting dimension
  1103             -- Create InOut acctounting dimension
  1102             v_ResultStr:='CreateInOutLineAcctDimension';
  1104             v_ResultStr:='CreateInOutLineAcctDimension';