PSAResourceAssignmentAnalysisDP.employeeHasReservationOnProject Method [AX 2012]

Indicates whether the employee has reservations on the project.

private boolean employeeHasReservationOnProject(
    HcmWorkerRecId _sHcmWorkerRecId, 
    ProjId _sProjId, 
    TransDate _dStartDate, 
    TransDate _dEndDate)

Run On

Server

Parameters

_sHcmWorkerRecId
Type: HcmWorkerRecId Extended Data Type
The record ID of the worker.
_sProjId
Type: ProjId Extended Data Type
The project ID of the project to which a worker belongs.
_dStartDate
Type: TransDate Extended Data Type
The start date in the transaction range for fetching records in the PSASchedEmplReservation table.
_dEndDate
Type: TransDate Extended Data Type
The end date in the transaction range for fetching records in the PSASchedEmplReservation table.

Return Value

Type: boolean
true if employee has reservations on the project; otherwise, false.

Community Additions

ADD
Show: