Codeunit 8355 MCP Config Missing Read Tool
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);Public procedures 4 in 29
| Check | new in 28 |
| Warning | new in 28 |
| Recommended | new in 28 |
| Apply | new in 28 |