cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member183402
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

former_member183402
Participant
0 Kudos

Thank you so much ANKIT, it works.

Can you please help me on the following link? https://answers.sap.com/questions/749302/how-to-add-outgoing-payment-on-account-in-php-sap.html

Thank you

Answers (0)