PSAResourceSchedulingBL.calcTmpHrsReservedForProj Method [AX 2012]

Calculates the total reserved hours for the project.

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 calcTmpHrsReservedForProj(
            ProjId _sProjId, 
            QuotationId _sQuotationId, 
            ProjActivityId _sActivityId, 
            TransDate _dSchedPrjFrom, 
            TransDate _dSchedPrjTo, 
           [PSASchedCommit _commitType, 
            SelectableDataArea _dataArea])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public Hours calcTmpHrsReservedForProj(
            ProjId _sProjId, 
            QuotationId _sQuotationId, 
            ProjActivityId _sActivityId, 
            TransDate _dSchedPrjFrom, 
            TransDate _dSchedPrjTo, 
           [PSASchedCommit _commitType, 
            SelectableDataArea _dataArea])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public Hours calcTmpHrsReservedForProj(
            ProjId _sProjId, 
            QuotationId _sQuotationId, 
            ProjActivityId _sActivityId, 
            TransDate _dSchedPrjFrom, 
            TransDate _dSchedPrjTo)

  Microsoft Dynamics AX 2012 (FPK)
          public Hours calcTmpHrsReservedForProj(
            ProjId _sProjId, 
            QuotationId _sQuotationId, 
            ProjActivityId _sActivityId, 
            TransDate _dSchedPrjFrom, 
            TransDate _dSchedPrjTo)

Run On

Server

Parameters

_sProjId
Type: ProjId Extended Data Type
The project ID of the project.
_sQuotationId
Type: QuotationId Extended Data Type
The quotation ID of the project quotation.
_sActivityId
Type: ProjActivityId Extended Data Type
The activity ID of the activity in the project.
_dSchedPrjFrom
Type: TransDate Extended Data Type
The start date used to fetch the Employee reservations.
_dSchedPrjTo
Type: TransDate Extended Data Type
The end date used to fetch the Employee reservations.
_commitType
Type: PSASchedCommit Enumeration
_dataArea
Type: SelectableDataArea Extended Data Type

Return Value

Type: Hours Extended Data Type
The total reserved hours for the project.

Community Additions

ADD
Show: