ALAppExtensions
ALAppExtensions copied to clipboard
[Event Request] page 5856 "Get Post.Doc - P.RcptLn Sbfrm" - OnBeforeIsShowRec
We need an event raiser with handled pattern at procedure "IsShowRec" in Page 5856 - "Get Post.Doc - P.RcptLn Sbfrm" in order to skip some records.
Old Code:
local procedure IsShowRec(PurchRcptLine2: Record "Purch. Rcpt. Line"): Boolean
begin
with PurchRcptLine2 do begin
RemainingQty := 0;
New Code:
local procedure IsShowRec(PurchRcptLine2: Record "Purch. Rcpt. Line"): Boolean
var
// start kvspsa - Variables added
IsHandled: Boolean;
ReturnValue: Boolean;
// stop kvspsa
begin
// start kvspsa - Event Raiser with Handled Pattern
IsHandled := false;
OnBeforeIsShowRec(PurchRcptLine2, RevQtyFilter, ReturnValue, IsHandled);
if IsHandled then
exit(ReturnValue);
// stop kvspsa
with PurchRcptLine2 do begin
RemainingQty := 0;
New Publisher:
[IntegrationEvent(false, false)]
local procedure OnBeforeIsShowRec(PurchRcptLine: Record "Purch. Rcpt. Line"; var RevQtyFilter: Boolean; var ReturnValue: Boolean; var IsHandled: Boolean);
begin
end;
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.