OMHierarchyRelationship::findParent Method
Finds the parent party in the OMHierarchyRelationship table, for the child party specified.
Syntax
client server public static DirPartyRecId findParent(
RefRecId _hierarchyTypeRecId,
DirPartyRecId _childPartyRecId,
[boolean _forupdate])
Run On
Called
Parameters
- _hierarchyTypeRecId
Type: RefRecId Extended Data Type
The record ID of the OMHierarchyType record to which the parties belong.
- _childPartyRecId
Type: DirPartyRecId Extended Data Type
The record ID of DirPartyRecId record for the child party in the address book.
- _forupdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: DirPartyRecId Extended Data Type
The record ID of the parent party in the OMHierarchyRelationship table.