Klaus79
3 years ago
#25689
::
Hi Kahn,
here it is:
try {
var resultConnector = Simplifier.Connector.DataLoad.saveT002FromSAP({
CustID: input.CustID,
SystemID: input.SystemID,
params: dataset
});
Simplifier.Log.debug(“resultConnector”, resultConnector);
insertedID = resultConnector.generatedID;
} catch (e) {
//error is catched but ‘e’ is <undefined>
Simplifier.Log.debug(“error in connector call”, e);
message_text = e.message;
message_name = e.name;
}
The result of the connector:
{
“message”: “Duplicate entry ‘1-3-D’ for key ‘PRIMARY'”,
“success”: false
}
Best regards
Klaus