ebs.massInsertDynamicEbs

Inserts multiple records in an entity based on the output from a fetch. A single attribute of the inserted records can be populated using the fetch output. For the remaining attributes, you can only apply a set of static values.

Syntax

Copy
function ebs.massInsertDynamicEbs(massInsertDynamicRequest: IMassInsertDynamicRequest, callback: Function, errorCallback?: Function): void;
 
Parameter Type Description
massInsertDynamicRequest IMassInsertDynamicRequest Details about the insert parameters.
callback Function Callback function to run on the returned fields.
errorCallback? (optional) Function Callback function to run in case of failure.

Type Aliases

Return Value

Returns details about the insert operation in a JSON object that can be used as input for the callback function.

For example:

Copy
{
  "Id": "071de2b6-5e4c-400a-9c38-3a0e4b4cc3f0",
  "Message": "Dynamic records inserted: 5",
  "IsSuccess": true,
  "ClientScript": null,
  "ErrorCode": 0,
  "Serialized": "{\"Id\":\"071de2b6-5e4c-400a-9c38-3a0e4b4cc3f0\",\"Message\":\"Dynamic records inserted: 5\",\"IsSuccess\":true,\"ClientScript\":null,\"ErrorCode\":0,\"Serialized\":null,\"UIResult\":null,\"AdditionalInfo\":{}}",
  "UIResult": null,
  "AdditionalInfo": {}
}

Examples