ALAppExtensions
ALAppExtensions copied to clipboard
[Event Request] codeunit 378 "Transfer Extended Text" - OnBeforeToSalesLinesInsert
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)
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.