ALAppExtensions
ALAppExtensions copied to clipboard
[Event Request] Codeunit 441 - OnBeforeSetSalesPrepaymentPct
New event required on Codeunit 441 "Prepayment Mgt." (PrepaymentMgt.codeunit.al) OnBeforeSetSalesPrepaymentPct with IsHandled
procedure SetSalesPrepaymentPct(var SalesLine: Record "Sales Line"; Date: Date)
var
Cust: Record Customer;
SalesPrepaymentPct: Record "Sales Prepayment %";
//<< NEW
IsHandled: Boolean;
//>> NEW
begin
//<< NEW
OnBeforeSetSalesPrepaymentPct(SalesLine, Date, IsHandled);
if IsHandled then
exit;
//>> NEW
with SalesPrepaymentPct do begin
if (SalesLine.Type <> SalesLine.Type::Item) or (SalesLine."No." = '') or
(SalesLine."Document Type" <> SalesLine."Document Type"::Order)
then
//...................//...................//...................//...................//
//<< NEW
[IntegrationEvent(false, false)]
local procedure OnBeforeSetSalesPrepaymentPct(var SalesLine: Record "Sales Line"; Date: Date; var IsHandled: Boolean)
begin
end;
//>> NEW
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. We will update this issue with information about availability. 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.