Hi, I'm new in business central and I'm having a hard time adding "Create Interaction" Action into the CustomerList page.
I'm wondering what is the best way for doing this

Hi, I'm new in business central and I'm having a hard time adding "Create Interaction" Action into the CustomerList page.
I'm wondering what is the best way for doing this
If you look at the contact table function it reveals the majority of the detail:
procedure CreateInteraction()
var
TempSegmentLine: Record "Segment Line" temporary;
begin
CheckIfPrivacyBlockedGeneric;
TempSegmentLine.CreateInteractionFromContact(Rec);
end;
Given it wants the contact record I would get that information first and then pass it into the function from the segment line table.