PCModelingLibrary::getCueDataSourceActiveRecord Method [AX 2012]

Iterates through the parent forms until it can find a compatible record.

client server public static Common getCueDataSourceActiveRecord(
    FormRun _formCaller, 
    int _tableNumber, 
   [int _traverseLevels])

Run On

Called

Parameters

_formCaller
Type: FormRun Class
The caller object.
_tableNumber
Type: int
The ID of the table to retrieve.
_traverseLevels
Type: int
The number of parent levels that the algorithm can traverse.

Return Value

Type: Common Table
A record of the selected table or the null value if no record is found.
Show: