Skip to Content
avatar image
Former Member

How to replace sales order lines in SAP B1 v 9.2

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 17, 2017 at 09:55 AM

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

    Regards, Zal

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 17, 2017 at 10:49 AM

    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

    Add comment
    10|10000 characters needed characters exceeded