InventCostInputAmount::getInputAmountFromDistributionForAccount Method [AX 2012]
Gets the cost input amount from accounting distributions in the accounting currency.
Syntax
client server public static Amount getInputAmountFromDistributionForAccount(
SourceDocumentLineRecId _sourceDocumentLine,
LedgerDimensionAccount _ledgerDimension,
AccountingDistributionReferenceRole _accountingDistributionReferenceRole)
Run On
Called
Parameters
- _sourceDocumentLine
Type: SourceDocumentLineRecId Extended Data Type
The source document line for which to get the amount.
- _ledgerDimension
Type: LedgerDimensionAccount Extended Data Type
The account for which to get the amount.
- _accountingDistributionReferenceRole
Type: AccountingDistributionReferenceRole Enumeration
The account role for which to get the amount.
Return Value
Type: Amount Extended Data Type
The cost input amount in the accounting currency.