The CompleteProductionOrder method is used to complete a production order in execution.

The signature of this Method is specified below. Table 33 specifies the Arguments representation.

Signature

CompleteProductionOrder (

[out] MethodExecutionFeedbackType ExecutionFeedback);

Table 33 – CompleteProductionOrder Method Arguments

Argument

Description

ExecutionFeedback

The extended feedback returning a detailed message in case of execution failure.

When the StateMachine is in state Execute, the successful execution of the method causes the transition to state Completing.

When the method is invoked in any other state, the method property Executable is False and when the method is invoked, the status code Bad_NotSupported is returned.