PSASchedEmplReservation::reservedProj Method
Calculate the total reserved hours for a certain project/activity/quotation during a period of time
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 reservedProj(
ProjId _sProjId,
QuotationId _sQuotationId,
ProjActivityId _sActivityId,
[TransDate _dFrom,
TransDate _dTo,
PSASchedCommit _commitType])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static Hours reservedProj(
ProjId _sProjId,
QuotationId _sQuotationId,
ProjActivityId _sActivityId,
[TransDate _dFrom,
TransDate _dTo,
PSASchedCommit _commitType])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static Hours reservedProj(
ProjId _sProjId,
QuotationId _sQuotationId,
ProjActivityId _sActivityId,
[TransDate _dFrom,
TransDate _dTo])
Microsoft Dynamics AX 2012 (FPK)
client server public static Hours reservedProj(
ProjId _sProjId,
QuotationId _sQuotationId,
ProjActivityId _sActivityId,
[TransDate _dFrom,
TransDate _dTo])
Run On
Called
Parameters
- _sProjId
Type: ProjId Extended Data Type
The project id
- _sQuotationId
Type: QuotationId Extended Data Type
The quotation id
- _sActivityId
Type: ProjActivityId Extended Data Type
The activity id
- _dFrom
Type: TransDate Extended Data Type
The start date of the period of time
- _dTo
Type: TransDate Extended Data Type
The end date of the period of time
- _commitType
Type: PSASchedCommit Enumeration
The commitment type to search for
Return Value
Type: Hours Extended Data Type
Total hours of reservation