PSAMgrResourceScheduling_Load.calcEmplReservation Method [AX 2012]

Calculate the hard/soft reservation for a worker during a certain peirod of time.

public Hours calcEmplReservation(
    RecId _workerId, 
    TransDate _fromDate, 
    TransDate _toDate, 
    PSASchedCommit _eCommit, 
    LegalEntityRecId _workerLegalEntity)

Run On

Server

Parameters

_workerId
Type: RecId Extended Data Type
The worker's recId.
_fromDate
Type: TransDate Extended Data Type
The search's start date.
_toDate
Type: TransDate Extended Data Type
The search's end date.
_eCommit
Type: PSASchedCommit Enumeration
The commitment type.
_workerLegalEntity
Type: LegalEntityRecId Extended Data Type
The worker's legal entity

Return Value

Type: Hours Extended Data Type
Total reserved hard/soft hours for that worker in that duration.

Community Additions

ADD
Show: