Share via


OMOperatingUnit::getDepartmentChildren Method

Builds a list of the OMDepartment record RefRecId values that are child departments of the specified department.

Syntax

server public static List getDepartmentChildren(
   [RefRecId _departmentRecId, 
    List _list, 
    date _perDate])

Run On

Server

Parameters

  • _departmentRecId
    Type: RefRecId Extended Data Type
    A record ID value that represents the OMDepartment record for which to retrieve child departments.
  • _list
    Type: List Class
    A list of record IDs of all children of the specified OMDepartment record that may have been determined by prior processing.
  • _perDate
    Type: date
    An as-of date to base date range selections upon.

Return Value

Type: List Class
A list of record IDs of all children of the specified OMDepartment record.

Remarks

This method is used recursively.

See Also

Reference

OMOperatingUnit Table