DirPartyRelationship::createRecordRelations Method
Creates a relationship record in the DirPartyRelationship table if it does not exist.
Syntax
client server public static RecId createRecordRelations(
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
- _childParty
Type: DirPartyRecId Extended Data Type
- _dataAreaId
Type: DirDataAreaId Extended Data Type
Return Value
Type: RecId Extended Data Type
The record ID of the newly created DirPartyRelationship record.