Skip to Content
0

how to send the data for Multiple sales orders creation along with the multiple items.

Apr 10, 2017 at 06:49 AM

49

avatar image

Hi Experts,

I have one strange requirement in which I have to design a screen with two tables.

One table for Multiple headers and another (in next view) with the corresponding items.

I have to send the whole data so that the records can be created in the back-end for a single request.

If any alternate way is there, please let me know.

So in this case, how do I have to write the logic?

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

1 Answer

Jun Wu Apr 14, 2017 at 01:43 PM
0
Show 3 Share
10 |10000 characters needed characters left characters exceeded

Thanks for your quick response Jun Wu.

I have already implemented the logic in the Create_deep_entity method. But it gets triggered for single request.

Now my problem is How do I write the logic in the front-end to trigger that method for multiple times in a single request.

Simply, in which way I have to send the data from the front-end..?

Even I tried the "FOR" loop.

0

do u know batch?

not sure if batch support this

0

If you are using v2 oData model it should support batch by default and oModel.create() called in a loop should trigger changeset_begin in the gateway.

0