ProdStatusType.isStatusUpdateAllowed Method [AX 2012]

Indicates whether a production order status is able to be updated to the status specified by the _toStatus parameter.

protected boolean isStatusUpdateAllowed(ProdStatusAll _toStatus)

Run On

Called

Parameters

_toStatus
Type: ProdStatusAll Enumeration
The status the production order status is to be updated to. The isStatusUpdateAllowed method will verify whether production order status can be updated the status supplied by this parameter.

Return Value

Type: boolean
true if the production order status can be updated to the status specified by the _toStatus parameter; otherwise, false.

isStatusUpdateAllowed verifies if production order status is allowed by parameters of a production module.

Production order status is always allowed to be updated to the same status.

Community Additions

ADD
Show: