I'm sure this is a very basic request but I am struggling with lack of a central repository for syntax for AL.
I want to be able to click on an existing field (i.e. Contact Name in the Customer List) and have it open the Contact Card for that contact.
I have created the trigger for OnDrillDown but what I don't understand is how to get the "Contact" record to pass it through. This is what I have so far from trial and error in my page extension for Customer List.
modify(Contact)
{
trigger OnDrillDown()
var
ctrec: Record Contact;
begin
ctrec.SetRange("Lookup Contact No.", "No.");
Page.Run(page::"Contact Card", ctrec);
end;
}