PSAResourceAssignmentAnalysisDP.employeeHasReservationOnProjectContract Method [AX 2012]

Indicates whether an employee has reservations on the project contract.

private boolean employeeHasReservationOnProjectContract(
    HcmWorkerRecId _sHcmWorkerRecId, 
    ProjInvoiceProjId _sProjInvoiceProjId, 
    TransDate _dStartDate, 
    TransDate _dEndDate, 
   [ProjId _sProjId])

Run On

Server

Parameters

_sHcmWorkerRecId
Type: HcmWorkerRecId Extended Data Type
The record ID of the worker.
_sProjInvoiceProjId
Type: ProjInvoiceProjId Extended Data Type
The ProjInvoiceProjId value to fetch the matching record in the ProjTable table.
_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.
_sProjId
Type: ProjId Extended Data Type
The project Id of the project that a worker belongs.

Return Value

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

Community Additions

ADD
Show: