Table

TaxPurchaseTaxTrans

Purchase duty transactions

Holds transactions for purchase duty. Each record has a voucher, a date, the base and duty amounts in company currency, and a percentage. It links to the purchase duty, sales tax code and settlement period.

Table name
TaxPurchaseTaxTrans
Module
Tax
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasicSalesTax
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (20)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BaseAmountMSTBase amount in company currency.Real
AmountMST
NoTaxPurchaseTaxTransEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PercentDuty percentage applied.Real
PurchaseDutyPercent
NoTaxPurchaseTaxTransEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoTaxPurchaseTaxTransEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReportDateDate the transaction was reported.Date
TransDate
NoTaxPurchaseTaxTransEntity
ReportVoucherVoucher used when reporting the transaction.String (20)
Voucher
NoTaxPurchaseTaxTransEntity
ReversedYes or no flag showing whether the transaction was reversed.Enum
Reversed
NoYes (enum)
NoTaxPurchaseTaxTransEntity
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
TaxAmountMSTDuty amount in company currency.Real
AmountMSTDebCred
NoTaxPurchaseTaxTransEntity
TaxCodeSales tax code of the transaction. Points to a sales tax code record.String
TaxCode
NoTaxTable.TaxCodeTaxPurchaseTaxTransEntity
TaxPeriodSettlement period of the transaction. Points to a sales tax period record.String
TaxPeriod
NoTaxPeriodHead.TaxPeriodTaxPurchaseTaxTransEntity
TaxPurchaseTaxIdPurchase duty of the transaction. Points to a purchase duty record.String
TaxPurchaseTaxId
NoTaxPurchaseTaxTable.TaxPurchaseTaxIdTaxPurchaseTaxTransEntity
TraceNumTrace number of the transaction.String (20)
TraceNum
NoTaxPurchaseTaxTransEntity
TransDateTransaction date.Date
TransDate
NoTaxPurchaseTaxTransEntity
TransIDUnique GUID that identifies the transaction.Guid
SysGuid
NoTaxPurchaseTaxTransEntity
TransTxtText description of the transaction.String (60)
TransTxt
NoTaxPurchaseTaxTransEntity
VoucherVoucher number of the transaction.String (20)
Voucher
NoTaxPurchaseTaxTransEntity

Indexes (2)

Relations (3)

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

  • TaxPeriodHead → TaxPeriodHead

    Join on TaxPeriod = TaxPeriodHead.TaxPeriod

    Many TaxPurchaseTaxTrans records → zero or one TaxPeriodHead record

  • TaxPurchaseTaxTable → TaxPurchaseTaxTable

    Join on TaxPurchaseTaxId = TaxPurchaseTaxTable.TaxPurchaseTaxId

    Many TaxPurchaseTaxTrans records → zero or one TaxPurchaseTaxTable record

  • TaxTable → TaxTable

    Join on TaxCode = TaxTable.TaxCode

    Many TaxPurchaseTaxTrans records → zero or one TaxTable record

Get this data out

Tables are not exposed directly. These public entities read from TaxPurchaseTaxTrans; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk