Announcements
Hello
I am creating a salesperson task (to-do) from task list > Create new task in Azure Version 20.4.44313.44365
When I select Type = Meeting, I get the error "You cannot create a task of type Meeting because you’re not using an on-premises deployment"
This is either a bug or a change with the new updates, as it was possible to create to-do in some of the previous version
Valentin Castravet
Work: Zander ERP Services
Blog: Dynamics 365 Business Central Insights
LinkedIn: www.linkedin.com/in/valentin-c-0500a247/
I checked the code an it is no a bug. The code clearly states that it is by design. But i can not really tell you the reasoning behind it. Maybe someone else here can fill it with the reason.
field(8; Type; Enum "Task Type") { Caption = 'Type'; trigger OnValidate() var EnvironmentInfo: Codeunit "Environment Information"; OldEndDate: Date; IsHandled: Boolean; begin IsHandled := false; OnBeforeValidateType(Rec, xRec, IsHandled); if IsHandled then exit; if EnvironmentInfo.IsSaaS() and (Type = Type::Meeting) then Error(MeetingSaaSNotSupportedErr); if "No." <> '' then begin if ((xRec.Type = Type::Meeting) and (Type <> Type::Meeting)) or ((xRec.Type <> Type::Meeting) and (Type = Type::Meeting)) then Error(Text012); end else begin if CurrFieldNo = 0 then exit; if not IsMeetingOrPhoneCall(xRec.Type) then TempEndDateTime := CreateDateTime(xRec.Date, xRec."Start Time") - OneDayDuration xRec.Duration else TempEndDateTime := CreateDateTime(xRec.Date, xRec."Start Time") xRec.Duration; OldEndDate := DT2Date(TempEndDateTime); if IsMeetingOrPhoneCall(xRec.Type) and not IsMeetingOrPhoneCall(Rec.Type) then begin "Start Time" := 0T; "All Day Event" := false; SetDuration(OldEndDate, 0T); end; if not IsMeetingOrPhoneCall(xRec.Type) and IsMeetingOrPhoneCall(Rec.Type) then begin "Start Time" := 0T; if OldEndDate = Date then begin SetDuration(OldEndDate, DT2Time(CreateDateTime(OldEndDate, 0T) 30 * 60 * 1000)); end else SetDuration(OldEndDate, 0T); end; end; end; }
André Arnaud de Cal...
294,095
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator