DirPartyTable::partyRelationExist Method
Determines whether an address book record is referenced by an entity.
Syntax
server public static boolean partyRelationExist(
TableId _tableId,
DirPartyRecId _party,
[boolean _showInfoLog])
Run On
Server
Parameters
- _tableId
Type: TableId Extended Data Type
The TableId value of the table being referenced.
- _party
Type: DirPartyRecId Extended Data Type
The DirPartyRecId value of the address book record to check.
- _showInfoLog
Type: boolean
A Boolean value that indicates whether to show an Infolog message.
Return Value
Type: boolean
true if the selected address book record is referenced by an entity in the current company; otherwise false.