RtBaseline_GetAFAttributeAdjustments
The RtBaseline_GetAFAttributeAdjustments method/function returns a matrix with the following characteristics:
- ROWS: list of the AFAdjustments performed over the specified AFAttribute
- COLUMNS:
- AdjustmentValue (\<TYPE**>) ® New value of the adjustment
- AdjustmentPreviousValue (\<TYPE**>) ® Previous value before the adjust
- AdjustmentTime (DATETIME) ® Time of the adjustment
- AdjustmentUser (STRING) ® Windows User that performs the adjust in the following standard Windows format DOMAIN\USERNAME
- AdjustmentComment (STRING) ® Annotation comment of the adjustment
Note: The TYPE** value depends on the type of the requested AFAttribute. The Table is dynamically updated by the Web Service method.
Web Method Synopsis (C# Syntax)
public DataSet RtBaseline\_GetAFAttributeAdjustments(
string sAFElementPath,
string sAFAttribute,
string sAFAnalysisPath,
DateTime dSearchStart,
DateTime dSearchEnd,
bool bLastOnly);
Output Result
DATASET ® Returns a matrix of the retrieved results based on element selection and output column-set format as specified in the specifications. For an EAI scenario, the output format is a standard XML DIFFGRAMM document. (For further information, refer to Microsoft XML DIFFGRAM v1.x and v2.x specifications.)
Input Parameters
sAFElementPath (STRING) ® The AFElement PATH that must exist in the following format: \\Server\Database\Element. If only the element name is passed, the web service tries to look up the element in the configured default SERVER and DATABASE configured in the machine that is running the Web Services.
sAFAttribute (STRING) ® The AFAttribute name.
sAFAnalysisPath (STRING) ® The Sigmafine AFAnalysis path. Specify the Sigmafine path according to the model configuration with the following format: \\Server\Database\Model\AFAnalysis.
dSearchStart (DATETIME) ® The Start time of the search specified in standard XML format.
dSearchEnd (DATETIME) ® The End time of the search specified in standard XML format.
bLastOnly (STRING) ® This flag indicates whether to return only one row with the latest adjustment. If no adjustments were made on the selected attribute, an empty table is returned.
TRUE® only the latest adjustment
FALSE® (DEFAULT) the complete list of all adjustments