Table

LedgerOpeningTable_ES

Opening accounts

Opening accounts for an opening sheet, used for Spain. The key is the sheet and the main account. It stores balance, capital, result, transfer and trial balance amounts per account.

Table name
LedgerOpeningTable_ES
Module
General ledger
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
ShMnAcctIdx
Replacement key
None
Key fields
Sheet, MainAccount
Model
Foundation

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SheetPoints to the opening sheet.String
OpeningSheet_ES
YesLedgerOpeningSheet_ES.SheetNone
MainAccountPoints to the main account.Int64
RefRecId
YesMainAccount.RecIdNone
AccountTypeType of the main account, such as profit and loss, revenue, asset or liability.Enum
DimensionLedgerAccountType (enum)
NoLedgerOpeningSheetEntity
BalanceSheetBalance amount for the account (in accounting currency).Real
AmountMST
NoLedgerOpeningSheetEntity
CapitalCapital amount for the account (in accounting currency).Real
AmountMST
NoLedgerOpeningSheetEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
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
ReconciledYes/No flag showing whether the account is reconciled.Enum
NoYes (enum)
NoLedgerOpeningSheetEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ResultResult amount for the account (in accounting currency).Real
AmountMST
NoLedgerOpeningSheetEntity
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
TransferTransfer amount for the account (in accounting currency).Real
AmountMST
NoLedgerOpeningSheetEntity
TrialBalanceSheetTrial balance amount for the account (in accounting currency).Real
AmountMST
NoLedgerOpeningSheetEntity

Indexes (1)

Relations (2)

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

  • LedgerOpeningSheet_ES → LedgerOpeningSheet_ES

    Join on Sheet = LedgerOpeningSheet_ES.Sheet

    Many LedgerOpeningTable_ES records → exactly one LedgerOpeningSheet_ES record

  • MainAccount → MainAccount

    Join on MainAccount = MainAccount.RecId

    Many LedgerOpeningTable_ES records → exactly one MainAccount record

Get this data out

Tables are not exposed directly. These public entities read from LedgerOpeningTable_ES; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk