Requirement: Need to replace the existing sales order lines with a new set of Document Lines through B1S layer.
Problem Statement: On B1 v9.1, I used the PUT method along with the new document lines in the payload, to achieve this requirement. But after B1 upgrade to 9.2 this functionality has stopped working. Now every time that I try to replace the sales order lines using PUT, the following error is thrown: "1470000315 - Cannot add or update document; specify a UoM code".
Every document line in the payload already contains the UoMCode, ItemCode and other necessary fields. I have tried quite a few approaches to resolve this but nothing seems to have worked.
Any help is much appreciated.
Namitha N Telkar