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 descriptionType / EDT / enumMandatoryReferencesIn public entities
SourceDocumentLinePoints to the source document line that the distribution belongs to. It is part of the key.Int64
SourceDocumentLineRecId
NoSourceDocumentLine.RecIdPurchApprovalAccountingDistributionEntityAccountingDistributionBiEntityAccountingDistributionCDREntity
NumberNumber that identifies the distribution within its source document line.Int64
AccountingDistributionNumber
NoPurchApprovalAccountingDistributionEntityAccountingDistributionBiEntityAccountingDistributionCDREntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
AccountingCurrencyCode of the accounting currency.String (3)
CurrencyCode
NoAccountingDistributionBiEntityAccountingDistributionCDREntity
AccountingCurrencyAmountAmount in the accounting currency.Real
AmountMST
NoAccountingDistributionBiEntityAccountingDistributionCDREntity
AccountingDateDate used for the accounting of the distribution.Date
AccountingDate
NoAccountingDistributionBiEntityAccountingDistributionCDREntityProjExpenseExportEntity
AccountingEventPoints to the accounting event linked to this distribution.Int64
AccountingEventRecId
NoAccountingEvent.RecIdAccountingDistributionBiEntityAccountingDistributionCDREntity
AccountingLegalEntityPoints to the legal entity (company) that the distribution belongs to.Int64
LegalEntityRecId
NoCompanyInfo.RecIdAccountingDistributionBiEntityAccountingDistributionCDREntity
AllocationFactorFactor used to share the amount in this distribution.Real
AllocationFactor
NoAccountingDistributionBiEntityAccountingDistributionCDREntity
AmountSourceKind of amount the distribution comes from, such as amount, discount, tax, cost or markup.Enum
DistributionAmountSource (enum)
NoAccountingDistributionBiEntityAccountingDistributionCDREntity
FinalizeAccountingEventPoints to a second accounting event linked to this distribution, labelled the same as the first.low confidenceInt64
AccountingEventRecId
NoAccountingEvent.RecIdAccountingDistributionBiEntityAccountingDistributionCDREntity
FinTagPoints to the financial tag attached to the distribution.Int64
FinTagRecId
NoFinTag.RecIdAccountingDistributionBiEntityAccountingDistributionCDREntity
LedgerDimensionPoints to the ledger account and dimension combination used by the distribution.Int64
LedgerDimensionAccount
NoDimensionAttributeValueCombination.RecIdAccountingDistributionBiEntityAccountingDistributionCDREntity
MonetaryAmountType of monetary amount, such as extended price, discount, charge or tax.Enum
MonetaryAmount (enum)
NoAccountingDistributionBiEntityAccountingDistributionCDREntity
ParentDistributionPoints to the parent accounting distribution of this one.Int64
AccountingDistributionRecId
NoAccountingDistribution.RecIdAccountingDistributionBiEntityAccountingDistributionCDREntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoAccountingDistributionBiEntityAccountingDistributionCDREntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoAccountingDistributionBiEntity
ReferenceDistributionPoints to another accounting distribution that this one refers to.Int64
AccountingDistributionRecId
NoAccountingDistribution.RecIdAccountingDistributionBiEntityAccountingDistributionCDREntity
ReferenceRoleRole of the referenced distribution: none, reversing, adjusting, matching or work in process.Enum
AccountingDistributionReferenceRole (enum)
NoAccountingDistributionBiEntityAccountingDistributionCDREntity
SourceDocumentHeaderPoints to the source document header that the distribution belongs to.Int64
RefRecId
NoSourceDocumentHeader.RecIdAccountingDistributionBiEntityAccountingDistributionCDREntity
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
TransactionCurrencyCode of the currency of the transaction.String (3)
CurrencyCode
NoCurrency.CurrencyCodePurchApprovalAccountingDistributionEntityAccountingDistributionBiEntityAccountingDistributionCDREntity
TransactionCurrencyAmountAmount in the transaction currency.Real
AmountCur
NoPurchApprovalAccountingDistributionEntityAccountingDistributionBiEntityAccountingDistributionCDREntity
TypeAccount role of the distribution: original, reversing, canceling, closing or opening.Enum
AccountRole (enum)
NoAccountingDistributionBiEntityAccountingDistributionCDREntity

Indexes (12)

Relations (10)

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

  • AccountingEvent → AccountingEvent

    Join on AccountingEvent = AccountingEvent.RecId

    Many AccountingDistribution records → zero or one AccountingEvent record

  • AccountingLegalEntity → CompanyInfo

    Join on AccountingLegalEntity = CompanyInfo.RecId

    Many AccountingDistribution records → zero or one CompanyInfo record

  • Currency → Currency

    Join on TransactionCurrency = Currency.CurrencyCode

    Many AccountingDistribution records → zero or one Currency record

  • FinalizeAccountingEvent → AccountingEvent

    Join on FinalizeAccountingEvent = AccountingEvent.RecId

    Many AccountingDistribution records → zero or one AccountingEvent record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many AccountingDistribution records → zero or one DimensionAttributeValueCombination record

  • ParentDistribution → AccountingDistribution

    Join on ParentDistribution = AccountingDistribution.RecId

    Many AccountingDistribution records → zero or one AccountingDistribution record

  • ReferenceDistribution → AccountingDistribution

    Join on ReferenceDistribution = AccountingDistribution.RecId

    Many AccountingDistribution records → zero or one AccountingDistribution record

  • SourceDocumentHeader → SourceDocumentHeader

    Join on SourceDocumentHeader = SourceDocumentHeader.RecId

    Many AccountingDistribution records → zero or one SourceDocumentHeader record

  • SourceDocumentLine → SourceDocumentLine

    Join on SourceDocumentLine = SourceDocumentLine.RecId

    Many AccountingDistribution records → zero or one SourceDocumentLine record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

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

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

Email sales@drdynamics.co.uk