ALAppExtensions
ALAppExtensions copied to clipboard
[Event Request] Page 5197 Attendee Subform - OnBeforeShowCard
Hello, would it be possible to add OnBeforeShowCard event to Page 5197 Attendee Subform, like this:
local procedure ShowCard()
var
Cont: Record Contact;
Salesperson: Record "Salesperson/Purchaser";
IsHandled: Boolean;
begin
//new event begin
IsHandled := false;
OnBeforeShowCard(Rec, IsHandled);
if IsHandled then
exit;
//new event end
if "Attendee Type" = "Attendee Type"::Contact then begin
if Cont.Get("Attendee No.") then
PAGE.Run(PAGE::"Contact Card", Cont);
end else
if Salesperson.Get("Attendee No.") then
PAGE.Run(PAGE::"Salesperson/Purchaser Card", Salesperson);
end;
[IntegrationEvent(false, false)]
local procedure OnBeforeShowCard(Attendee: Record Attendee; 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.