OMHierarchyRelationship::find Method
Finds the specified record in the OMHierarchyRelationship table, based on the parties that are involved in a relationship.
Syntax
client server public static OMHierarchyRelationship find(
OMHierarchyType _hierarchy,
DirPartyRecId _parentParty,
DirPartyRecId _childParty,
[boolean _forupdate])
Run On
Called
Parameters
- _hierarchy
Type: OMHierarchyType Table
The OMHierarchyType 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.
- _forupdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: OMHierarchyRelationship Table
A record in the OMHierarchyRelationship table.