Source AL, 337 lines
src/Layers/W1/BaseApp/Finance/Currency/MapCurrencyExchangeRate.Codeunit.allines 22 to 37 of 337, Copyright (c) Microsoft Corporation. MIT
codeunit 1280 "Map Currency Exchange Rate"{ TableNo = "Data Exch."; trigger OnRun() var CurrencyExchangeRate: Record "Currency Exchange Rate"; begin MapCurrencyExchangeRates(Rec, CurrencyExchangeRate); end; var FieldNotMappedErr: Label 'Mandatory field %1 is not mapped. Map the field by choosing Field Mapping in the Currency Exchange Rate Sync. Setup window.', Comment = '%1 - Field Caption'; [Scope('OnPrem')] procedure MapCurrencyExchangeRates(DataExch: Record "Data Exch."; var CurrencyExchangeRate: Record "Currency Exchange Rate")
All 337 lines
Events 3 in 29
Public procedures 4 in 29
| MapCurrencyExchangeRates(DataExch: Record "Data Exch."; var CurrencyExchangeRate: Record "Currency Exchange Rate") | 17-29 |
| GetSuggestedFields(var TempField: Record Field temporary) | 17-29 |
| GetMandatoryFields(var TempField: Record Field temporary) | 17-29 |
| GetAndAssignValue(var CurrencyExchangeRecordRef: RecordRef; FieldNo: Integer; DefinitionDataExchField: Record "Data Exch. Field"; DefaultValue: Variant): Boolean | new in 21 |
All 5 procedures in 17-29
Changes 2 in 21
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | 1 | | | 1 | | | | | | | | |
|---|
| Events | | | 1 | | 1 | | | | | | | | |
|---|
| GetAndAssignValue(var CurrencyExchangeRecordRef: RecordRef; FieldNo: Integer; DefinitionDataExchField: Record "Data Exch. Field"; DefaultValue: Variant): Boolean | new in 21 |
| added |
| [IntegrationEvent] OnSetFieldsOnBeforeCurrencyExchangeRateSetTable(var RecordRef: RecordRef; var DefinitionDataExchField: Record "Data Exch. Field"; var CurrencyExchangeRate: Record "Currency Exchange Rate") | new in 21 |
| added |
All 4 changes in 17-29