PurchEditSetup.isDocumentInvoice Method [AX 2012]

Checks whether the DocumentStatus enumeration value is set to Invoice.

protected boolean isDocumentInvoice(DocumentStatus _documentStatus)

Run On

Called

Parameters

_documentStatus
Type: DocumentStatus Enumeration
A DocumentStatus enumeration value that specifies the status of a posting document.

Return Value

Type: boolean
true if the DocumentStatus enumeration value is Invoice; otherwise, false.

Community Additions

ADD
Show: