Skip to content

[Event Request] codeunit 1281 "Update Currency Exchange Rates" procedure SyncCurrencyExchangeRates() #30281

@kmistrytnp

Description

@kmistrytnp

Why do you need this change?

I need to be able to add an additional filter to CurrExchRateUpdateSetup before the repeat until loop

Describe the request

Current code

        CurrExchRateUpdateSetup.SetRange(Enabled, true);

        if CurrExchRateUpdateSetup.FindSet() then

New code

        CurrExchRateUpdateSetup.SetRange(Enabled, true);

        OnBeforeCurrExchRateUpdateSetupLoop(CurrExchRateUpdateSetup);

        if CurrExchRateUpdateSetup.FindSet() then

the new event would be as follows...

    [IntegrationEvent(false, false)]
    local procedure OnBeforeCurrExchRateUpdateSetupLoop(var CurrExchRateUpdateSetup: Record "Curr. Exch. Rate Update Setup")
    begin
    end;

Internal work item: AB#639745

Metadata

Metadata

Assignees

No one assigned

    Labels

    FinanceGitHub request for Finance areaevent-requestRequest for adding an event

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions