Table

AccountingDistributionHistory

Accounting distribution history

Holds historical accounting distribution records. Each row has a ledger account, amounts in transaction and accounting currency, and an allocation factor. Rows link to a source document header history record and can point to a parent or reference distribution. It has no defined key in the metadata.

Table name
AccountingDistributionHistory
Module
Accounting foundation
Table group
Transaction
Table type
Regular
Data per company
No
Configuration key
LedgerBasic
Primary index
None
Replacement key
None
Key fields
None
Model
SourceDocumentation

Fields (25)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountingCurrencyCurrency code of the accounting currency.String (3)
CurrencyCode
NoNone
AccountingCurrencyAmountDistribution amount in the accounting currency.Real
AmountMST
NoNone
AccountingDateDate the distribution is accounted for.Date
AccountingDate
NoNone
AccountingEventSystem record ID of the accounting event linked to this distribution.Int64
AccountingEventRecId
NoNone
AccountingLegalEntitySystem record ID of the legal entity (company) the distribution belongs to.Int64
LegalEntityRecId
NoNone
AllocationFactorFactor used to share the amount across distributions.Real
AllocationFactor
NoNone
AmountSourceKind of amount the distribution comes from, such as amount, discount, tax, cost, round-off, variance or markup.Enum
DistributionAmountSource (enum)
NoNone
FinalizeAccountingEventSystem record ID of the accounting event that finalised this distribution.Int64
AccountingEventRecId
NoNone
FinTagSystem record ID of the financial tag on the distribution.Int64
FinTagRecId
NoNone
LedgerDimensionLedger account, including its dimensions, that the distribution applies to.Int64
LedgerDimensionAccount
NoNone
MonetaryAmountType of monetary amount, such as extended price, rounding, discount, charge, tax or a variance.Enum
MonetaryAmount (enum)
NoNone
NumberNumber that identifies the accounting distribution.Int64
AccountingDistributionNumber
NoNone
ParentDistributionSystem record ID of the parent distribution this row belongs under.Int64
AccountingDistributionRecId
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
ReferenceDistributionSystem record ID of another accounting distribution that this row refers to.Int64
AccountingDistributionRecId
NoNone
ReferenceRoleRole of the referenced distribution: none, reversing, adjusting, matching or work in process.Enum
AccountingDistributionReferenceRole (enum)
NoNone
SourceDocumentHeaderLink to the source document header history record for this distribution.Int64
RefRecId
NoSourceDocumentHeaderHistory.RecIdNone
SourceDocumentLineSystem record ID of the source document line behind this distribution.Int64
SourceDocumentLineRecId
NoNone
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 code of the transaction.String (3)
CurrencyCode
NoNone
TransactionCurrencyAmountDistribution amount in the transaction currency.Real
AmountCur
NoNone
TypeAccount role of the distribution: original, reversing, canceling, closing or opening.Enum
AccountRole (enum)
NoNone

Indexes (1)

Relations (1)

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

  • SourceDocumentHeaderHistory → SourceDocumentHeaderHistory

    Join on SourceDocumentHeader = SourceDocumentHeaderHistory.RecId

    Many AccountingDistributionHistory records → zero or one SourceDocumentHeaderHistory record

Get this data out

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

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

Email sales@drdynamics.co.uk