2019 Apr 30 2:59 AM
I'm trying to create an Incoming Payment thru DI API. Here's is a snippet of my code
Set oPayments = sapCompany.GetBusinessObject(oIncomingPayments)
oPayments.CardCode = .Fields("CardCode")
oPayments.CardName = .Fields("CardName")
After adding it, I check on the Incoming Payment document in SAP, CardName is not the one I wanted but the one in the Business Partner.
Is there a way to override this behavior? I know that CardName is automatically filled up depending on the CardCode entered but we want to change it in the Incoming Payment document.
2019 May 16 6:38 AM