InventCostInputAmount::getInputAmountFromDistributionForAcc_RU Method [AX 2012]
Gets the cost input amount from accounting distributions in the specified currency.
Syntax
client server public static Amount getInputAmountFromDistributionForAcc_RU(
SourceDocumentLineRecId _sourceDocumentLine,
LedgerDimensionAccount _ledgerDimension,
AccountingDistributionReferenceRole _accountingDistributionReferenceRole,
CurrencyCode _currencyCode)
Run On
Called
Parameters
- _sourceDocumentLine
Type: SourceDocumentLineRecId Extended Data Type
The SourceDocumentLine record to get the amount for.
- _ledgerDimension
Type: LedgerDimensionAccount Extended Data Type
The account to get the amount for
- _accountingDistributionReferenceRole
Type: AccountingDistributionReferenceRole Enumeration
The AccountRole value to get the amount for.
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency to receive the result in.
Return Value
Type: Amount Extended Data Type
The cost input amount in the specified currency.