InventTransInvoice::costAmount Method [AX 2012]
Calculates the cost price for an invoice from the journal.
Syntax
server public static CostAmount costAmount(
InventTransOriginId _transOriginId,
InvoiceId _invoiceNum,
TransDate _invoiceDate)
Run On
Server
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: CostAmount Extended Data Type
The cost price for an invoice.