OMHierarchyRelationship::getParentOrganization Method
When the RetailHeadquarters configuration key is enabled, returns the parent organization for the OMHierarchyRelationship instance that is passed in; otherwise, returns an empty table buffer.
Syntax
client server public static OMInternalOrganization getParentOrganization(OMHierarchyRelationship _relationship)
Run On
Called
Parameters
- _relationship
Type: OMHierarchyRelationship Table
An OMHierarchyRelationship instance.
Return Value
Type: OMInternalOrganization Table
The parent organization for the OMHierarchyRelationship instance that is passed in if the RetailHeadquarters configuration key is enabled; otherwise, an empty table buffer.