cancel
Showing results for 
Search instead for 
Did you mean: 

Update Operation for Sales Order header and Item Details

0 Kudos

Hi Team,

I have created a gateway service for Sales Order (CRUD) Operation. I want to change Sales order header and Item but i was not able to receive the data passed as XML from Rest Client/GW Client. Please suggest how to do the SO change as i can see tutorials for simple update.(Need to know the method which we have to redefine as like Create deep entity)

Regards,

Satish

Accepted Solutions (0)

Answers (2)

Answers (2)

EkanshCapgemini
Active Contributor
0 Kudos

Hi Sathish,

You can go for $batch.

If you want it through the Deep Insert way, you may have one extra property in your header entity which serves as flag of DB operation. Then you can call the Update FM if the flag is set to Update and Create FM if flag is for create.

Regards,
Ekansh

EkanshCapgemini
Active Contributor
0 Kudos

Hi,

Did you get your answer? If yes, please close this thread.

How to close a discussion and why

kammaje_cis
Active Contributor
0 Kudos

Satish,

Update deep entity is not supported as per OData. (Create Deep is supported though)

If you require it, I would suggest implement a $Batch.