PSAResourceSchedulingBL.calcTmpHrsReservedForWorkerPerProj Method [AX 2012]

Calculates the total reserved hours for a worker per project on a certain date.

public Hours calcTmpHrsReservedForWorkerPerProj(
    ProjId _sProjId, 
    QuotationId _sQuotationId, 
    ProjActivityId _sActivityId, 
    ProjWorkerRecId _projWorkerRecId, 
    PSASchedCommit _commitType, 
    TransDate _dTrans, 
   [RecId companyRecId])

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.
_projWorkerRecId
Type: ProjWorkerRecId Extended Data Type
The current worker.
_commitType
Type: PSASchedCommit Enumeration
The commitment type.
_dTrans
Type: TransDate Extended Data Type
The transaction date.
companyRecId
Type: RecId Extended Data Type

Return Value

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

Community Additions

ADD
Show: