[Extensibility-Enhancement] table 5900 "Service Header" - OnBeforeUpdateCurrencyFactor
Hi,
Is it possible to change code like sales.
Original
protected procedure UpdateCurrencyFactor()
var
UpdateCurrencyExchangeRates: Codeunit "Update Currency Exchange Rates";
ConfirmManagement: Codeunit "Confirm Management";
begin
OnBeforeUpdateCurrencyFactor(Rec, CurrExchRate);
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateCurrencyFactor(var ServiceHeader: Record "Service Header"; var CurrencyExchangeRate: Record "Currency Exchange Rate")
Modifed
protected procedure UpdateCurrencyFactor()
var
UpdateCurrencyExchangeRates: Codeunit "Update Currency Exchange Rates";
ConfirmManagement: Codeunit "Confirm Management";
Updated: Boolean;
begin
OnBeforeUpdateCurrencyFactor(Rec, CurrExchRate, Updated);
if Updated then
exit;
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateCurrencyFactor(var ServiceHeader: Record "Service Header"; var CurrencyExchangeRate: Record "Currency Exchange Rate"; var Updated: Boolean)
var Updated presumably, to be useful?
CurrExchRate non-var?
should always show full signatures of event publishers you want.
var Updatedpresumably, to be useful?
CurrExchRatenon-var?should always show full signatures of event publishers you want.
thanks
Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.