Skip to content

Commit

Permalink
obsolete the old procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
wenjiefan committed Dec 4, 2024
1 parent 12b6a97 commit f34413a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,14 +243,17 @@ 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;
begin
WithinGeo := ALCopilotFunctions.IsWithinGeo();
WithinEuropeGeo := ALCopilotFunctions.IsEuropeGeo();
end;
#endif

[TryFunction]
procedure CheckGeoAndEUDB(var WithinGeo: Boolean; var WithinEUDB: Boolean)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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") { }
}
}
}
Expand Down

0 comments on commit f34413a

Please sign in to comment.