cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Supplier Invoice for multi-line PO Reference with ByDesign SOAP does not work properly

x27lu
Explorer
0 Kudos

Hello, I'm noticing a problem when I try to create a Supplier Invoice referencing a Purchase Order that has multiple lines. I am using the SOAP API for Maintain supplier invoices (https://help.sap.com/doc/a2b4c7ef61d64397b2b1d052082a8a08/2311/en-US/PSM_ISI_R_II_SRM_SI_SI_MBO.html... and like on the documentation I have PurchaseOrderReference filled for every Item. For some reason, it works fine when I send over invoice for single-line PO - the Reference Documents section in SAP gets correctly populated with the Purchase Order - but when I do the same for invoice with a multi-line PO, that section doesn't get populated, and I also notice the PO is not linked in the Document flow. Screenshots on what I see in the invoices attached. Does anyone know why this is happening?

x27lu
Explorer
0 Kudos
Hi, just checking back on this if anyone knows? Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

x27lu
Explorer
0 Kudos

Figured it out! I must also be sending the item ID into

SupplierInvoiceMaintainRequestBundleItemProduct.ProductKey.ProductID.Value