Symptom
You are trying to create an invoice with reference to a purchase order or goods and service receipts using the CreateInvoiceFromReference action from SupplierInvoice BO in your ABSL script from SAP Cloud Applications Studio.
However, the invoice is not being created.
Environment
- SAP Business ByDesign
- SAP Cloud Applications Studio
Resolution
You have to retrieve the referenced document ID from the BO SupplierInvoiceRequest and then pass this value as parameter to action CreateInvoiceFromReference()
Keywords
PDI, SDK, CreateInvoiceFromReference, Purchase Order, Goods and Service Receipt, Supplier Invoice, action , KBA , AP-RC-BDS-SCR , ByDesign Studio Scripting (ABSL) , AP-SIP-SIV , Supplier Invoice , Problem
SAP Knowledge Base Article - Public