From f34413a1a45ec9cb2281f64ac7cc72aa5e434a21 Mon Sep 17 00:00:00 2001 From: wenjiefan Date: Wed, 4 Dec 2024 13:10:56 +0100 Subject: [PATCH] obsolete the old procedure --- .../App/AI/src/Copilot/CopilotCapabilityImpl.Codeunit.al | 3 +++ .../App/Upgrade Tags/src/UpgradeTags.Page.al | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/System Application/App/AI/src/Copilot/CopilotCapabilityImpl.Codeunit.al b/src/System Application/App/AI/src/Copilot/CopilotCapabilityImpl.Codeunit.al index 52cbe77713..79e2ba40ec 100644 --- a/src/System Application/App/AI/src/Copilot/CopilotCapabilityImpl.Codeunit.al +++ b/src/System Application/App/AI/src/Copilot/CopilotCapabilityImpl.Codeunit.al @@ -243,7 +243,9 @@ codeunit 7774 "Copilot Capability Impl" IsAdmin := AzureADGraphUser.IsUserDelegatedAdmin() or AzureADPlan.IsPlanAssignedToUser(PlanIds.GetGlobalAdminPlanId()) or AzureADPlan.IsPlanAssignedToUser(PlanIds.GetBCAdminPlanId()) or AzureADPlan.IsPlanAssignedToUser(PlanIds.GetD365AdminPlanId()) or AzureADGraphUser.IsUserDelegatedHelpdesk() or UserPermissions.IsSuper(UserSecurityId()); end; +#if not clean26 [TryFunction] + [Obsolete('Use the procedure CheckGeoAndEUDB', '26.0')] procedure CheckGeo(var WithinGeo: Boolean; var WithinEuropeGeo: Boolean) var ALCopilotFunctions: DotNet ALCopilotFunctions; @@ -251,6 +253,7 @@ codeunit 7774 "Copilot Capability Impl" WithinGeo := ALCopilotFunctions.IsWithinGeo(); WithinEuropeGeo := ALCopilotFunctions.IsEuropeGeo(); end; +#endif [TryFunction] procedure CheckGeoAndEUDB(var WithinGeo: Boolean; var WithinEUDB: Boolean) diff --git a/src/System Application/App/Upgrade Tags/src/UpgradeTags.Page.al b/src/System Application/App/Upgrade Tags/src/UpgradeTags.Page.al index 96113cff76..eb91f6fadd 100644 --- a/src/System Application/App/Upgrade Tags/src/UpgradeTags.Page.al +++ b/src/System Application/App/Upgrade Tags/src/UpgradeTags.Page.al @@ -24,10 +24,10 @@ page 9985 "Upgrade Tags" { repeater(GroupName) { - field(Tag; Rec.Tag) { } - field("Tag Timestamp"; Rec."Tag Timestamp") { } - field(Company; Rec.Company) { } - field("Skipped Upgrade"; Rec."Skipped Upgrade") { } + // field(Tag; Rec.Tag) { } + // field("Tag Timestamp"; Rec."Tag Timestamp") { } + // field(Company; Rec.Company) { } + // field("Skipped Upgrade"; Rec."Skipped Upgrade") { } } } }