Menu Object
 
Syntax
 
Menu.AppProductionOrders [ProductionOrderNumber][, StatusFilter][, SeasonCode]
 
Description
Opens the Production Orders application. Optionally, a specific production order, a status filter, and a season code can be specified.
 
Parameter
Description
ProductionOrderNumber
Optional. Production order number to open directly. Default value 0 (overview is shown).
StatusFilter
Optional. Filter for the status of production orders to display. Default value pdmOverview.
Valid values:
pdmOverview (0) = All orders,
pdmNew (2) = New orders,
pdmPlanned (3) = Planned orders,
pdmInProduction (4) = Orders in production,
pdmCompleted (5) = Completed orders,
pdmHistorical (6) = Historical orders.
SeasonCode
Optional. Code of the season to filter production orders.
See Also
AppProductieOrders (Dutch variant)
Example
 
Sub Main
    Menu.AppProductionOrders StatusFilter:=pdmInProduction
End Sub