PSAResourceSchedulingBL.calcTmpHrsReservedForEmpl Method [AX 2012]

Calculates the total reserved hours of worker.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          public Hours calcTmpHrsReservedForEmpl(
            ProjWorkerRecId _projWorkerRecId, 
            TransDate _dTrans, 
            PSASchedCommit _eCommit, 
           [RecId companyRecId])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public Hours calcTmpHrsReservedForEmpl(
            ProjWorkerRecId _projWorkerRecId, 
            TransDate _dTrans, 
            PSASchedCommit _eCommit, 
           [RecId companyRecId])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public Hours calcTmpHrsReservedForEmpl(
            ProjWorkerRecId _projWorkerRecId, 
            TransDate _dTrans, 
            PSASchedCommit _eCommit)

  Microsoft Dynamics AX 2012 (FPK)
          public Hours calcTmpHrsReservedForEmpl(
            ProjWorkerRecId _projWorkerRecId, 
            TransDate _dTrans, 
            PSASchedCommit _eCommit)

Run On

Server

Parameters

_projWorkerRecId
Type: ProjWorkerRecId Extended Data Type
The record ID of the worker in a project.
_dTrans
Type: TransDate Extended Data Type
The transaction date that is used to fetch employee reservations performed on that date.
_eCommit
Type: PSASchedCommit Enumeration
The commitment type of the worker.
companyRecId
Type: RecId Extended Data Type

Return Value

Type: Hours Extended Data Type
The total reserved hours of worker.

Community Additions

ADD
Show: