Codeunit 6114 Ex. Rate Data Migration Facade

Base Application, System.Integration

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 currency

All 37 lines

Public procedures 1 in 29

CreateSimpleExchangeRateIfNeeded(CurrencyCode: Code[10]; StartingDate: Date; RelationalExchangeRateAmount: Decimal; ExchangeRateAmount: Decimal)17-29