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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
VoucherVoucher number of the exchange rate adjustment. | String (20)ExchAdjVoucher | No | None | |
TransDateTransaction date of the adjustment. | DateTransDate | No | None | |
TaxPeriodSales tax settlement period, pointing to the period table. | StringTaxPeriod | No | TaxPeriodHead.TaxPeriod | None |
TaxCodeSales tax code, pointing to the sales tax code table. | StringTaxCode | No | TaxTable.TaxCode | None |
ExchRateDateDate of the exchange rate. | DateTransDate | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExchRateExchange rate used for the adjustment. | RealExchRate | No | None | |
ExchRateSecondSecondary exchange rate. | RealExchrateSecondary | No | None | |
GovernmentExchRateYes or no flag showing whether the rate is a government exchange rate. | EnumGovernmentExchRateNoYes (enum) | No | None | |
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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
VoucherTransactionIdxReplacement keyVoucher,TransDate,TaxPeriod,TaxCode,ExchRateDateUnique, alternate key.
Relations (3)
Each relation joins TaxExchRateAdjustment to another table on the fields shown.
TaxPeriodHead→TaxPeriodHeadJoin on
TaxPeriod = TaxPeriodHead.TaxPeriodMany TaxExchRateAdjustment records → zero or one TaxPeriodHead record
TaxTable→TaxTableJoin on
TaxCode = TaxTable.TaxCodeMany TaxExchRateAdjustment records → zero or one TaxTable record
TaxTrans→TaxTransJoin on
TaxTrans.UnrealizedTax = null,TaxCode = TaxTrans.TaxCode,Voucher = TaxTrans.Voucher,TransDate = TaxTrans.TransDate,TaxPeriod = TaxTrans.TaxPeriod,ExchRateDate = TaxTrans.RealizedDateZero 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.