PurchTableCheckQuantity.checkQuantity Method [AX 2012]

Checks whether the specified document can be posted by iterating the purchase order lines for the specified purchase order.

public boolean checkQuantity(DocumentStatus _documentStatus, boolean _excludePending)

Run On

Called

Parameters

_documentStatus
Type: DocumentStatus Enumeration
A DocumentStatus enumeration value that specifies the status of the document to be posted.
_excludePending
Type: boolean
An Boolean value that indicates whether pending documents are to be excluded from the check.

Return Value

Type: boolean
true if the document can be posted; otherwise, false.

Community Additions

ADD
Show: