PurchLine.pdsCWCalcPendingMatchedQtyInvent Method
Calculates a sum of the PdsCWInventNow quantity for invoice lines connected to this PurchLine table record, which are matched to a packing slip.
Syntax
public PdsCWInventQty pdsCWCalcPendingMatchedQtyInvent([boolean _pendingOnly, boolean _openEndedOnly])
Run On
Called
Parameters
- _pendingOnly
Type: boolean
A Boolean value which determines whether only pending invoice lines are considered connected. True, if only pending invoice lines are considered connected; otherwise, false; optional.
- _openEndedOnly
Type: boolean
A Boolean value which determines whether only sub lines without a relationship to a packing slip should be considered.
True, if only sub lines without a relationship to a packing slip are considered in the calculation; otherwise, false; optional.
Return Value
Type: PdsCWInventQty Extended Data Type
The calculated PdsCWInventNow quantity.
Remarks
Records from the VendInvoiceInfoSubLine table are used in the calculation.