Table
LedgerAllocationTmpSource
Ledger allocation source amounts
Worksheet table holding source amounts for ledger allocation. Records are grouped by session, timestamp, currency, ledger account and dimensions. Amounts are given in transaction, accounting and reporting currency.
- Table name
LedgerAllocationTmpSource- Module
General ledger- Table group
Worksheet- Table type
Regular- Data per company
Yes- Configuration key
LedgerAllocationRules- Primary index
CurrencyAccountDimIdx- Replacement key
None- Key fields
SessionId, TimeStamp, CurrencyCode, LedgerDimension, DefaultDimension- Model
GeneralLedger
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SessionIdID of the session that created the record. | IntegerSessionId | Yes | None | |
TimeStampUTC timestamp stored as text. | String (60)TimestampString | Yes | None | |
CurrencyCodeCurrency code, linked to the currency record. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | None |
LedgerDimensionPoints to the ledger account and dimension combination. | Int64LedgerDimensionAccount | Yes | DimensionAttributeValueCombination.RecId | None |
DefaultDimensionPoints to the set of dimension values on the record. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | None |
AmountCurAmount in the transaction currency. | RealAmountCur | No | None | |
AmountMSTAmount in the accounting currency. | RealAmountMSTDebCred | No | None | |
AmountMSTSecondAmount in the reporting currency. | RealAmountMSTSecondary | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExchRateExchange rate used for the amount. | RealExchRate | No | None | |
ExchRateSecondSecondary exchange rate used for the amount. | RealExchrateSecondary | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (3)
CurrencyAccountDimIdxPrimary indexSessionId,TimeStamp,CurrencyCode,LedgerDimension,DefaultDimensionUnique.
LedgerDimensionNot unique.
DimensionAttributeValueSetIdxNot unique.
Relations (3)
Each relation joins LedgerAllocationTmpSource to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany LedgerAllocationTmpSource records → exactly one Currency record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany LedgerAllocationTmpSource records → zero or one DimensionAttributeValueSet record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany LedgerAllocationTmpSource records → exactly one DimensionAttributeValueCombination record
Get this data out
No public entity reads from LedgerAllocationTmpSource. Its data is only reachable through the application, a custom entity or a database export.
Need help with LedgerAllocationTmpSource in a report, an integration or a migration? Talk to Dr Dynamics.