Table

TaxSpecificExchangeRate

Enable exchange rate types for sales tax

Stores an exchange rate set for sales tax on a source document. The source is identified by a record ID and a table ID, for example a sales order confirmation. Each row holds a currency, a VAT register date and a rate.

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

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CurrencyCodeCurrency that the exchange rate is for.String (3)
CurrencyCode
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DateOfVATRegisterDate used for the VAT register.Date
VatDueDate_W
NoNone
ExchangeRateThe exchange rate value.Real
CurrencyExchangeRate
NoNone
KeepOriginalExchangeRateYes/No choice about keeping the original exchange rate. The label is not given in the metadata.low confidenceEnum
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
SourceRecIdSystem record ID of the source document record, such as a sales order confirmation.Int64
RefRecId
YesNone
SourceTableIdID of the table that the source record belongs to.Integer
RefTableId
YesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (7)

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

  • CustConfirmJour → CustConfirmJour

    Join on SourceTableId = CustConfirmJour.TableId, SourceRecId = CustConfirmJour.RecId

    Zero or one TaxSpecificExchangeRate record → zero or one CustConfirmJour record

  • CustInvoiceJour → CustInvoiceJour

    Join on SourceRecId = CustInvoiceJour.RecId, SourceTableId = CustInvoiceJour.TableId

    Zero or one TaxSpecificExchangeRate record → zero or one CustInvoiceJour record

  • CustInvoiceTable → CustInvoiceTable

    Join on SourceRecId = CustInvoiceTable.RecId, SourceTableId = CustInvoiceTable.TableId

    Zero or one TaxSpecificExchangeRate record → zero or one CustInvoiceTable record

  • LedgerJournalTrans → LedgerJournalTrans

    Join on SourceRecId = LedgerJournalTrans.RecId, SourceTableId = LedgerJournalTrans.TableId

    Zero or one TaxSpecificExchangeRate record → zero or one LedgerJournalTrans record

  • SalesTable → SalesTable

    Join on SourceRecId = SalesTable.RecId, SourceTableId = SalesTable.TableId

    Zero or one TaxSpecificExchangeRate record → zero or one SalesTable record

  • VendInvoiceInfoTable → VendInvoiceInfoTable

    Join on SourceRecId = VendInvoiceInfoTable.RecId, SourceTableId = VendInvoiceInfoTable.TableId

    Zero or one TaxSpecificExchangeRate record → zero or one VendInvoiceInfoTable record

  • VendInvoiceJour → VendInvoiceJour

    Join on SourceRecId = VendInvoiceJour.RecId, SourceTableId = VendInvoiceJour.TableId

    Zero or one TaxSpecificExchangeRate record → zero or one VendInvoiceJour record

Get this data out

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

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

Email sales@drdynamics.co.uk