PSAResourceAssignmentAnalysisDP::capacity Method [AX 2012]
Calculates the total capacity in hours of the worker in the specified start and end date interval.
server public static Hours capacity(
HcmWorkerRecId _sHCMWorkerId,
TransDate _dFromDate,
TransDate _dToDate)
Run On
ServerParameters
- _sHCMWorkerId
- Type: HcmWorkerRecId Extended Data Type
The record ID of the worker.
- _dFromDate
- Type: TransDate Extended Data Type
The start date of the time interval to fetch the capacity of the worker.
- _dToDate
- Type: TransDate Extended Data Type
The end date of the time interval to fetch the capacity of the worker.
Return Value
Type: Hours Extended Data TypeThe total capacity in hours of the worker in the start and end date interval.
Show: