to get a personalized navigation.
to get a personalized navigation.
Previously we've been able to specify lineNbr values when inserting new lines to existing SalesOrder via API.
I.e.:
PUT https://integration.visma.net/API/controller/api/v1/salesorder/111111
{"operation":"Insert","inventoryId":{"value":"SomeItemId"},"quantity":{"value":1},"unitPrice":{"value":1000},"discountAmount":{"value":0},"lineNbr":{"value":"2"}}
But now it always assigns lineNbr automatically regardless of whether we specify one in the request or not.
Which one is a correct behavior? 🙂
Solved! Go to Solution.
Hello,
Line Numbers are always auto-increment and assigned by the DB with PUT / POST > Insert operations.
They're required as a Line pointer in PUT > Update Line operations.
Copyright © 2022 Visma.com. All rights reserved.