---
title: "Codeunit 1280 Map Currency Exchange Rate"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/1280-map-currency-exchange-rate/
type: codeunit
id: 1280
name: "Map Currency Exchange Rate"
app: "Base Application"
namespace: Microsoft.Finance.Currency
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/1280-map-currency-exchange-rate/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 1280 Map Currency Exchange Rate

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/1280-map-currency-exchange-rate/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Finance.Currency |
| Versions | 17-28 |
| Source file | Finance/Currency/MapCurrencyExchangeRate.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| MapCurrencyExchangeRates | (Record Data Exch., var Record Currency Exchange Rate) | - | public | 17-28 | - | - |
| GetSuggestedFields | (var Record Field) | - | public | 17-28 | - | - |
| GetMandatoryFields | (var Record Field) | - | public | 17-28 | - | - |
| HandleCurrencyExchangeRateRegisterServiceConnection | (var Record Service Connection) | - | public | 17 | - | - |
| GetAndAssignValue | (var RecordRef, Integer, Record Data Exch. Field, Variant) | Boolean | public | 21-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterMapCurrencyExchangeRates | (Record Data Exch., var Record Currency Exchange Rate) | 17-28 | - | - |
| Integration event | OnBeforeInsertOrModifyRecordRef | (var RecordRef, Record Data Exch. Field, var Boolean, var Boolean) | 19-28 | - | - |
| Integration event | OnSetFieldsOnBeforeCurrencyExchangeRateSetTable | (var RecordRef, var Record Data Exch. Field, var Record Currency Exchange Rate) | 21-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
