---
id: object/table/330
type: object
title: Table 330 "Currency Exchange Rate"
summary: Table 330 "Currency Exchange Rate" in Base Application (Microsoft.Finance.Currency). 8 fields, 14 public procedures, 13 events. Present since at least BC23, still in BC30, changed in BC24-25, BC28-29.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "29"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: ca9eb53eb28a73d255e00807943a2b6de2806823a8b5992d5226996156ac08d0
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/Currency/CurrencyExchangeRate.Table.al
    title: src/Layers/W1/BaseApp/Finance/Currency/CurrencyExchangeRate.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_currencyexchangerate_get
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_currencyexchangerate
    - https://learn.microsoft.com/dynamics365/business-central/finance-how-setup-additional-currencies
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/set-up-business-central/set-up-finance
  localizations:
    - localization/au
    - localization/ch
    - localization/nz
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 330
name: Currency Exchange Rate
namespace: Microsoft.Finance.Currency
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
  - "28"
  - "29"
source_major: "29"
obsolete: null
countries:
  - au
  - ch
  - nz
ms_search_form_ids: []
counts:
  fields: 8
  procedures: 29
  events: 13
  subscribers: 0
relations:
  out: 4
  referenced_by: 0
  pages: 2
  extended_by: 1
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 330 "Currency Exchange Rate"

> Table 330 "Currency Exchange Rate" in Base Application (Microsoft.Finance.Currency). 8 fields, 14 public procedures, 13 events. Present since at least BC23, still in BC30, changed in BC24-25, BC28-29.

Base Application · Microsoft.Finance.Currency · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/Currency/CurrencyExchangeRate.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 30085 "APIV2- Currency Exchange Rates"](../page/30085.md) (2 Learn pages), [Page 483 "Currency Exchange Rates"](../page/483.md) (1).

## Properties

| Property | Value |
|---|---|
| Caption | Currency Exchange Rate |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Currency Code | Code[10] | Specifies the code of the currency on this line. | TableRelation [Table 4 "Currency"](../table/4.md); not editable; NotBlank |
| 2 | Starting Date | Date | Specifies the date on which the exchange rate on this line comes into effect. | NotBlank |
| 3 | Exchange Rate Amount | Decimal | Specifies the amounts that are used to calculate exchange rates for the currency on this line. |  |
| 4 | Adjustment Exch. Rate Amount | Decimal | Specifies the amounts that are used to calculate exchange rates that will be used by the Adjust Exchange Rates batch job. |  |
| 5 | Relational Currency Code | Code[10] | Specifies how you want to set up the two currencies, one of the currencies can be LCY, for which you want to register exchange rates. | TableRelation [Table 4 "Currency"](../table/4.md) |
| 6 | Relational Exch. Rate Amount | Decimal | Specifies the amounts that are used to calculate exchange rates for the foreign currency on this line. |  |
| 7 | Fix Exchange Rate Amount | Enum "Fix Exch. Rate Amount Type" | Specifies if the currency's exchange rate can be changed on invoices and journal lines. | enum [Enum 330 "Fix Exch. Rate Amount Type"](../enum/330.md) |
| 8 | Relational Adjmt Exch Rate Amt | Decimal | Specifies the amounts that are used to calculate exchange rates that will be used by the Adjust Exchange Rates batch job. |  |

## Keys

- Key1: Currency Code, Starting Date (clustered)

## Events published

