PSAResourceSchedulingBL.calcOpenHours Method [AX 2012]

Calculates the total open hours in the period start date and end date.

public Hours calcOpenHours(
    CalendarId _sCalendarId, 
    TransDate _dSchedPrjFrom, 
    TransDate _dSchedPrjTo)

Run On

Server

Parameters

_sCalendarId
Type: CalendarId Extended Data Type
The calendar used to find the open hours of a worker.
_dSchedPrjFrom
Type: TransDate Extended Data Type
The start date used to calculate the open hours.
_dSchedPrjTo
Type: TransDate Extended Data Type
The end date used to calculate the open hours.

Return Value

Type: Hours Extended Data Type
The total open hours in the period start date and end date.

Community Additions

ADD
Show: