InventTransInvoice::qtyPurchased Method [AX 2012]
Calculates the purchased quantity for an invoice from the journal.
Syntax
client server public static InventQty qtyPurchased(
InventTransOriginId _transOriginId,
InvoiceId _invoiceNum,
TransDate _invoiceDate)
Run On
Called
Parameters
- _transOriginId
Type: InventTransOriginId Extended Data Type
The transaction originator ID.
- _invoiceNum
Type: InvoiceId Extended Data Type
The invoice ID.
- _invoiceDate
Type: TransDate Extended Data Type
The date of issue for the invoice.
Return Value
Type: InventQty Extended Data Type
The purchased quantity.