Skip to Content
0

How to replace sales order lines in SAP B1 v 9.2

Oct 17, 2017 at 07:20 AM

32

avatar image
Former Member

Requirement: To add a new line in the sales order line and replace the sales order lines with the new payload (which includes the new line).

To achieve this, I used the PUT method and all worked fine till v9.1 of B1. After the upgrade to v9.2 this stopped working and i keep getting the following error:

so-error.png

All document lines, including the new line to be added, in the payload contains the required fields:

so-payload.png

Found this blog, https://answers.sap.com/questions/243999/service-layer-how-to-update-add-and-remove-items-f.html. But even with this I got the exact same error.

so-error.png (13.0 kB)
so-payload.png (26.9 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Zal Parchem
Oct 17, 2017 at 09:55 AM
0

Hello Nathima - I might be reading it incorrectly, but did you set up a Unit of Measure Code called "month"???

Regards, Zal

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Oct 17, 2017 at 10:49 AM
0

Hi Zal,

We have defined UoM to be either week or month according to our requirement.. It indicates the contract for the order to be in weeks or months.

Regards,

Namitha

Share
10 |10000 characters needed characters left characters exceeded