Skip to Content

What is Distribution rule field of outgoing or incoming payment in SAP B1 SDK?

Hi all, I have a problem of Distribution rule field in SAP B1 SDK.

Actual in marketing documents we use COGSCostingCode it works fine, but outgoing or incoming payment it does not work.

What is Distribution rule field of outgoing or incoming payment in SAP B1 SDK?

I even tried to use OcrCode field of distribution rule in Outgoing payment but it does not work

Please anyone can help me

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 06 at 02:58 PM

    Hi Rurangwa Schadrack,

    Check whether the following piece of code helps or not?

    SAPbobsCOM.Payments oOutgoingPayment = (SAPbobsCOM.Payments)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oVendorPayments);
    oOutgoingPayment.Invoices.DistributionRule = "DR01";
    

    Kind regards,

    ANKIT CHAUHAN

    SAP Business One Support

    Add comment
    10|10000 characters needed characters exceeded