ClassFactory.workerReports Method [AX 2012]
Gets a list of workers that report directly or indirectly to the specified HcmWorkerRecId value.
Syntax
public container workerReports(HcmWorkerRecId _workerRecId, [boolean _flushAll])
Run On
Called
Parameters
- _workerRecId
Type: HcmWorkerRecId Extended Data Type
The record ID of the worker.
- _flushAll
Type: boolean
A Boolean value that indicates whether to flush the cached list; optional.
Return Value
Type: container
A packed list of workers that report directly or indirectly to the specified worker.
Remarks
The list of reporting workers is cached the first time that the list is created.