Skip to Content
0

Replace Sales Order lines in SAP Business One

Sep 13, 2017 at 12:33 PM

44

avatar image
Former Member

Hi,

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.

Regards,

Namitha N Telkar

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers