DirPartyRelationship::find Method
Finds a record from the DirPartyRelationship table that is based on the parties involved in a particular relationship.
Syntax
client server public static DirPartyRelationship find(
DirRelationshipTypeId _relationshipTypeId,
DirPartyRecId _parentParty,
DirPartyRecId _childParty,
[boolean _forupdate])
Run On
Called
Parameters
- _relationshipTypeId
Type: DirRelationshipTypeId Extended Data Type
A DirRelationshipTypeId value for which the record must be created.
- _parentParty
Type: DirPartyRecId Extended Data Type
- _childParty
Type: DirPartyRecId Extended Data Type
- _forupdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: DirPartyRelationship Table
A record from the DirPartyRelationship table.