ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Add Event OnCreateInteractionOnBeforeCreatePhoneCall Table 5080 To-do

Open akontos opened this issue 4 years ago • 1 comments

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!

akontos avatar Jan 05 '22 14:01 akontos

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.

JesperSchulz avatar Jan 15 '22 06:01 JesperSchulz