ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event request] table 290 "VAT Amount Line" - OnAfterCalcVATFields

Open iltererdogan opened this issue 5 years ago • 3 comments

Hi,

Is it possible to add Currency variable to publisher.

Original

OnAfterCalcVATFields(Rec, NewPricesIncludingVAT, NewVATBaseDiscPct);

[IntegrationEvent(false, false)]
local procedure OnAfterCalcVATFields(var VATAmountLine: Record "VAT Amount Line"; NewPricesIncludingVAT: Boolean; NewVATBaseDiscPct: Decimal)

Modified

OnAfterCalcVATFields(Rec, NewPricesIncludingVAT, NewVATBaseDiscPct, Currency);

[IntegrationEvent(false, false)]
local procedure OnAfterCalcVATFields(var VATAmountLine: Record "VAT Amount Line"; NewPricesIncludingVAT: Boolean; NewVATBaseDiscPct: Decimal; Currency: Record Currency)

iltererdogan avatar Sep 24 '21 14:09 iltererdogan

presumably not var? best to show full signatures of event publishers you want.

dzzzb avatar Sep 24 '21 15:09 dzzzb

thanks

iltererdogan avatar Sep 25 '21 07:09 iltererdogan

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.

JesperSchulz avatar Sep 28 '21 10:09 JesperSchulz