SysTranslationHelper::getForeignKeyRelationFields Method [AX 2012]
Gets the fields of the table that are related to each other when two table IDs are passed.
Syntax
client server public static Array getForeignKeyRelationFields(TableId _primaryTableId, TableId _translationTableId)
Run On
Called
Parameters
- _primaryTableId
Type: TableId Extended Data Type
An instance of the tableId data type that represents the primary table.
- _translationTableId
Type: TableId Extended Data Type
An instance of the tableId data type that represents the translation table.
Return Value
Type: Array Class
Two field IDs of an Array data type that serve as a relation between the two tables.