PSAResAssignAnalysis_Department.employeeHasReservationOnProjectContract Method [AX 2012]

Determines whether an employee has reservations on a project contract.

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

Run On

Called

Parameters

_sHcmWorkerRecId
Type: HcmWorkerRecId Extended Data Type
The record ID of the worker.
_sProjInvoiceProjId
Type: ProjInvoiceProjId Extended Data Type
The ProjInvoiceProjId value for which 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: