ALAppExtensions
ALAppExtensions copied to clipboard
[Event Request] table 5902 "Service Line" - OnBeforeCalcInvDiscToInvoice
Hi,
Is it possible to add OnBeforeCalcInvDiscToInvoice publisher to service line?
procedure InitQtyToInvoice()
begin
"Qty. to Invoice" := MaxQtyToInvoice;
"Qty. to Invoice (Base)" := MaxQtyToInvoiceBase;
"VAT Difference" := 0;
// <<New
OnBeforeCalcInvDiscToInvoice(Rec, CurrFieldNo);
// >> New
CalcInvDiscToInvoice;
OnAfterInitQtyToInvoice(Rec, CurrFieldNo);
end;
// <<New
[IntegrationEvent(false, false)]
local procedure OnBeforeCalcInvDiscToInvoice(var ServLine: Record "Service Line"; CallingFieldNo: Integer)
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. 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.