ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Report 1307 "Standard Sales - Credit Memo" VATAmountLine.InsertLine();

Open samra-singhammer opened this issue 4 years ago • 2 comments

Hello,

can you please add publisher before line 579 to handle the insert:

OnBeforeVATAmountLineInsertLine(IsHandled);
if not IsHandled then
VATAmountLine.InsertLine();

Definition:

    [IntegrationEvent(false, false)]
    local procedure OnBeforeVATAmountLineInsertLine(var IsHandled: Boolean)
    begin
    end;

samra-singhammer avatar Aug 05 '22 09:08 samra-singhammer

There is already a OnInsertLine in the VATAmountLine.InsertLine();, can you use that instead?

Vadim-Stepanenko avatar Oct 13 '22 12:10 Vadim-Stepanenko

Ok, so I assume you can, please do that. If not please open a new issue and provide the scenario where it's not possible.

Vadim-Stepanenko avatar Oct 18 '22 10:10 Vadim-Stepanenko