EventCreateRule::isForeignKey Method [AX 2012]
Tests whether a field is a foreign key.
Syntax
client server public static boolean isForeignKey(TableId _alertTableId, FieldId _alertFieldId)
Run On
Called
Parameters
- _alertTableId
Type: TableId Extended Data Type
A table ID of the alerted field.
- _alertFieldId
Type: FieldId Extended Data Type
A field ID of the alerted field.
Return Value
Type: boolean
true if the field specified in the rule is a foreign key; otherwise, false.