cancel
Showing results for 
Search instead for 
Did you mean: 

Update Sales Order SAP DI API

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member244307
Participant
0 Kudos

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

Former Member
0 Kudos

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