ProdCapacityReservationsDP.reserved Method [AX 2012]

Obtains the total reserved hours information about a work center in a given a single date and master plan.

private CapacityReservedHours reserved(
    WrkCtrReservedSum _reservedSum, 
    ReqPlanId _reqPlanId, 
    WrkCtrId _wrkCtrId, 
    date _date)

Run On

Server

Parameters

_reservedSum
Type: WrkCtrReservedSum Class
The instance of the WrkCtrReservedSum class that is used to calculate the reserved hours.
_reqPlanId
Type: ReqPlanId Extended Data Type
The master plan ID from which to obtain capacity load data.
_wrkCtrId
Type: WrkCtrId Extended Data Type
The work center ID from which to obtain capacity load data.
_date
Type: date
The date for which to obtain the information.

Return Value

Type: CapacityReservedHours Extended Data Type
The number of total reserved hours if available; otherwise, 0.

Community Additions

ADD
Show: