Share via


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

  • _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.

See Also

Reference

OMHierarchyRelationship Table