Table
AccountingDistributionTemplate
Accounting distribution template
Named templates for accounting distributions, set up per legal entity. The key is the template name together with the legal entity. Detail lines are held in a separate table.
- Table name
AccountingDistributionTemplate- Module
Accounting foundation- Table group
Group- Table type
Regular- Data per company
No- Configuration key
LedgerBasic- Primary index
None- Replacement key
NameLegalEntityIdx- Key fields
Name, LegalEntity- Model
SourceDocumentation
Fields (7)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
NameName that identifies the template. | String (40)TemplateName | Yes | FinancialDimensionDefaultTemplateEntityPurchaseRequisitionLineCDSV2EntityPurchaseRequisitionLineV2Entityand 19 more | |
LegalEntityPoints to the legal entity (company) that owns the template. | Int64LegalEntityRecId | Yes | CompanyInfo.RecId | FinancialDimensionDefaultTemplateEntityHcmPositionDefaultDimensionDualWriteEntityHcmPositionDefaultDimensionEntityand 4 more |
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 | |
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 |
Indexes (2)
NameLegalEntityIdxReplacement keyUnique, alternate key.
CompanyInfoIdxNot unique.
Relations (1)
Each relation joins AccountingDistributionTemplate to another table on the fields shown.
CompanyInfo→CompanyInfoJoin on
LegalEntity = CompanyInfo.RecIdOne or more AccountingDistributionTemplate records → exactly one CompanyInfo record
Get this data out
Tables are not exposed directly. These public entities read from AccountingDistributionTemplate; use one of them in Power BI, Power Platform or a data management project.
FinancialDimensionDefaultTemplateEntity· 2 fields from this tablePurchaseRequisitionLineCDSV2Entity· 1 field from this tablePurchaseRequisitionLineV2Entity· 1 field from this tablePurchPurchaseOrderHeaderV2Entity· 1 field from this tablePurchPurchaseOrderLineV2Entity· 1 field from this tableHcmPositionDefaultDimensionDualWriteEntity· 2 fields from this tableHcmPositionDefaultDimensionEntity· 2 fields from this tablePayrollPayStatementBenefitLineEntity· 2 fields from this tablePayrollPayStatementEarningLineEntity· 2 fields from this tablePayrollPayStatementTaxLineEntity· 2 fields from this tablePurchaseRequisitionLineCDSEntity· 1 field from this tablePurchaseRequisitionLineEntity· 1 field from this tablePurchPurchaseOrderHeaderEntity· 1 field from this tablePurchPurchaseOrderLineEntity· 1 field from this tableVendorInvoiceLineEntity· 2 fields from this tablePurchRequestForQuotationReplyLineV2Entity· 1 field from this tablePayrollEarningStatementLineEntity· 1 field from this tablePurchPurchaseOrderConfirmationHeaderEntity· 1 field from this tablePurchPurchaseOrderConfirmationLineEntity· 1 field from this tablePurchRequestForQuotationReplyHeaderEntity· 1 field from this tablePurchRequestForQuotationReplyLineEntity· 1 field from this tableUbuyPurchaseRequisitionLineEntity· 1 field from this table
Need help with AccountingDistributionTemplate in a report, an integration or a migration? Talk to Dr Dynamics.