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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
JournalNameName of the journal that this control record belongs to. It points to the journal name table. | StringLedgerJournalNameId | Yes | LedgerJournalName.JournalName | LedgerJournalControlEntity |
JournalLegalEntityPoints to the legal entity (company) record that the control applies to, using its system record ID. | Int64RefRecId | No | CompanyInfo.RecId | None |
AccountTypeKind of account the control record applies to, such as Ledger, Customer, Vendor, Project, Fixed assets or Bank, or all kinds. | EnumLedgerJournalACTypeAll (enum) | Yes | LedgerJournalControlEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | 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 |
Indexes (1)
JournalNameCompanyAccountTypeReplacement keyJournalName,JournalLegalEntity,AccountTypeUnique, alternate key.
Relations (3)
Each relation joins LedgerJournalControlHeader to another table on the fields shown.
LedgerJournalName→LedgerJournalNameJoin on
JournalName = LedgerJournalName.JournalNameMany LedgerJournalControlHeader records → exactly one LedgerJournalName record
LegalEntity→CompanyInfoJoin on
JournalLegalEntity = CompanyInfo.RecIdMany LedgerJournalControlHeader records → zero or one CompanyInfo record
LedgerJournalControlDetail→LedgerJournalControlDetailJoin on
RecId = LedgerJournalControlDetail.LedgerJournalControlCardinality 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.
LedgerJournalControlEntity· 2 fields from this table
Need help with LedgerJournalControlHeader in a report, an integration or a migration? Talk to Dr Dynamics.