Adjustments
The Adjustments function returns a Data Table containing all the
Sigmafine Case adjustments according to the filter criteria. The
returned Data Table columns will be based on the selected adjustment
information.
Prototype
Adjustments(Type ; Category ; Template ; Element ; Attribute ; List)
Arguments
Type String (optional) By value
A valid string, an expression or a variable (Studio only) qualifying the type of adjustment to be retrieved.
I - Input Case results
O - Output Case results
Null - (not defined) or Empty string to get all Case adjustments
Category String (optional) By value
A valid string, an expression or a variable (Studio only) qualifying the elements category from which to get
the adjustments.
Template String (optional) By value
A valid string, an expression or a variable (Studio only) qualifying the elements template from which to get
the adjustments.
Element String (optional) By value
A valid string, an expression or a variable (Studio only) containing the attribute name.
Attribute String (optional) By value
A valid string , an expression or a variable (Studio only) qualifying the attribute name from which to get the
adjustments.
List
Dynamic argument list qualifying the adjustment information to be returned. Allowed data are:
- name
- element
- attribute
- creationtime (Epoch format)
- creator
- comment
- previousvalue
- adjustedvalue
Returns
Data Table
Exception
Undefined
Undefined is returned if no case is current.
Example
Adjustments('';'SF_Tank'; ; ; 'MeasuredMass';'name';'element';'previousvalue';'adjustedvalue')
This will return a Data Table containing all the adjustments made on the MeasuredMass attribute for the elements belonging to the Sigmafine SF_Tank category.