ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] codeunit 378 "Transfer Extended Text" - OnBeforeToSalesLinesInsert

Open gretanorv opened this issue 4 years ago • 1 comments

Hello, would it be possible to add OnBeforeToSalesLinesInsert event to codeunit 378 "Transfer Extended Text", like this:

    procedure InsertSalesExtTextRetLast(var SalesLine: Record "Sales Line"; var LastInsertedSalesLine: Record "Sales Line") 
... 

 
                 IsHandled := false;
                 OnInsertSalesExtTextRetLastOnBeforeToSalesLineInsert(ToSalesLine, SalesLine, TempExtTextLine, NextLineNo, LineSpacing, IsHandled);
>                 OnBeforeToSalesLinesInsert(ToSalesLine, SalesLine, TempExtTextLine); //New Event
                 if not IsHandled then
                     ToSalesLine.Insert();
             until TempExtTextLine.Next() = 0;
             MakeUpdateRequired := true; 
    local procedure OnBeforeToSalesLinesInsert(var ToSalesLine: Record "Sales Line"; var SalesLine: Record "Sales Line"; TempExtTextLine: Record "Extended Text Line" temporary)  

gretanorv avatar Oct 19 '22 12:10 gretanorv

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.

AlexanderYakunin avatar Nov 13 '22 11:11 AlexanderYakunin