Compartilhar via


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

Return Value

Type: Hours Extended Data Type
Total reservation in hours

See Also

Reference

PSASchedEmplReservation Table