Table
TaxPurchaseTaxTable
Purchase duty
Lists purchase duty types, keyed by TaxPurchaseTaxId. Each has a description, a tax authority and three ledger accounts for duty, cost and settlement. The accounts are links to dimension code combinations.
- Table name
TaxPurchaseTaxTable- Module
Tax- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasicSalesTax- Primary index
RecId- Replacement key
TaxPurchaseTaxId- Key fields
TaxPurchaseTaxId- Model
Foundation
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TaxPurchaseTaxIdCode that identifies the purchase duty. | StringTaxPurchaseTaxId | Yes | TaxPurchaseTaxTableEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionDescription of the purchase duty. | String (60)Description | No | TaxPurchaseTaxTableEntity | |
ExpenseLedgerDimensionLedger account combination for the cost of the duty. | Int64LedgerDimensionDefaultAccount | Yes | DimensionAttributeValueCombination.RecId | TaxPurchaseTaxTableEntity |
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 | |
SettleLedgerDimensionLedger account combination for settling the duty. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | TaxPurchaseTaxTableEntity |
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 | |
TaxAuthorityTax authority for the duty. Points to a tax authority address record. | StringTaxAuthority | No | TaxAuthorityAddress.TaxAuthority | TaxPurchaseTaxTableEntity |
TaxLedgerDimensionLedger account combination for the duty itself. | Int64LedgerDimensionDefaultAccount | Yes | DimensionAttributeValueCombination.RecId | TaxPurchaseTaxTableEntity |
Indexes (4)
TaxPurchaseTaxIdReplacement keyUnique, alternate key.
FK_DimensionAttributeValueCombination_TaNot unique.
FK_DimensionAttributeValueCombination1Not unique.
FK_DimensionAttributeValueCombination2Not unique.
Relations (5)
Each relation joins TaxPurchaseTaxTable to another table on the fields shown.
ExpenseLedgerDimension→DimensionAttributeValueCombinationJoin on
ExpenseLedgerDimension = DimensionAttributeValueCombination.RecIdMany TaxPurchaseTaxTable records → exactly one DimensionAttributeValueCombination record
SettleLedgerDimension→DimensionAttributeValueCombinationJoin on
SettleLedgerDimension = DimensionAttributeValueCombination.RecIdMany TaxPurchaseTaxTable records → zero or one DimensionAttributeValueCombination record
TaxLedgerDimension→DimensionAttributeValueCombinationJoin on
TaxLedgerDimension = DimensionAttributeValueCombination.RecIdMany TaxPurchaseTaxTable records → exactly one DimensionAttributeValueCombination record
TaxPurchaseTaxTable→TaxPurchaseTaxTableJoin on
TaxPurchaseTaxId = TaxPurchaseTaxTable.TaxPurchaseTaxIdCardinality not set in the metadata.
Get this data out
Tables are not exposed directly. These public entities read from TaxPurchaseTaxTable; use one of them in Power BI, Power Platform or a data management project.
TaxPurchaseTaxTableEntity· 6 fields from this table
Need help with TaxPurchaseTaxTable in a report, an integration or a migration? Talk to Dr Dynamics.