ALAppExtensions
ALAppExtensions copied to clipboard
[Event Request] Table 296 "Reminder Line", field 5 "Entry No.", OnLookup trigger; OnBeforeLookupEntryNo
Hello, we need a way to influence the OnLookup trigger logic for Type values different then "Customer Ledger Entry". Thank you in advance.
field(5; "Entry No."; Integer)
{
BlankZero = true;
Caption = 'Entry No.';
TableRelation = "Cust. Ledger Entry";
trigger OnLookup()
var
// - new
IsHandled: Boolean;
// + new
begin
// - new
IsHandled := false;
OnBeforeLookupEntryNo(Rec, IsHandled);
if IsHandled then
exit;
// + new
if Type <> Type::"Customer Ledger Entry" then
exit;
SetCustLedgEntryView;
if CustLedgEntry.Get("Entry No.") then;
LookupCustLedgEntry;
end;
[IntegrationEvent(false, false)]
local procedure OnBeforeLookupEntryNo(var ReminderLine: Record "Reminder Line"; 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. 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.