ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Additional Parameter Request] Page 475 VAT Statement Preview Line

Open aobsgit opened this issue 6 years ago • 6 comments

Referenced to #6277

As shown in attached image, our extension needs access to marked variables. Our suggestion is to extend OnBeforeCalcColumnValue event with these variables.

There are other similar issues regarding this, but none of them seems to be solving this issue as we are not extending this page, just calculating amount in our own way:

#7622 #5821 #1237 #7623

image

aobsgit avatar Aug 17 '20 08:08 aobsgit

@aobsgit, please be precise in description how event publisher should be looking like. Especially it relates to the parameter which is called "false" and VATStmtName (may be it can be get from VATStatementLine).

RomanZanizdra avatar Sep 01 '20 14:09 RomanZanizdra

Hi @aobsgit . Any update from your side?

RomanZanizdra avatar Sep 03 '20 20:09 RomanZanizdra

Hi @RomanZanizdra

I'm sorry for late reply and again thank you for your engagement. Practically we are calling our own VATStatement.CalcLineTotal function. However this functions depends on VATStatement.InitializeRequest function since it sets global parameters which we need in our calculations. New integration event should look like:

[IntegrationEvent(true, false)] local procedure OnBeforeCalcColumnValue( VATStatementLine: Record "VAT Statement Line"; var TotalAmount: Decimal; Level: Integer; NewSelection: Option Open,Closed,"Open and Closed"; NewPeriodSelection: Option "Before and Within Period","Within Period"; NewPrintInIntegers: Boolean; NewUseAmtsInAddCurr: Boolean, var IsHandled: Boolean) begin end;

aobsgit avatar Sep 04 '20 06:09 aobsgit

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. We will update this issue with information about availability.

bc-ghost avatar Sep 07 '20 07:09 bc-ghost

Hi When can we expect this to be solved? v17 doesn't include this. Thanks

aobsgit avatar Oct 02 '20 12:10 aobsgit

Hi @aobsgit , it will be available in 17.1. Also it can be available in the latets docker i suppose.

RomanZanizdra avatar Oct 02 '20 12:10 RomanZanizdra