DirPartyRelationship::createRelations Method
Creates a relationship record in the DirPartyRelationship table if it does not exist.
Syntax
client server public static RecId createRelations(
DirRelationshipTypeId _relationshipTypeId,
DirPartyRecId _parentParty,
DirPartyRecId _childParty,
[DirDataAreaId _dataAreaId])
Run On
Called
Parameters
- _relationshipTypeId
Type: DirRelationshipTypeId Extended Data Type
The DirRelationshipTypeId value for which the record must be created.
- _parentParty
Type: DirPartyRecId Extended Data Type
The DirPartyRecId value for the parent address book record.
- _childParty
Type: DirPartyRecId Extended Data Type
The DirPartyRecId value for the child address book record.
- _dataAreaId
Type: DirDataAreaId Extended Data Type
Return Value
Type: RecId Extended Data Type
The record ID of the newly created DirPartyRelationship record.