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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CurrencyCodeCurrency that the exchange rate is for. | String (3)CurrencyCode | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DateOfVATRegisterDate used for the VAT register. | DateVatDueDate_W | No | None | |
ExchangeRateThe exchange rate value. | RealCurrencyExchangeRate | No | None | |
KeepOriginalExchangeRateYes/No choice about keeping the original exchange rate. The label is not given in the metadata.low confidence | EnumNoYes (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 | |
SourceRecIdSystem record ID of the source document record, such as a sales order confirmation. | Int64RefRecId | Yes | None | |
SourceTableIdID of the table that the source record belongs to. | IntegerRefTableId | Yes | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
IdentificationSourceTableId,SourceRecId,CurrencyCodeUnique.
Relations (7)
Each relation joins TaxSpecificExchangeRate to another table on the fields shown.
CustConfirmJour→CustConfirmJourJoin on
SourceTableId = CustConfirmJour.TableId,SourceRecId = CustConfirmJour.RecIdZero or one TaxSpecificExchangeRate record → zero or one CustConfirmJour record
CustInvoiceJour→CustInvoiceJourJoin on
SourceRecId = CustInvoiceJour.RecId,SourceTableId = CustInvoiceJour.TableIdZero or one TaxSpecificExchangeRate record → zero or one CustInvoiceJour record
CustInvoiceTable→CustInvoiceTableJoin on
SourceRecId = CustInvoiceTable.RecId,SourceTableId = CustInvoiceTable.TableIdZero or one TaxSpecificExchangeRate record → zero or one CustInvoiceTable record
LedgerJournalTrans→LedgerJournalTransJoin on
SourceRecId = LedgerJournalTrans.RecId,SourceTableId = LedgerJournalTrans.TableIdZero or one TaxSpecificExchangeRate record → zero or one LedgerJournalTrans record
SalesTable→SalesTableJoin on
SourceRecId = SalesTable.RecId,SourceTableId = SalesTable.TableIdZero or one TaxSpecificExchangeRate record → zero or one SalesTable record
VendInvoiceInfoTable→VendInvoiceInfoTableJoin on
SourceRecId = VendInvoiceInfoTable.RecId,SourceTableId = VendInvoiceInfoTable.TableIdZero or one TaxSpecificExchangeRate record → zero or one VendInvoiceInfoTable record
VendInvoiceJour→VendInvoiceJourJoin on
SourceRecId = VendInvoiceJour.RecId,SourceTableId = VendInvoiceJour.TableIdZero 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.