Skip to Content
0

Multi Insert with $BATCH or XSJS for better performance

Mar 30, 2017 at 10:37 AM

126

avatar image

Hi Expert,

We have requirement to insert multiple record in 3 tables.

Table1 -Header

Table2 - Item2

Table3 - Item3

We have two approach, first one is to use $BATCH and second to use .XSJS

In $batch we are sending multiple record in batch request

In XSJS we are sending the request in DEEP_INSERT format by calling the service

https://<>/services/itemCreate.xsjs

{

Header

"Item1":[{

}],

"Item2":[{

}]

}

which approach we need to follow for better performance?

Regards,

Anurag Singh

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

0 Answers