Skip to Content
0

Update Sales Order SAP DI API

Jan 27, 2017 at 02:16 PM

358

avatar image

I've been trying to update an already existing sales order through the DI api but have no luck. Some fields give me the error: this field cannot be updated. But more importantly, when I try to change something in the lines it says that the 'VatSum' field cannot be updated. Can anyone please help me or show me a code sample to try again?

Thanks in advance,

María Inés Montenegro

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

1 Answer

avatar image
Former Member Jan 27, 2017 at 02:56 PM
0

Hi,

First, which fields are you trying to update? Are they in the document header or document item lines? Second, is this SO document has been delivered or invoiced? From my experience, some fields can't be modified once the document is created or some item has been delivered. Once thing you can try is that use SAP B1 client to modify those fields to see if you can modify it inside SAP B1 client. If you even can't modify those fields inside SAP B1 client, then you will know the answer. Although there are very rarely cases that SAP B1 client allow you to modify but DI can't, these cases are very rare.

Lan

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi,

I need to modify both header and item lines of the sales order. I have tried with different status of the SO; and I can, in fact, modify these fields directly through SAP.

Marines

0