Table

LedgerClosingTable

Closing accounts

Line records for a closing sheet, one for each main account. They hold balance, capital, result, transfer and trial balance amounts in the accounting currency. They link to the closing sheet and the main account.

Table name
LedgerClosingTable
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 (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SheetClosing sheet that the line belongs to.String (20)
ClosingSheet
YesLedgerClosingSheet.SheetNone
MainAccountPoints to the main account record.Int64
RefRecId
YesMainAccount.RecIdNone
AccountTypeMain account type, such as revenue, expense or asset.Enum
DimensionLedgerAccountType (enum)
NoNone
BalanceSheetBalance sheet amount in the accounting currency.Real
AmountMST
NoNone
CapitalCapital amount in the accounting currency.Real
AmountMST
NoNone
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 line is reconciled.Enum
NoYes (enum)
NoNone
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 in the accounting currency.Real
AmountMST
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransferTransfer amount in the accounting currency.Real
AmountMST
NoNone
TrialBalanceSheetTrial balance amount in the accounting currency.Real
AmountMST
NoNone

Indexes (1)

Relations (2)

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

  • LedgerClosingSheet → LedgerClosingSheet

    Join on Sheet = LedgerClosingSheet.Sheet

    Many LedgerClosingTable records → exactly one LedgerClosingSheet record

  • MainAccount → MainAccount

    Join on MainAccount = MainAccount.RecId

    Many LedgerClosingTable records → exactly one MainAccount record

Get this data out

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

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

Email sales@drdynamics.co.uk