ProdCapacityReservationsDP.capacity Method [AX 2012]
Obtains the capacity hours information about a work center in a specified single date and master plan.
private CapacityHours capacity(
WrkCtrCapacitySum _capacitySum,
WrkCtrId _wrkCtrId,
date _date)
Run On
ServerParameters
- _capacitySum
- Type: WrkCtrCapacitySum Class
The instance of the WrkCtrCapacitySum class 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 TypeThe number of capacity hours if available; otherwise, 0.
Community Additions
ADD
Show: