Codeunit 6114 Ex. Rate Data Migration Facade
Source AL, 37 lines
src/Layers/W1/BaseApp/System/DataMigration/ExRateDataMigrationFacade.Codeunit.allines 6 to 21 of 37, Copyright (c) Microsoft Corporation. MIT
codeunit 6114 "Ex. Rate Data Migration Facade"{ trigger OnRun() begin end; procedure CreateSimpleExchangeRateIfNeeded(CurrencyCode: Code[10]; StartingDate: Date; RelationalExchangeRateAmount: Decimal; ExchangeRateAmount: Decimal) var CurrencyExchangeRate: Record "Currency Exchange Rate"; GeneralLedgerSetup: Record "General Ledger Setup"; begin GeneralLedgerSetup.Get(); if GeneralLedgerSetup."LCY Code" = CurrencyCode then exit; // no exchange rate from local currency to local currencyPublic procedures 1 in 29
| Create | 17-29 |