Share via


InventCostInputAmount::getInputAmountFromDistribution Method [AX 2012]

Gets the cost input amount from accounting distributions in the accounting currency.

Syntax

client server public static Amount getInputAmountFromDistribution(
    SourceDocumentLineRecId _sourceDocumentLine, 
    InventMov_Purch _inventMovement, 
    AccountingDistributionReferenceRole _accountingDistributionReferenceRole)

Run On

Called

Parameters

Return Value

Type: Amount Extended Data Type
The cost input amount in the accounting currency.

Exceptions

Exception Condition
Error

The source relation type of the source document line is not a VendPackingSlipTrans or VendInvoiceInfoLine table.

See Also

Reference

InventCostInputAmount Class