Table

LedgerJournalControlHeader

Journal control

Holds journal control records, one for each combination of journal name, legal entity and account type. It links a journal name to a legal entity (company) and to an account type such as Ledger, Customer, Vendor, Project, Fixed assets or Bank. Detail rows are held in the related LedgerJournalControlDetail table.

Table name
LedgerJournalControlHeader
Module
Accounting foundation
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
None
Replacement key
JournalNameCompanyAccountType
Key fields
JournalName, JournalLegalEntity, AccountType
Model
Foundation

Fields (8)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
JournalNameName of the journal that this control record belongs to. It points to the journal name table.String
LedgerJournalNameId
YesLedgerJournalName.JournalNameLedgerJournalControlEntity
JournalLegalEntityPoints to the legal entity (company) record that the control applies to, using its system record ID.Int64
RefRecId
NoCompanyInfo.RecIdNone
AccountTypeKind of account the control record applies to, such as Ledger, Customer, Vendor, Project, Fixed assets or Bank, or all kinds.Enum
LedgerJournalACTypeAll (enum)
YesLedgerJournalControlEntity
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
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • LedgerJournalName → LedgerJournalName

    Join on JournalName = LedgerJournalName.JournalName

    Many LedgerJournalControlHeader records → exactly one LedgerJournalName record

  • LegalEntity → CompanyInfo

    Join on JournalLegalEntity = CompanyInfo.RecId

    Many LedgerJournalControlHeader records → zero or one CompanyInfo record

  • LedgerJournalControlDetail → LedgerJournalControlDetail

    Join on RecId = LedgerJournalControlDetail.LedgerJournalControl

    Cardinality not set in the metadata.

Get this data out

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

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

Email sales@drdynamics.co.uk