ALAppExtensions
ALAppExtensions copied to clipboard
[Event Request] Add Event OnCreateInteractionOnBeforeCreatePhoneCall Table 5080 To-do
Please Add an Event OnCreateInteractionOnBeforeCreatePhoneCall in Table 5080 To-do
local procedure CreateInteraction()
var
TempSegLine: Record "Segment Line" temporary;
begin
if Type = Type::"Phone Call" then begin
TempSegLine."Campaign No." := "Campaign No.";
TempSegLine."Opportunity No." := "Opportunity No.";
TempSegLine."Contact No." := "Contact No.";
TempSegLine."To-do No." := "No.";
TempSegLine."Salesperson Code" := "Salesperson Code";
OnCreateInteractionOnBeforeCreatePhoneCall(TempSegLine, Rec); <--- NEW EVENT
TempSegLine.CreatePhoneCall;
end else
TempSegLine.CreateInteractionFromTask(Rec);
end;
[IntegrationEvent(false, false)]
local procedure OnCreateInteractionOnBeforeCreatePhoneCall(var SegLine: Record "Segment Line"; var Task: Record "To-do")
begin
end;
Thank You!
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.