ProdCapacityReservationsSplitDP.capacity Method [AX 2012]
Obtains the capacity hours information about a work center for a specified single date and master plan.
Syntax
private CapacityHours capacity(
WrkCtrCapacitySum _capacitySum,
WrkCtrId _wrkCtrId,
date _date)
Run On
Server
Parameters
- _capacitySum
Type: WrkCtrCapacitySum Class
The instance of the WrkCtrCapacitySum class that is used to calculate the capacity hours.
- _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: CapacityHours Extended Data Type
The number of capacity hours if available; otherwise, 0.