Share via


OMOperatingUnit::getDescendantsAndSelf Method

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

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

See Also

Reference

OMOperatingUnit Table