PSAResourceSchedulingBL.GetCapacityPerWorker Method [AX 2012]

Get the total capacity for a certain worker.

public Hours GetCapacityPerWorker(
    boolean _ignoreCalendar, 
    CalendarId _calendarId, 
    TransDate _startDate, 
    TransDate _endDate, 
    RecId _calendarLegalEntity)

Run On

Server

Parameters

_ignoreCalendar
Type: boolean
Check if the project/activity is set to ignore Calendar.
_calendarId
Type: CalendarId Extended Data Type
The worker's calendarId.
_startDate
Type: TransDate Extended Data Type
The start date of the date range.
_endDate
Type: TransDate Extended Data Type
The end date of the date range.
_calendarLegalEntity
Type: RecId Extended Data Type
The calendar's legal entity.

Return Value

Type: Hours Extended Data Type
The total capacity in hours for the worker during a period of time.

Community Additions

ADD
Show: