OMInternalOrganization::getDescendantsAndSelf Method
Gets the descendants and self of an OMInternalOrganization record in a certain hierarchy type.
Syntax
client server public static Set getDescendantsAndSelf(
RecId _omInternalOrganizationRecId,
RecId _omHierarchyTypeRecID,
[utcdatetime _effectiveDateTime,
Set _descendantOrganizationTypes])
Run On
Called
Parameters
- _omInternalOrganizationRecId
Type: RecId Extended Data Type
The record ID of the root OMInternalOrganization record.
- _omHierarchyTypeRecID
Type: RecId Extended Data Type
The record ID of the OMHierarchyType record.
- _effectiveDateTime
Type: utcdatetime
A Boolean value that indicates whether to find the descendants which are effective at the give date time.
- _descendantOrganizationTypes
Type: Set Class
A set that contains the wanted organization types.
Return Value
Type: Set Class
A set that contains the record IDs of the descendants and the self of an OMInternalOrganization record.