PSASchedEmplReservation::assignedHours Method
Calcuate the total assigned hours for a worker on a certain date
Syntax
client server public static Hours assignedHours(
ProjWorkerRecId _sWorkerId,
TransDate _dTrans,
PSASchedCommit _eCommit,
ProjId _projId,
[RecId _workerLE])
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
- _projId
Type: ProjId Extended Data Type
The project id
- _workerLE
Type: RecId Extended Data Type
The worker dataarea id
Return Value
Type: Hours Extended Data Type
Total reservation in hours