src-db/database/model/functions/C_INVOICE_POST.xml
changeset 3959 140e6c4cca19
parent 3956 2ea030117f07
child 4067 c514d884966b
equal deleted inserted replaced
3958:d94bb99d4777 3959:140e6c4cca19
  1558                   )
  1558                   )
  1559                   VALUES
  1559                   VALUES
  1560                   (
  1560                   (
  1561                     v_debtPaymentID, v_Client_ID, v_Org_ID, 'Y',
  1561                     v_debtPaymentID, v_Client_ID, v_Org_ID, 'Y',
  1562                     now(), v_UpdatedBy, now(), v_UpdatedBy,
  1562                     now(), v_UpdatedBy, now(), v_UpdatedBy,
  1563                     v_IsSOTrx, NULL, NULL, '* ' || v_DocumentNo || ' * (' || COALESCE('' ,v_BPartnerName) ||( CASE WHEN v_POReference IS NULL THEN '' ELSE ' .Ref:'||TO_CHAR(v_POReference) END) || ' )',
  1563                     v_IsSOTrx, NULL, NULL, '* ' || v_DocumentNo || ' * (' || COALESCE(TO_CHAR(v_BPartnerName) ,'') ||( CASE WHEN v_POReference IS NULL THEN '' ELSE ' .Ref:'||TO_CHAR(v_POReference) END) || ' )',
  1564                     v_Record_ID, v_BPartner_ID, v_Currency_ID, NULL,
  1564                     v_Record_ID, v_BPartner_ID, v_Currency_ID, NULL,
  1565                     v_bankAccount, v_cashBook, CUR_PAYMENTS.PaymentRule, 'N',
  1565                     v_bankAccount, v_cashBook, CUR_PAYMENTS.PaymentRule, 'N',
  1566                     C_Currency_Round((v_paymentamount *v_multiplierarc) -withholdamount *(v_paymentamount *v_multiplierarc / v_grandtotal), v_Currency_ID, NULL), 0, v_plannedDate, 'N',
  1566                     C_Currency_Round((v_paymentamount *v_multiplierarc) -withholdamount *(v_paymentamount *v_multiplierarc / v_grandtotal), v_Currency_ID, NULL), 0, v_plannedDate, 'N',
  1567                     'Y', NULL, 'N', 'N',
  1567                     'Y', NULL, 'N', 'N',
  1568                     'N', v_C_Project_Id, 'DE', 'DE', C_Currency_Round(withholdamount *(v_paymentamount *v_multiplierarc / v_grandtotal), v_Currency_ID, NULL),cWithHoldId
  1568                     'N', v_C_Project_Id, 'DE', 'DE', C_Currency_Round(withholdamount *(v_paymentamount *v_multiplierarc / v_grandtotal), v_Currency_ID, NULL),cWithHoldId