ProdStatusType.statusAlreadyPosted Method [AX 2012]

Checks if the production order ever had the given status

private boolean statusAlreadyPosted(ProdStatusAll _status)

Run On

Called

Parameters

_status
Type: ProdStatusAll Enumeration
The status to check for

Return Value

Type: boolean
A boolean, if the production order had the given status, somewhere in the past, false otherwise.

When running previous jobs during a status change, it is important to check if the production status had ever been set to the status that is being set to now. If yes, the status change should be skipped.

Community Additions

ADD
Show: