Why do you need this change?
We would like to request a new integration event to skip updating the prepayment amounts on sales order lines when posting a return order with prepayments in the UpdateSalesOrderLinePrepmtAmount function in codeunit 1303 "Correct Posted Sales Invoice".
Describe the request
We suggest a new integration event here after the currency variable is retrieved in the function:
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateSalesOrderLinePrepmtAmount(SalesInvoiceLine: Record "Sales Invoice Line"; SalesLine: Record "Sales Line"; SalesHeader: Record "Sales Header"; Currency: Record "Currency"; var IsHandled: Boolean)
begin
end;

Why do you need this change?
We would like to request a new integration event to skip updating the prepayment amounts on sales order lines when posting a return order with prepayments in the
UpdateSalesOrderLinePrepmtAmountfunction in codeunit 1303 "Correct Posted Sales Invoice".Describe the request
We suggest a new integration event here after the currency variable is retrieved in the function: