Codeunit 149020 BCPT Install
Source AL, 24 lines
src/Tools/Performance Toolkit/App/src/BCPTInstall.Codeunit.allines 10 to 24 of 24, Copyright (c) Microsoft Corporation. MIT
codeunit 149020 "BCPT Install"{ Subtype = Install; trigger OnInstallAppPerDatabase() var EnvironmentInformation: Codeunit "Environment Information"; begin if EnvironmentInformation.IsSaaSInfrastructure() and (not EnvironmentInformation.IsSandbox()) then Error(CannotInstallErr); end; var CannotInstallErr: Label 'Cannot install on environment that is not a Sandbox or OnPrem.//Please contact your administrator.';}