PSAResAssignAnalysisBase::calcCommit Method [AX 2012]

Calculates the total commited time for the given worker, commitment type, and date range.

client server public static Hours calcCommit(
    HcmWorkerRecId _sHCMWorkerId, 
    PSASchedCommit _commitType, 
    TransDate _dFromDate, 
    TransDate _dToDate, 
   [LegalEntityRecId _legalEntity])

Run On

Called

Parameters

_sHCMWorkerId
Type: HcmWorkerRecId Extended Data Type
The worker's HcmWorkerRecId.
_commitType
Type: PSASchedCommit Enumeration
The commitment type.
_dFromDate
Type: TransDate Extended Data Type
The starting date (inclusive).
_dToDate
Type: TransDate Extended Data Type
The ending date (inclusive).
_legalEntity
Type: LegalEntityRecId Extended Data Type
The worker's legal entity.

Return Value

Type: Hours Extended Data Type
The total commited time.
Show: