on 02-04-2015 9:43 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.