Table
AdvancedLedgerEntryHeader
Advanced ledger entry header
Holds the header of an advanced ledger entry. It has the transaction number, accounting date, currency and status. It also has workflow state, reversing settings, dimensions and links to a template, posting definition and source document. Some fields are for public sector use.
- Table name
AdvancedLedgerEntryHeader- Module
General ledger- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
AdvancedLedgerEntry- Primary index
None- Replacement key
TransactionNumberIdx- Key fields
TransactionNumber- Model
Foundation
Fields (27)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TransactionNumberNumber that identifies the entry. It is the key of the table. | String (20)AdvancedLedgerEntryId | Yes | AdvancedLedgerEntryEntity | |
AccountingDateAccounting date of the entry. | DateTransDate | Yes | AdvancedLedgerEntryEntity | |
AccountingDistributionTemplateTemplate used for the entry. It points to an accounting distribution template. | Int64AccountingDistributionTemplateRecId | No | AccountingDistributionTemplate.RecId | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionDefault financial dimensions. It points to a dimension set. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | None |
FinTagFinancial tag on the entry. It points to a financial tag. | Int64FinTagRecId | No | FinTag.RecId | None |
FiscalCalendarPeriodFiscal calendar period. It points to a period record. | Int64RefRecId | Yes | FiscalCalendarPeriod.RecId | AdvancedLedgerEntryEntity |
JournalizingDefinitionPosting definition used. It points to a posting definition record. | Int64RefRecId | Yes | JournalizingDefinition.RecId | AdvancedLedgerEntryEntity |
LedgerVoucherVoucher number of the entry. | String (20)Voucher | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PSNBankTransactionTypeBank transaction type, used for public sector. | StringBankTransactionType | No | AdvancedLedgerEntryEntity | |
PSNDoUpdateBankYes/No flag for updating bank balances, used for public sector. | EnumNoYes (enum) | No | AdvancedLedgerEntryEntity | |
PSNIsCorrectionYes/No flag for a prior-year correction, used for public sector. | EnumPSNPriorYearCorrectionNoYes (enum) | No | AdvancedLedgerEntryEntity | |
ReasonTableRefReason linked to the entry. It points to a reason reference record. | Int64ReasonRefRecID | No | ReasonTableRef.RecId | AdvancedLedgerEntryEntity |
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 | |
ReverseDateDate on which the entry is reversed. | DateTransDate | No | AdvancedLedgerEntryEntity | |
ReverseEntryYes/No flag that shows whether this is a reversing entry. | EnumNoYes (enum) | No | AdvancedLedgerEntryEntity | |
SourceDocumentHeaderSource document header. It points to a source document record. | Int64RefRecId | No | SourceDocumentHeader.RecId | None |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransactionCurrencyCurrency of the entry. It points to a currency. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | AdvancedLedgerEntryEntity |
TransactionStatusStatus of the document, such as draft or posted. | EnumAdvancedLedgerEntryTransactionStatus (enum) | No | AdvancedLedgerEntryEntity | |
TransactionTextFree text that describes the transaction. | String (60)AdvancedLedgerEntryTransText | Yes | AdvancedLedgerEntryEntity | |
WorkflowApprovalStateApproval state in the workflow, such as draft, in review or approved. | EnumAdvancedLedgerEntryWFApprovalState (enum) | No | None | |
WorkFlowStatusStatus of the workflow, such as submitted, approved or rejected. | EnumAdvancedLedgerEntryWFApprovalStatus (enum) | No | None |
Indexes (4)
TransactionNumberIdxReplacement keyUnique, alternate key.
DimensionAttributeValueSetIdxNot unique.
SourceDocumentHeaderIdxSourceDocumentHeader,Partition,dataAreaIdNot unique.
VoucherAccountingDateTranNumIdxAccountingDate,LedgerVoucher,TransactionNumberNot unique.
Relations (8)
Each relation joins AdvancedLedgerEntryHeader to another table on the fields shown.
AccountingDistributionTemplate→AccountingDistributionTemplateJoin on
AccountingDistributionTemplate = AccountingDistributionTemplate.RecIdMany AdvancedLedgerEntryHeader records → exactly one AccountingDistributionTemplate record
Currency→CurrencyJoin on
TransactionCurrency = Currency.CurrencyCodeMany AdvancedLedgerEntryHeader records → exactly one Currency record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany AdvancedLedgerEntryHeader records → zero or one DimensionAttributeValueSet record
FiscalCalendarPeriod→FiscalCalendarPeriodJoin on
FiscalCalendarPeriod = FiscalCalendarPeriod.RecIdExactly one AdvancedLedgerEntryHeader record → exactly one FiscalCalendarPeriod record
JournalizingDefinition→JournalizingDefinitionJoin on
JournalizingDefinition = JournalizingDefinition.RecIdMany AdvancedLedgerEntryHeader records → exactly one JournalizingDefinition record
ReasonTableRef→ReasonTableRefJoin on
ReasonTableRef = ReasonTableRef.RecIdExactly one AdvancedLedgerEntryHeader record → zero or one ReasonTableRef record
SourceDocumentHeader→SourceDocumentHeaderJoin on
SourceDocumentHeader = SourceDocumentHeader.RecIdMany AdvancedLedgerEntryHeader records → exactly one SourceDocumentHeader record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdMany AdvancedLedgerEntryHeader records → zero or one FinTag record
Get this data out
Tables are not exposed directly. These public entities read from AdvancedLedgerEntryHeader; use one of them in Power BI, Power Platform or a data management project.
AdvancedLedgerEntryEntity· 13 fields from this table
Need help with AdvancedLedgerEntryHeader in a report, an integration or a migration? Talk to Dr Dynamics.