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 descriptionType / EDT / enumMandatoryReferencesIn public entities
TaxPurchaseTaxIdCode that identifies the purchase duty.String
TaxPurchaseTaxId
YesTaxPurchaseTaxTableEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionDescription of the purchase duty.String (60)
Description
NoTaxPurchaseTaxTableEntity
ExpenseLedgerDimensionLedger account combination for the cost of the duty.Int64
LedgerDimensionDefaultAccount
YesDimensionAttributeValueCombination.RecIdTaxPurchaseTaxTableEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SettleLedgerDimensionLedger account combination for settling the duty.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdTaxPurchaseTaxTableEntity
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
TaxAuthorityTax authority for the duty. Points to a tax authority address record.String
TaxAuthority
NoTaxAuthorityAddress.TaxAuthorityTaxPurchaseTaxTableEntity
TaxLedgerDimensionLedger account combination for the duty itself.Int64
LedgerDimensionDefaultAccount
YesDimensionAttributeValueCombination.RecIdTaxPurchaseTaxTableEntity

Indexes (4)

Relations (5)

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

  • ExpenseLedgerDimension → DimensionAttributeValueCombination

    Join on ExpenseLedgerDimension = DimensionAttributeValueCombination.RecId

    Many TaxPurchaseTaxTable records → exactly one DimensionAttributeValueCombination record

  • SettleLedgerDimension → DimensionAttributeValueCombination

    Join on SettleLedgerDimension = DimensionAttributeValueCombination.RecId

    Many TaxPurchaseTaxTable records → zero or one DimensionAttributeValueCombination record

  • TaxAuthorityAddress → TaxAuthorityAddress

    Join on TaxAuthority = TaxAuthorityAddress.TaxAuthority

    Many TaxPurchaseTaxTable records → zero or one TaxAuthorityAddress record

  • TaxLedgerDimension → DimensionAttributeValueCombination

    Join on TaxLedgerDimension = DimensionAttributeValueCombination.RecId

    Many TaxPurchaseTaxTable records → exactly one DimensionAttributeValueCombination record

  • TaxPurchaseTaxTable → TaxPurchaseTaxTable

    Join on TaxPurchaseTaxId = TaxPurchaseTaxTable.TaxPurchaseTaxId

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

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

Email sales@drdynamics.co.uk