PurchTableCheckQuantity.constructPurchQuantity Method [AX 2012]

Instantiates a new instance of the PurchQuantity class based on the specified document.

protected PurchQuantity constructPurchQuantity(DocumentStatus _documentStatus, boolean _excludePending)

Run On

Called

Parameters

_documentStatus
Type: DocumentStatus Enumeration
The document for which the PurchQuantity object should be instantiated.
_excludePending
Type: boolean
An Boolean value that specifies whether pending documents are to be excluded from the check.

Return Value

Type: PurchQuantity Class
A new instance of the PurchQuantity class.

Community Additions

ADD
Show: