Codeunit 4009 Intelligent Cloud Management

App
Base Application
Namespace
System.AI
Versions
17-28

Procedures, 2

Versions171819202122232425262728

Source29

Source in 29

src/Layers/W1/BaseApp/IntelligentCloudManagement.Codeunit.al37 lines, Copyright (c) Microsoft Corporation. MIT

// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------
namespace System.AI;

codeunit 4009 "Intelligent Cloud Management"
{
    // // Intelligent Cloud


    trigger OnRun()
    begin
    end;

    [Scope('OnPrem')]
    procedure GetIntelligentCloudInsightsUrl(): Text
    var
        BaseUrl: Text;
        ParameterUrl: Text;
        NoDomainUrl: Text;
    begin
        BaseUrl := GetUrl(CLIENTTYPE::Web);
        ParameterUrl := GetUrl(CLIENTTYPE::Web, CompanyName, OBJECTTYPE::Page, 4013);
        NoDomainUrl := DelChr(ParameterUrl, '<', BaseUrl);

        exit(StrSubstNo('https://businesscentral.dynamics.com/%1', NoDomainUrl));
    end;

    [Scope('OnPrem')]
    procedure GetIntelligentCloudLearnMoreUrl(): Text
    begin
        exit('https://go.microsoft.com/fwlink/?linkid=2009848&clcid=0x409');
    end;
}