ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

Event on function CalcLineTotal on repor 12

Open AlvaroRosadoP opened this issue 5 years ago • 3 comments

Hi,

I need a new event on the case option is: "VATStmtLine2.Type::"Account Totaling":", copy of the event: "OnCalcLineTotalOnBeforeCalcTotalAmountVATEntryTotaling(VATStmtLine2, VATEntry, Amount);"

The new event can name: "OnCalcLineTotalOnBeforeCalcTotalAmountAccountTotaling(VATStmtLine2, VATEntry, Amount);"

Thanks!

AlvaroRosadoP avatar Jan 27 '21 15:01 AlvaroRosadoP

You should include the required signature of the publisher, not just the call, because MS need to know whether any of the arguments should be passed as var to enable subscribers to update them.

dzzzb avatar Jan 27 '21 16:01 dzzzb

[IntegrationEvent(false, false)] local procedure OnCalcLineTotalOnBeforeCalcTotalAmountVATEntryTotaling(VATStmtLine: Record "VAT Statement Line"; var VATEntry: Record "VAT Entry"; var Amount: Decimal) begin end;

AlvaroRosadoP avatar Jan 27 '21 16:01 AlvaroRosadoP

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. 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 Jan 30 '21 08:01 JesperSchulz