Skip to content

Commit

Permalink
implement a new method to check EUDB
Browse files Browse the repository at this point in the history
  • Loading branch information
wenjiefan committed Dec 4, 2024
1 parent 9e52bd5 commit 499f679
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,15 @@ codeunit 7774 "Copilot Capability Impl"
WithinEuropeGeo := ALCopilotFunctions.IsEuropeGeo();
end;

[TryFunction]
procedure CheckGeoWithEUDB(var WithinGeo: Boolean; var WithinEUDB: Boolean)
var
ALCopilotFunctions: DotNet ALCopilotFunctions;
begin
WithinGeo := ALCopilotFunctions.IsWithinGeo();
WithinEUDB := ALCopilotFunctions.IsWithinEUDB();
end;

procedure UpdateGuidedExperience(AllowDataMovement: Boolean)
var
GuidedExperience: Codeunit "Guided Experience";
Expand Down

0 comments on commit 499f679

Please sign in to comment.