FUNCTOID 1 code
//* PayableDenialCode feeds both AdjustmentIndicator and AdjustmentReason *//
public string PayableDenialCodeScript(string AdjustmentIndicator)
{
string ValueOut = "1";
if (AdjustmentIndicator == "00")
{
ValueOut = "0";
}
return ValueOut;
}
Fundtoid 2 code
//* PayableDenialCode feeds both AdjustmentIndicator and AdjustmentReason *//
public string PayableDenialCodeScript(string AdjustmentReason)
{
string ValueOut = AdjustmentReason ;
if (ValueOut == "00")
{
ValueOut = null;
}
return ValueOut;
}
When the 2nd functoid is executed it will use the functoid 1's logic because they have the same name.