Table

TaxExchRateAdjustment

Sales tax exchange rate adjustments

Holds exchange rate adjustments for sales tax. Each row is identified by voucher, date, settlement period, tax code and exchange rate date. It links to the sales tax code, the settlement period and posted sales tax.

Table name
TaxExchRateAdjustment
Module
Tax
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasicSalesTax
Primary index
RecId
Replacement key
VoucherTransactionIdx
Key fields
Voucher, TransDate, TaxPeriod, TaxCode, ExchRateDate
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
VoucherVoucher number of the exchange rate adjustment.String (20)
ExchAdjVoucher
NoNone
TransDateTransaction date of the adjustment.Date
TransDate
NoNone
TaxPeriodSales tax settlement period, pointing to the period table.String
TaxPeriod
NoTaxPeriodHead.TaxPeriodNone
TaxCodeSales tax code, pointing to the sales tax code table.String
TaxCode
NoTaxTable.TaxCodeNone
ExchRateDateDate of the exchange rate.Date
TransDate
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExchRateExchange rate used for the adjustment.Real
ExchRate
NoNone
ExchRateSecondSecondary exchange rate.Real
ExchrateSecondary
NoNone
GovernmentExchRateYes or no flag showing whether the rate is a government exchange rate.Enum
GovernmentExchRate
NoYes (enum)
NoNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • TaxPeriodHead → TaxPeriodHead

    Join on TaxPeriod = TaxPeriodHead.TaxPeriod

    Many TaxExchRateAdjustment records → zero or one TaxPeriodHead record

  • TaxTable → TaxTable

    Join on TaxCode = TaxTable.TaxCode

    Many TaxExchRateAdjustment records → zero or one TaxTable record

  • TaxTrans → TaxTrans

    Join on TaxTrans.UnrealizedTax = null, TaxCode = TaxTrans.TaxCode, Voucher = TaxTrans.Voucher, TransDate = TaxTrans.TransDate, TaxPeriod = TaxTrans.TaxPeriod, ExchRateDate = TaxTrans.RealizedDate

    Zero or one TaxExchRateAdjustment record → exactly one TaxTrans record

Get this data out

No public entity reads from TaxExchRateAdjustment. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk