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;

Internal work item: [AB#648506](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/648506)
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: