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 descriptionType / EDT / enumMandatoryReferencesIn public entities
TransactionNumberNumber that identifies the entry. It is the key of the table.String (20)
AdvancedLedgerEntryId
YesAdvancedLedgerEntryEntity
AccountingDateAccounting date of the entry.Date
TransDate
YesAdvancedLedgerEntryEntity
AccountingDistributionTemplateTemplate used for the entry. It points to an accounting distribution template.Int64
AccountingDistributionTemplateRecId
NoAccountingDistributionTemplate.RecIdNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionDefault financial dimensions. It points to a dimension set.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdNone
FinTagFinancial tag on the entry. It points to a financial tag.Int64
FinTagRecId
NoFinTag.RecIdNone
FiscalCalendarPeriodFiscal calendar period. It points to a period record.Int64
RefRecId
YesFiscalCalendarPeriod.RecIdAdvancedLedgerEntryEntity
JournalizingDefinitionPosting definition used. It points to a posting definition record.Int64
RefRecId
YesJournalizingDefinition.RecIdAdvancedLedgerEntryEntity
LedgerVoucherVoucher number of the entry.String (20)
Voucher
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PSNBankTransactionTypeBank transaction type, used for public sector.String
BankTransactionType
NoAdvancedLedgerEntryEntity
PSNDoUpdateBankYes/No flag for updating bank balances, used for public sector.Enum
NoYes (enum)
NoAdvancedLedgerEntryEntity
PSNIsCorrectionYes/No flag for a prior-year correction, used for public sector.Enum
PSNPriorYearCorrection
NoYes (enum)
NoAdvancedLedgerEntryEntity
ReasonTableRefReason linked to the entry. It points to a reason reference record.Int64
ReasonRefRecID
NoReasonTableRef.RecIdAdvancedLedgerEntryEntity
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
ReverseDateDate on which the entry is reversed.Date
TransDate
NoAdvancedLedgerEntryEntity
ReverseEntryYes/No flag that shows whether this is a reversing entry.Enum
NoYes (enum)
NoAdvancedLedgerEntryEntity
SourceDocumentHeaderSource document header. It points to a source document record.Int64
RefRecId
NoSourceDocumentHeader.RecIdNone
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
TransactionCurrencyCurrency of the entry. It points to a currency.String (3)
CurrencyCode
YesCurrency.CurrencyCodeAdvancedLedgerEntryEntity
TransactionStatusStatus of the document, such as draft or posted.Enum
AdvancedLedgerEntryTransactionStatus (enum)
NoAdvancedLedgerEntryEntity
TransactionTextFree text that describes the transaction.String (60)
AdvancedLedgerEntryTransText
YesAdvancedLedgerEntryEntity
WorkflowApprovalStateApproval state in the workflow, such as draft, in review or approved.Enum
AdvancedLedgerEntryWFApprovalState (enum)
NoNone
WorkFlowStatusStatus of the workflow, such as submitted, approved or rejected.Enum
AdvancedLedgerEntryWFApprovalStatus (enum)
NoNone

Indexes (4)

Relations (8)

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

  • AccountingDistributionTemplate → AccountingDistributionTemplate

    Join on AccountingDistributionTemplate = AccountingDistributionTemplate.RecId

    Many AdvancedLedgerEntryHeader records → exactly one AccountingDistributionTemplate record

  • Currency → Currency

    Join on TransactionCurrency = Currency.CurrencyCode

    Many AdvancedLedgerEntryHeader records → exactly one Currency record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many AdvancedLedgerEntryHeader records → zero or one DimensionAttributeValueSet record

  • FiscalCalendarPeriod → FiscalCalendarPeriod

    Join on FiscalCalendarPeriod = FiscalCalendarPeriod.RecId

    Exactly one AdvancedLedgerEntryHeader record → exactly one FiscalCalendarPeriod record

  • JournalizingDefinition → JournalizingDefinition

    Join on JournalizingDefinition = JournalizingDefinition.RecId

    Many AdvancedLedgerEntryHeader records → exactly one JournalizingDefinition record

  • ReasonTableRef → ReasonTableRef

    Join on ReasonTableRef = ReasonTableRef.RecId

    Exactly one AdvancedLedgerEntryHeader record → zero or one ReasonTableRef record

  • SourceDocumentHeader → SourceDocumentHeader

    Join on SourceDocumentHeader = SourceDocumentHeader.RecId

    Many AdvancedLedgerEntryHeader records → exactly one SourceDocumentHeader record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Many 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.

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

Email sales@drdynamics.co.uk