ExpressionTable::deriveExpressionFieldRHSFromXML Method
Derives the right-hand side field path XML attribute value from an expression definition to its corresponding ExpressionProjectionField record.
Syntax
client server private static ExpressionProjectionField deriveExpressionFieldRHSFromXML(ExpressionTable _expressionTable, LabelDescription expressionFieldRHSPath)
Run On
Called
Parameters
- _expressionTable
Type: ExpressionTable Table
The parent ExpressionTable record.
- expressionFieldRHSPath
Type: LabelDescription Extended Data Type
The field path that contains the data source display name and field display name, delimited by a ‘.’ character.
Return Value
Type: ExpressionProjectionField Table
ExpressionProjectionField record.
Remarks
The expression builder control that serializes display names to store the right-hand side field reference for field-to-field comparisons.
This limitation requires that this method exists to resolve the right-hand side fields from expression definitions that are stored in Microsoft Dynamics AX 2009. This method cannot be foolproof in finding the corresponding ExpressionProjectionField records because the display names may change.