Share via


WrkCtrScheduler.productionUnit Method [AX 2012]

Retrieves the production unit ID assigned to the resource or resource group previously used to schedule a specific operation.

Syntax

protected ProdUnitId productionUnit(anytype _oprNumKey)

Run On

Server

Parameters

  • _oprNumKey
    Type: anytype
    The key value that is used to find the resource or resource group used for the previous scheduling run.

Return Value

Type: ProdUnitId Extended Data Type
The production unit ID or an empty string of no production unit is assigned.

See Also

Reference

WrkCtrScheduler Class