Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the descendants and self of an OMInternalOrganization record in a specified OMHierarchyType record.
Syntax
client server public static Set getDescendantsAndSelf(
RecId _omInternalOrganizationRecId,
RecId _omHierarchyTypeRecID,
[utcdatetime _effectiveDateTime,
Set _descendantOperatingUnitTypes])
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; optional.
- _descendantOperatingUnitTypes
Type: Set Class
A set that contains the wanted operating unit types; optional.
Return Value
Type: Set Class
A set that contains the record IDs of the descendants and the self of an OMInternalOrganization record.