on 2024 Jul 16 5:32 PM
Dear experts,
Please advise how to create the "A/R Invoice + Payment" type document in SAP B1 using the Service Layer. I can successfully create an A/R Invoice separately and Payment separately, but how do I post the A/R Invoice + Payment (in one SL call or multiple) so that the document appears in the "A/R Invoice + Payment" list in SAP B1 ?
Inspecting and comparing the fields I get when reading both the A/R Inv + Payment and just the A/R Inv documents (both using the Invoices service, created manually in the client) I can only idenfity the difference being the InvoicePayment = tYes and InvoicePayment = tNo respectively. Creating Invoice and Payment separately and then PATCHing the Invoice to set the InvoicePayment = tYes does not seem to accomplish the task, the InvoicePayment remains tNo for me.
Request clarification before answering.
Hi ivarsk2,
As far as I know, it is not possible in Service Layer.
You will have to do it separately only but can be done in a single request.
In a Batch request, create the Invoice first and later create the Payment for the created Invoice.
Kind regards,
ANKIT CHAUHAN
SAP Business One Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
40 | |
15 | |
10 | |
9 | |
5 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.