Please add a new event in the table 172 "Standard Customer Sales Code"

[IntegrationEvent(false, false)]
local procedure OnAfterSalesLineInsert(var StdSalesLine: Record "Standard Sales Line"; var SalesLine: Record "Sales Line")
begin
end;
    if StdSalesLine.InsertLine then begin
        SalesLine."Line No." := GetNextLineNo(SalesLine);
        SalesLine.Insert(true);
        OnAfterSalesLineInsert(StdSalesLine, SalesLine);
        SalesLine.AutoAsmToOrder;
        InsertExtendedText(SalesLine, SalesHeader);
    end;
until StdSalesLine.Next() = 0;
0

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.

Build ID: 44163.

0
© 2022 pullanswer.com - All rights reserved.