Share via


WrkCtrScheduler.getProductionUnitAndWarehouse Method [AX 2012]

Retrieves the production unit and warehouse that is assigned to the route.

Syntax

protected container getProductionUnitAndWarehouse(
    RecId _currentRecId, 
    RecId _previousRecId, 
    WrkCtrParmSchedule _wrkCtrParmSchedule, 
    ProdUnitId _prodUnitId, 
    InventLocationIdInput _inputWarehouse, 
    RouteMap _routeMap)

Run On

Server

Parameters

  • _wrkCtrParmSchedule
    Type: WrkCtrParmSchedule Class
    A WrkCtrParmSchedule table buffer that contains all the scheduling parameters that are required for scheduling the production order.
  • _routeMap
    Type: RouteMap Map
    A RouteMap table map that has the current route.

Return Value

Type: container
A container that contains the identifier of the current record, the production unit identifier and the input warehouse identifier.

See Also

Reference

WrkCtrScheduler Class