Table
LedgerSalesTaxExchangeRateTypeCurrency
Ledger sales tax exchange rate type for currency
Links a ledger, a currency and a transaction type (purchase or sales) to an exchange rate type for sales tax. It tells which exchange rate type applies for that combination.
- Table name
LedgerSalesTaxExchangeRateTypeCurrency- Module
General ledger- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CurrencyCodeCurrency that the setting applies to. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | LedgerSalesTaxExchangeRateTypeCurrencyEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExchangeRateTypePoints to the exchange rate type to use. | Int64ExchangeRateTypeRecId | No | ExchangeRateType.RecId | LedgerSalesTaxExchangeRateTypeCurrencyEntity |
LedgerPoints to the ledger that the setting belongs to. | Int64LedgerRecId | Yes | Ledger.RecId | LedgerSalesTaxExchangeRateTypeCurrencyEntity |
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 | |
TransactionTypeSays whether the setting is for purchase or sales transactions. | EnumTransactionType (enum) | Yes | LedgerSalesTaxExchangeRateTypeCurrencyEntity |
Indexes (1)
LedgerCurrencyIdxLedger,CurrencyCode,TransactionTypeUnique.
Relations (3)
Each relation joins LedgerSalesTaxExchangeRateTypeCurrency to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany LedgerSalesTaxExchangeRateTypeCurrency records → exactly one Currency record
Ledger→LedgerJoin on
Ledger = Ledger.RecIdMany LedgerSalesTaxExchangeRateTypeCurrency records → exactly one Ledger record
SalesTaxExchangeRateType→ExchangeRateTypeJoin on
ExchangeRateType = ExchangeRateType.RecIdMany LedgerSalesTaxExchangeRateTypeCurrency records → zero or one ExchangeRateType record
Get this data out
Tables are not exposed directly. These public entities read from LedgerSalesTaxExchangeRateTypeCurrency; use one of them in Power BI, Power Platform or a data management project.
LedgerSalesTaxExchangeRateTypeCurrencyEntity· 4 fields from this table
Need help with LedgerSalesTaxExchangeRateTypeCurrency in a report, an integration or a migration? Talk to Dr Dynamics.