Table
LedgerDimensionTmp
Ledger dimension
Temporary working table that holds ledger accounts for a session. Each line has a session ID, a timestamp, a ledger account and a main account. It has no defined key.
- Table name
LedgerDimensionTmp- Module
General ledger- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CurrentSessionIdID of the session that created the record. | IntegerSessionId | Yes | None | |
CurrentTimestampDate and time in UTC when the record was created. | UtcDateTimeUTCTimestamp | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
LedgerDimensionPoints to the ledger account, as a dimension code combination. | Int64LedgerDimensionAccount | Yes | DimensionAttributeValueCombination.RecId | None |
MainAccountPoints to the main account. | Int64MainAccountRecId | No | MainAccount.RecId | 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 | |
TypeType of opening transfer, such as profit and loss, balance sheet or a public sector type. | EnumLedgerTransferOpeningType (enum) | No | None |
Indexes (1)
LedgerDimensionIdxCurrentSessionId,CurrentTimestamp,Type,LedgerDimension,MainAccountNot unique.
Relations (2)
Each relation joins LedgerDimensionTmp to another table on the fields shown.
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany LedgerDimensionTmp records → exactly one DimensionAttributeValueCombination record
MainAccount→MainAccountJoin on
MainAccount = MainAccount.RecIdMany LedgerDimensionTmp records → zero or one MainAccount record
Get this data out
No public entity reads from LedgerDimensionTmp. Its data is only reachable through the application, a custom entity or a database export.
Need help with LedgerDimensionTmp in a report, an integration or a migration? Talk to Dr Dynamics.