on 2022 Aug 04 7:07 PM
Hello,
I have a requirement to Add an Item to a Sales Order Invoice Request using OData.
I have created an OData Service for this with nodes:
SalesOrderInvoiceSchedule
SalesOrderInvoiceScheduleItem
SalesOrderToBeScheduledItem
OData POST Request Endpoint :https://myXXXXXX.sapbydesign.com/sap/byd/odata/cust/v1/salesorderprojectassignment/SalesOrderToBeScheduledItemCollection
JSON Body:
{
"ParentObjectID": "FA163E1286091EDD84FBF342E8A92A7C",
"InvoiceScheduleTypeCode": "2",
"ID":"10"
}
Where ParentObjectID is the Sales Order Invoice Schedule UUID
Response:
<?xml version="1.0" encoding="utf-8"?>
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<code>ERROR</code>
<message xml:lang="en">Item 10 does not exist</message>
</error>
However I receive a response saying Line Item 10 does not exist, however this item does exist on the Sales Order
Can anyone assist with adding an item to Sales Order Invoice Schedule via OData?
Regards
Hi Martin!
I have the same need. Were you able to resolve this? Is that something you can share?
Thanks!
Eelco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
8 | |
6 | |
5 | |
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.