PurchTableType.isDocumentStatusTransitionPossible Method [AX 2012]
Checks whether it is possible to update the DocumentStatus field of the PurchTable.
Syntax
private boolean isDocumentStatusTransitionPossible(DocumentStatus finalDocumentStatus)
Run On
Called
Parameters
- finalDocumentStatus
Type: DocumentStatus Enumeration
the final Document Status
Return Value
Type: boolean
true if it is possible to change the Document Status; otherwise, false.
Remarks
The logical enum value of the confirmation request is between quotation and purchase order, but the actual one has a bigger value and we need to customize the transition from or to confirmation request.