DictTable.primaryIndex Method [AX 2012]
Returns the ID of the primary index for the table.
public IndexId primaryIndex([boolean asDefinedInAOT])
Run On
CalledParameters
- asDefinedInAOT
- Type: boolean
A Boolean value that indicates whether the primary index to retrieve is defined in the AOT. A value of true returns the primary index as defined in the AOT. A value of false returns the primary index as defined in the SQL table; optional.
Return Value
Type: IndexId Extended Data TypeThe ID of the primary index for the table; 0 (zero) if there is no primary index for the table.
Community Additions
ADD
Show: