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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountingCurrencyCurrency code of the accounting currency. | String (3)CurrencyCode | No | None | |
AccountingCurrencyAmountDistribution amount in the accounting currency. | RealAmountMST | No | None | |
AccountingDateDate the distribution is accounted for. | DateAccountingDate | No | None | |
AccountingEventSystem record ID of the accounting event linked to this distribution. | Int64AccountingEventRecId | No | None | |
AccountingLegalEntitySystem record ID of the legal entity (company) the distribution belongs to. | Int64LegalEntityRecId | No | None | |
AllocationFactorFactor used to share the amount across distributions. | RealAllocationFactor | No | None | |
AmountSourceKind of amount the distribution comes from, such as amount, discount, tax, cost, round-off, variance or markup. | EnumDistributionAmountSource (enum) | No | None | |
FinalizeAccountingEventSystem record ID of the accounting event that finalised this distribution. | Int64AccountingEventRecId | No | None | |
FinTagSystem record ID of the financial tag on the distribution. | Int64FinTagRecId | No | None | |
LedgerDimensionLedger account, including its dimensions, that the distribution applies to. | Int64LedgerDimensionAccount | No | None | |
MonetaryAmountType of monetary amount, such as extended price, rounding, discount, charge, tax or a variance. | EnumMonetaryAmount (enum) | No | None | |
NumberNumber that identifies the accounting distribution. | Int64AccountingDistributionNumber | No | None | |
ParentDistributionSystem record ID of the parent distribution this row belongs under. | Int64AccountingDistributionRecId | 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 | |
ReferenceDistributionSystem record ID of another accounting distribution that this row refers to. | Int64AccountingDistributionRecId | No | None | |
ReferenceRoleRole of the referenced distribution: none, reversing, adjusting, matching or work in process. | EnumAccountingDistributionReferenceRole (enum) | No | None | |
SourceDocumentHeaderLink to the source document header history record for this distribution. | Int64RefRecId | No | SourceDocumentHeaderHistory.RecId | None |
SourceDocumentLineSystem record ID of the source document line behind this distribution. | Int64SourceDocumentLineRecId | No | 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 code of the transaction. | String (3)CurrencyCode | No | None | |
TransactionCurrencyAmountDistribution amount in the transaction currency. | RealAmountCur | No | None | |
TypeAccount role of the distribution: original, reversing, canceling, closing or opening. | EnumAccountRole (enum) | No | None |
Indexes (1)
SourceDocumentHeaderIdxNot unique.
Relations (1)
Each relation joins AccountingDistributionHistory to another table on the fields shown.
SourceDocumentHeaderHistory→SourceDocumentHeaderHistoryJoin on
SourceDocumentHeader = SourceDocumentHeaderHistory.RecIdMany 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.