- `OnAfterFindCurrency(var CurrencyExchangeRate: Record "Currency Exchange Rate"; var CurrencyExchangeRateArray: array[2] of Record "Currency Exchange Rate"; Date: Date; CurrencyCode: Code[10]; CacheNo: Integer)` (integration)
- `OnExchangeAmtFCYToLCYOnAfterSetRelationalExchRateAmount(var CurrencyExchangeRate: Record "Currency Exchange Rate")` (integration)
- `OnFindCurrencyOnAfterCalcShouldUseCache(var CurrencyExchangeRate: Record "Currency Exchange Rate"; CacheNo: Integer; var ShouldUseCache: Boolean)` (integration)
- `OnFindCurrencyOnAfterCurrencyExchRate2SetFilters(var CurrencyExchRate2: Record "Currency Exchange Rate"; CurrencyCode: Code[10]; Date: Date; var CurrencyExchangeRate: Record "Currency Exchange Rate")` (integration)
- `OnExchangeRateOnAfterSetRelationalExchRateAmount(var CurrencyExchangeRate: Record "Currency Exchange Rate")` (integration)
- `OnFindCurrency2OnAfterCurrencyExchRate3SetFilters(var CurrencyExchRate3: Record "Currency Exchange Rate"; CurrencyCode: Code[10]; Date: Date; var CurrencyExchangeRate: Record "Currency Exchange Rate")` (integration)
- `OnBeforeExchangeAmtLCYToFCY(var CurrencyExchangeRate: Record "Currency Exchange Rate"; Date: Date; CurrencyCode: Code[10]; var Amount: Decimal; Factor: Decimal; var RelExchangeRateAmt: Decimal; var ExchangeRateAmt: Decimal; var RelCurrencyCode: Code[10]; FixExchangeRateAmt: Enum "Fix Exch. Rate Amount Type"; var IsHandled: Boolean)` (integration)
- `OnBeforeExchangeAmtFCYToLCY(var CurrencyExchangeRate: Record "Currency Exchange Rate"; Date: Date; CurrencyCode: Code[10]; var Amount: Decimal; Factor: Decimal; UseAdjmtAmounts: Boolean; var RelExchangeRateAmt: Decimal; var ExchangeRateAmt: Decimal; var RelCurrencyCode: Code[10]; FixExchangeRateAmt: Enum "Fix Exch. Rate Amount Type"; var IsHandled: Boolean)` (integration)
- `OnBeforeExchangeRate(var CurrencyExchangeRate: Record "Currency Exchange Rate"; Date: Date; CurrencyCode: Code[10]; var CurrencyFactor: Decimal; UseAdjmtAmounts: Boolean; var RelExchangeRateAmt: Decimal; var ExchangeRateAmt: Decimal; var RelCurrencyCode: Code[10]; var IsHandled: Boolean)` (integration)
- `OnBeforeExchangeAmtFCYToFCY(var CurrencyExchangeRate: Record "Currency Exchange Rate"; Date: Date; FromCurrencyCode: Code[10]; ToCurrencyCode: Code[10]; var Amount: Decimal; CurrencyExchRate3: array[3] of Record "Currency Exchange Rate"; var IsHandled: Boolean)` (integration)
- `OnBeforeApplnExchangeAmtFCYToFCY(var CurrencyExchangeRate: Record "Currency Exchange Rate"; Date: Date; FromCurrencyCode: Code[10]; ToCurrencyCode: Code[10]; var Amount: Decimal; var ExchRateFound: Boolean; CurrencyExchRate3: array[3] of Record "Currency Exchange Rate"; var IsHandled: Boolean)` (integration)
- `OnBeforeGetLatestExchangeRate(var CurrencyExchangeRate: Record "Currency Exchange Rate"; CurrencyCode: Code[10]; var Date: Date; var Amount: Decimal; var IsHandled: Boolean)` (integration)
- `OnBeforeSetCurrentCurrencyFactor(var CurrencyExchangeRate: Record "Currency Exchange Rate"; CurrencyCode: Code[10]; CurrencyFactor: Decimal; var IsHandled: Boolean)` (integration)

## Procedures

- `ExchangeAmtLCYToFCY(Date: Date; CurrencyCode: Code[10]; Amount: Decimal; Factor: Decimal): Decimal`
- `ExchangeAmtFCYToLCY(Date: Date; CurrencyCode: Code[10]; Amount: Decimal; Factor: Decimal): Decimal`
- `ExchangeRate(Date: Date; CurrencyCode: Code[10]): Decimal`
- `ExchangeAmtLCYToFCYOnlyFactor(Amount: Decimal; Factor: Decimal): Decimal`
- `ExchangeAmtFCYToLCYAdjmt(Date: Date; CurrencyCode: Code[10]; Amount: Decimal; Factor: Decimal): Decimal`
- `ExchangeRateAdjmt(Date: Date; CurrencyCode: Code[10]): Decimal`
- `ExchangeAmount(Amount: Decimal; FromCurrencyCode: Code[10]; ToCurrencyCode: Code[10]; UsePostingDate: Date): Decimal`
- `FindCurrency(Date: Date; CurrencyCode: Code[10]; CacheNo: Integer)`
- `ExchangeAmtFCYToFCY(Date: Date; FromCurrencyCode: Code[10]; ToCurrencyCode: Code[10]; Amount: Decimal): Decimal`
- `ApplnExchangeAmtFCYToFCY(Date: Date; FromCurrencyCode: Code[10]; ToCurrencyCode: Code[10]; Amount: Decimal; var ExchRateFound: Boolean): Decimal`
- `GetCurrentCurrencyFactor(CurrencyCode: Code[10]): Decimal`
- `GetLastestExchangeRate(CurrencyCode: Code[10]; var Date: Date; var Amt: Decimal)`
- `CurrencyExchangeRateExist(CurrencyCode: Code[10]; Date: Date): Boolean`
- `SetCurrentCurrencyFactor(CurrencyCode: Code[10]; CurrencyFactor: Decimal)`

Plus 2 local procedures.

## Relations

- drill-down page [Page 483 "Currency Exchange Rates"](../page/483.md)
- lookup page [Page 483 "Currency Exchange Rates"](../page/483.md)
- Currency Code: TableRelation [Table 4 "Currency"](../table/4.md)
- Relational Currency Code: TableRelation [Table 4 "Currency"](../table/4.md)

## Pages and codeunits on this table

- [Page 30085 "APIV2- Currency Exchange Rates"](../page/30085.md) (source table)
- [Page 483 "Currency Exchange Rates"](../page/483.md) (source table)

## Extended by

- [Table extension 7251 "MDM Currency Exch. Rate"](../tableextension/7251.md)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-25, BC28-29

## Countries that replace it

[AU](../../localizations/au.md), [CH](../../localizations/ch.md), [NZ](../../localizations/nz.md)

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "Currency Exchange Rate")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
