Skip to main content

Posts

Showing posts from August, 2019

aras.evalMethod Method (aras Object)

aras.evalMethod Method Executes a client side Method with Item node or XML string. Syntax aras.evalMethod( methodNameOrNd , XMLinput , inArgs ) Parameters Name Type Description methodNameOrNd String or Object Required. Client side Method name or node. XMLinput Object Optional. Item node or XML string with Item tag. inArgs Any Optional. Additional arguments to pass. Return Value Returns evaluated result from executed client Method. See Also aras Object Aras Innovator Client Framework

aras.evalItemMethod Method (aras Object)

aras.evalItemMethod Method Executes a client side Method with Item node. Syntax aras.evalItemMethod( methodName , itemNode , addArgs ) Parameters Name Type Description methodName String Required. Client side Method name. itemNode Object Optional. Item node. addArgs Any Optional. Additional arguments to pass. Return Value Returns evaluated result from executed client Method. See Also aras Object Aras Innovator Client Framework

aras.convertToNeutral Method (aras Object)

aras.convertToNeutral Method Converts local value to neutral value. Only effect on specified data types including date, decimal, and float. Syntax aras.convertToNeutral( localValue , data_type , dotNetPattern4Date ) Parameters Name Type Description localValue Any Required. The local value to convert. data_type String Required. Property data type. dotNetPattern4Date String Optional. Decimal pattern or date pattern. When "data_type" is "date", this parameter only supports the following values: short_date (default) short_date_time long_date long_date_time Return Value A String. Returns the converted value. If conversion fails, original value will be returned. See Also aras Object Aras Innovator Client Framework

aras.convertFromNeutral Method (aras Object)

aras.convertFromNeutral Method Converts neutral value to local value. Only effect on specified data types including date, decimal, and float. Syntax aras.convertFromNeutral( val , data_type , dotNetPattern4Date ) Parameters Name Type Description val Any Required. The neutral value to convert. data_type String Required. Property data type. dotNetPattern4Date String Optional. Decimal pattern or date pattern. When "data_type" is "date", this parameter only supports the following values: short_date (default) short_date_time long_date long_date_time Return Value A String. Returns the converted value. If conversion fails, original value will be returned. See Also aras Object Aras Innovator Client Framework