Table

LedgerStructure

Ledger structure

Links a ledger to a dimension set. The key is the ledger together with the dimension set. Each row says that the dimension set is used with that ledger.

Table name
LedgerStructure
Module
Financial dimensions
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
LedgerBasic
Primary index
None
Replacement key
LedgerStructureIdx
Key fields
Ledger, DimensionHierarchy
Model
Ledger

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
LedgerThe ledger, pointing to a ledger record.Int64
LedgerRecId
YesLedger.RecIdNone
DimensionHierarchyThe dimension set, pointing to a dimension hierarchy record.Int64
DimensionHierarchyId
NoDimensionHierarchy.RecIdNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

Each relation joins LedgerStructure to another table on the fields shown.

  • DimensionHierarchy → DimensionHierarchy

    Join on DimensionHierarchy = DimensionHierarchy.RecId

    Many LedgerStructure records → exactly one DimensionHierarchy record

  • Ledger → Ledger

    Join on Ledger = Ledger.RecId

    Many LedgerStructure records → exactly one Ledger record

Get this data out

No public entity reads from LedgerStructure. Its data is only reachable through the application, a custom entity or a database export.

Need help with LedgerStructure in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk