Share via


InventCostInputAmount::getInputAmountFromDistribution_RU Method [AX 2012]

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

Syntax

client server public static Amount getInputAmountFromDistribution_RU(
    SourceDocumentLineRecId _sourceDocumentLine, 
    InventMov_Purch _inventMovement, 
    AccountingDistributionReferenceRole _accountingDistributionReferenceRole, 
    CurrencyCode _currencyCode)

Run On

Called

Parameters

Return Value

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

Exceptions

Exception Condition
Error

The SourceRelationType value of the SourceDocumentLine record is not a VendPackingSlipTrans or VendInvoiceInfoLine table.

See Also

Reference

InventCostInputAmount Class