Table
AccountingDistribution
Accounting distributions
Accounting distribution lines, each linked to a source document line and identified by a number. A line holds the ledger account, the amount in transaction and accounting currency, and the accounting date. Rows can point to a parent or reference distribution, and to accounting events, the legal entity and a financial tag.
- Table name
AccountingDistribution- Module
Accounting foundation- Table group
Transaction- Table type
Regular- Data per company
No- Configuration key
LedgerBasic- Primary index
None- Replacement key
AccountingDistributionAkIdx- Key fields
SourceDocumentLine, Number, Partition- Model
SourceDocumentation
Fields (25)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SourceDocumentLinePoints to the source document line that the distribution belongs to. It is part of the key. | Int64SourceDocumentLineRecId | No | SourceDocumentLine.RecId | PurchApprovalAccountingDistributionEntityAccountingDistributionBiEntityAccountingDistributionCDREntity |
NumberNumber that identifies the distribution within its source document line. | Int64AccountingDistributionNumber | No | PurchApprovalAccountingDistributionEntityAccountingDistributionBiEntityAccountingDistributionCDREntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
AccountingCurrencyCode of the accounting currency. | String (3)CurrencyCode | No | AccountingDistributionBiEntityAccountingDistributionCDREntity | |
AccountingCurrencyAmountAmount in the accounting currency. | RealAmountMST | No | AccountingDistributionBiEntityAccountingDistributionCDREntity | |
AccountingDateDate used for the accounting of the distribution. | DateAccountingDate | No | AccountingDistributionBiEntityAccountingDistributionCDREntityProjExpenseExportEntity | |
AccountingEventPoints to the accounting event linked to this distribution. | Int64AccountingEventRecId | No | AccountingEvent.RecId | AccountingDistributionBiEntityAccountingDistributionCDREntity |
AccountingLegalEntityPoints to the legal entity (company) that the distribution belongs to. | Int64LegalEntityRecId | No | CompanyInfo.RecId | AccountingDistributionBiEntityAccountingDistributionCDREntity |
AllocationFactorFactor used to share the amount in this distribution. | RealAllocationFactor | No | AccountingDistributionBiEntityAccountingDistributionCDREntity | |
AmountSourceKind of amount the distribution comes from, such as amount, discount, tax, cost or markup. | EnumDistributionAmountSource (enum) | No | AccountingDistributionBiEntityAccountingDistributionCDREntity | |
FinalizeAccountingEventPoints to a second accounting event linked to this distribution, labelled the same as the first.low confidence | Int64AccountingEventRecId | No | AccountingEvent.RecId | AccountingDistributionBiEntityAccountingDistributionCDREntity |
FinTagPoints to the financial tag attached to the distribution. | Int64FinTagRecId | No | FinTag.RecId | AccountingDistributionBiEntityAccountingDistributionCDREntity |
LedgerDimensionPoints to the ledger account and dimension combination used by the distribution. | Int64LedgerDimensionAccount | No | DimensionAttributeValueCombination.RecId | AccountingDistributionBiEntityAccountingDistributionCDREntity |
MonetaryAmountType of monetary amount, such as extended price, discount, charge or tax. | EnumMonetaryAmount (enum) | No | AccountingDistributionBiEntityAccountingDistributionCDREntity | |
ParentDistributionPoints to the parent accounting distribution of this one. | Int64AccountingDistributionRecId | No | AccountingDistribution.RecId | AccountingDistributionBiEntityAccountingDistributionCDREntity |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | AccountingDistributionBiEntityAccountingDistributionCDREntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | AccountingDistributionBiEntity | |
ReferenceDistributionPoints to another accounting distribution that this one refers to. | Int64AccountingDistributionRecId | No | AccountingDistribution.RecId | AccountingDistributionBiEntityAccountingDistributionCDREntity |
ReferenceRoleRole of the referenced distribution: none, reversing, adjusting, matching or work in process. | EnumAccountingDistributionReferenceRole (enum) | No | AccountingDistributionBiEntityAccountingDistributionCDREntity | |
SourceDocumentHeaderPoints to the source document header that the distribution belongs to. | Int64RefRecId | No | SourceDocumentHeader.RecId | AccountingDistributionBiEntityAccountingDistributionCDREntity |
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 | |
TransactionCurrencyCode of the currency of the transaction. | String (3)CurrencyCode | No | Currency.CurrencyCode | PurchApprovalAccountingDistributionEntityAccountingDistributionBiEntityAccountingDistributionCDREntity |
TransactionCurrencyAmountAmount in the transaction currency. | RealAmountCur | No | PurchApprovalAccountingDistributionEntityAccountingDistributionBiEntityAccountingDistributionCDREntity | |
TypeAccount role of the distribution: original, reversing, canceling, closing or opening. | EnumAccountRole (enum) | No | AccountingDistributionBiEntityAccountingDistributionCDREntity |
Indexes (12)
ReferenceDistributionIdxReferenceDistribution,ReferenceRole,SourceDocumentLine,TransactionCurrencyAmount,RecId,AccountingEvent,MonetaryAmountNot unique.
AccountingEventIdxAccountingEvent,MonetaryAmountNot unique.
LedgerDimensionIdxNot unique.
AccountingLegalEntityIdxNot unique.
ParentDistributionIdxParentDistribution,MonetaryAmountNot unique.
AccountingDistributionAkIdxReplacement keySourceDocumentLine,Number,PartitionUnique, alternate key.
SourceDocumentHeaderIdxSourceDocumentHeader,AccountingEvent,AccountingDate,SourceDocumentLineNot unique.
FinalizeAccountingEventNot unique.
SourceDocumentLineIdxSourceDocumentLine,MonetaryAmountNot unique.
ReferenceRoleSourceDocumentLineIdxSourceDocumentLine,ReferenceRole,TransactionCurrencyAmount,ReferenceDistribution,RecId,TransactionCurrency,LedgerDimensionNot unique.
SourceDocumentLineAccountingEventIdxSourceDocumentLine,AccountingEventNot unique.
AccountingDateIdxAccountingDate,SourceDocumentHeaderNot unique.
Relations (10)
Each relation joins AccountingDistribution to another table on the fields shown.
AccountingEvent→AccountingEventJoin on
AccountingEvent = AccountingEvent.RecIdMany AccountingDistribution records → zero or one AccountingEvent record
AccountingLegalEntity→CompanyInfoJoin on
AccountingLegalEntity = CompanyInfo.RecIdMany AccountingDistribution records → zero or one CompanyInfo record
Currency→CurrencyJoin on
TransactionCurrency = Currency.CurrencyCodeMany AccountingDistribution records → zero or one Currency record
FinalizeAccountingEvent→AccountingEventJoin on
FinalizeAccountingEvent = AccountingEvent.RecIdMany AccountingDistribution records → zero or one AccountingEvent record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany AccountingDistribution records → zero or one DimensionAttributeValueCombination record
ParentDistribution→AccountingDistributionJoin on
ParentDistribution = AccountingDistribution.RecIdMany AccountingDistribution records → zero or one AccountingDistribution record
ReferenceDistribution→AccountingDistributionJoin on
ReferenceDistribution = AccountingDistribution.RecIdMany AccountingDistribution records → zero or one AccountingDistribution record
SourceDocumentHeader→SourceDocumentHeaderJoin on
SourceDocumentHeader = SourceDocumentHeader.RecIdMany AccountingDistribution records → zero or one SourceDocumentHeader record
SourceDocumentLine→SourceDocumentLineJoin on
SourceDocumentLine = SourceDocumentLine.RecIdMany AccountingDistribution records → zero or one SourceDocumentLine record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdMany AccountingDistribution records → zero or one FinTag record
Get this data out
Tables are not exposed directly. These public entities read from AccountingDistribution; use one of them in Power BI, Power Platform or a data management project.
PurchApprovalAccountingDistributionEntity· 4 fields from this tableAccountingDistributionBiEntity· 22 fields from this tableAccountingDistributionCDREntity· 21 fields from this tableProjExpenseExportEntity· 1 field from this table
Need help with AccountingDistribution in a report, an integration or a migration? Talk to Dr Dynamics.