Codeunit 8355 MCP Config Missing Read Tool

System Application, System.MCP

Source AL, 56 lines

src/System Application/App/MCP/src/Configuration/Codeunits/MCPConfigMissingReadTool.Codeunit.allines 8 to 23 of 56, Copyright (c) Microsoft Corporation. MIT

codeunit 8355 "MCP Config Missing Read Tool" implements "MCP Config Warning"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        MCPConfigurationTool: Record "MCP Configuration Tool";        MissingReadToolWarningLbl: Label '%1 (%2) has Allow Modify enabled but Allow Read is disabled.', Comment = '%1=Object type, %2=Object Id';        MissingReadToolFixLbl: Label 'Enable Allow Read for this tool.';    procedure CheckForWarnings(ConfigId: Guid; var MCPConfigWarning: Record "MCP Config Warning"; var EntryNo: Integer)    begin        MCPConfigurationTool.SetRange(ID, ConfigId);        MCPConfigurationTool.SetRange("Object Type", MCPConfigurationTool."Object Type"::Page);        MCPConfigurationTool.SetRange("Allow Modify", true);

All 56 lines

Public procedures 4 in 29

CheckForWarnings(ConfigId: Guid; var MCPConfigWarning: Record "MCP Config Warning"; var EntryNo: Integer)new in 28
WarningMessage(MCPConfigWarning: Record "MCP Config Warning"): Textnew in 28
RecommendedAction(MCPConfigWarning: Record "MCP Config Warning"): Textnew in 28
ApplyRecommendedAction(var MCPConfigWarning: Record "MCP Config Warning")new in 28