cancel
Showing results for 
Search instead for 
Did you mean: 

How to Post Incoming Payments as a DRAFT via DI API

pvsbprasad
Active Contributor
0 Kudos

Hi,

How to post Incoming Payments as a DRAFT via DI API

Regards,

Prasad

Accepted Solutions (1)

Accepted Solutions (1)

edy_simon
Active Contributor
0 Kudos

Hi Prasad,

Use this :

Dim oPaym As SAPbobsCOM.Payments

oPaym = oCompany.GetBusinessObject(BoObjectTypes.oPaymentsDrafts)

oPaym.DocObjectCode = BoPaymentsObjectType.bopot_IncomingPayments

Regards
Edy

0 Kudos

Hi Edy,

can you please give an example. I just want to add an outgoing payment to the draft...but I don't have an idea how I do it. I used to write some code for that but it directly adds outgoing payment rather than adding it in payment draft.

Regards

Sapna

Answers (0)