PSASchedEmplReservation::reservedHours Method
Calcuate the total reserved hours for a worker on a certain date
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
client server public static Hours reservedHours(
ProjWorkerRecId _sWorkerId,
TransDate _dTrans,
PSASchedCommit _eCommit,
[RecId _workerLE])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static Hours reservedHours(
ProjWorkerRecId _sWorkerId,
TransDate _dTrans,
PSASchedCommit _eCommit,
[RecId _workerLE])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static Hours reservedHours(
ProjWorkerRecId _sWorkerId,
TransDate _dTrans,
PSASchedCommit _eCommit)
Microsoft Dynamics AX 2012 (FPK)
client server public static Hours reservedHours(
ProjWorkerRecId _sWorkerId,
TransDate _dTrans,
PSASchedCommit _eCommit)
Run On
Called
Parameters
- _sWorkerId
Type: ProjWorkerRecId Extended Data Type
The worker's rec id
- _dTrans
Type: TransDate Extended Data Type
The date to search for the reservation
- _eCommit
Type: PSASchedCommit Enumeration
The reservation type
- _workerLE
Type: RecId Extended Data Type
The worker legal entity
Return Value
Type: Hours Extended Data Type
Total reservation in hours