EmplSettle_RU.getDistributions Method [AX 2012]
Returns an enumerator of distributions that were created.
Syntax
protected Enumerator getDistributions(
EmplTrans_RU _emplTrans,
LedgerDimensionAccount _defaultLedgerDimension,
DimensionDefault _defaultDimension,
Amount _accountingAmount,
Amount _reportingAmount)
Run On
Server
Parameters
- _emplTrans
Type: EmplTrans_RU Table
The EmplTrans_RU record that is the distributed transaction.
- _defaultLedgerDimension
Type: LedgerDimensionAccount Extended Data Type
The LedgerDimensionAccount value to distribute the amounts to when the original distributions cannot be identified.
- _defaultDimension
Type: DimensionDefault Extended Data Type
The ID of the record that provides the default value for the ledger dimension.
- _accountingAmount
Type: Amount Extended Data Type
The amount to distribute in the accounting currency.
- _reportingAmount
Type: Amount Extended Data Type
The amount to distribute in the reporting currency.
Return Value
Type: Enumerator Interface
An enumerator of a list that contains the collection of CustVendTransDistribution instances that were created.