LeanProdFlowStatusAction::newLeanProductionFlow Method [AX 2012]

Initializes a new instance of the LeanProdFlowStatusAction class.

server public static LeanProdFlowStatusAction newLeanProductionFlow(LeanProductionFlow _leanProductionFlow, LeanPlanStatusAction _leanPlanStatusAction)

Run On

Server

Parameters

_leanProductionFlow
Type: LeanProductionFlow Table
A LeanProductionFlow record that is used to initialize the instance of the class.
_leanPlanStatusAction
Type: LeanPlanStatusAction Enumeration
A LeanPlanStatusAction enumeration value that is used to initialize the object.

Return Value

Type: LeanProdFlowStatusAction Class
A new instance of the LeanProdFlowStatusAction class.

ExceptionCondition
Error

No production flow record ID was specified.

-or-

The LeanPlanStatusAction enumeration value specified was invalid.

Show: