Calculate method of FINS CEM Calculation is resulting the null values.
Hi,
Based on Sub Area field value from Service Request we need to set the Planned End Date. I have written below code.
I have created the Ruleset "ABC Service Complaints SLA"in CEM for Sub Area Field.
I am getting null values for the Out parameters. Can anyone guide what I am missing here?
function BusComp_SetFieldValue (FieldName)
{
if(FieldName == "Sub-Area")
{
var Inputs = TheApplication().NewPropertySet();
var Outputs = TheApplication().NewPropertySet();
Inputs.SetProperty("Rule Set Name", "ABC Service Complaints SLA");
Inputs.SetProperty("Write to BC", "Service Request");
Inputs.SetProperty("Time Zone", "GST");
var sFINCEMBS = TheApplication().GetService("FINS CEM Calculation");
sFINCEMBS.InvokeMethod("Calculate", Inputs, Outputs);