How to change tax schedue value BUS Provide X script

Hello everyone,

With this C# method 

public OperationResult<object> UpdateTaxSchedule(string docNumber, s.TransactionSubType subtype, string taxSchedule)
{

SetValue("TaxSchedule$", taxSchedule);
return "Ok";
}

protected void SetValue(string column, object val)
{
InvokeMethodAndProcessCode("nSetValue", column, val);
}

Sound easy as hell but there is a error message

operation has been failed. "ET" is not numeric.

The value which i`m trying to set is string but not numeric.Does anyone has been seen this error message?

  • 0
    InvokeMethodAndProcessCode looks like your own method. So perhaps it is something in there? In the DispatchObject class there is no such method (Only InvokeMethod and it's overrides, and InvokeMethodByRef). Please be aware that Sage 100 - at least some versions - do not accept decimals as numeric types, but only doubles. So if you are doing something that uses decimals that "could" be it...