Friday, January 17, 2020

EAI XML Write To File from eScript

While development we need to see property set to debug. 

Following snippet comes handy during that time:

var bsService = TheApplication().GetService("EAI XML Write to File");
var psOutputs = TheApplication().NewPropertySet();
psInputs.SetProperty("FileName","c:\\Propset.xml"); // Location and Name of Property Set file
bsService.InvokeMethod("WritePropSet",psInputs,psOutputs);

No comments:

Post a Comment

Updating parent BC depending on the status of child BC using configuration

Parent BC: Service Request Child BC: Action Requirement: When all the Actions corresponding to an SR are closed the SR status should be “Clo...