Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,9 @@ codeunit 4316 "Agent Task Message Builder"
/// <returns>
/// True if any attachments exist for the task message, false otherwise.
/// </returns>
#pragma warning disable AS0102
procedure GetAttachments(var TempAttachments: Record "Agent Task File" temporary): Boolean
begin
FeatureAccessManagement.AgentTaskManagementPreviewEnabled(true);
exit(AgentTaskMsgBuilderImpl.GetAttachments(TempAttachments));
end;
#pragma warning restore AS0102
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

namespace System.Agents;

using System.Agents.Troubleshooting;
using System.Environment;
using System.Integration;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ namespace System.Agents;
using System.Agents.TaskPane;
using System.Environment.Consumption;

#pragma warning disable AS0032
#pragma warning disable AS0050

page 4300 "Agent Task List"
{
PageType = List;
Expand Down Expand Up @@ -262,6 +259,4 @@ page 4300 "Agent Task List"
TaskSelected: Boolean;
ConsumedCredits: Decimal;
ConsumedCreditsVisible: Boolean;
}
#pragma warning restore AS0050
#pragma warning restore AS0032
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

namespace System.Agents;

using System.Agents.Troubleshooting;

page 4308 "Agent Task Message Card"
{
PageType = Card;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

namespace System.Agents;

using System.Agents.Troubleshooting;

page 4301 "Agent Task Message List"
{
PageType = List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

namespace System.Agents;

using System.Agents.Troubleshooting;
using System.Environment.Consumption;
using System.Security.AccessControl;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

namespace System.Agents;

using System.Agents.Troubleshooting;

permissionset 4300 "Agent - Objects"
{
Access = Internal;
Expand Down
2 changes: 0 additions & 2 deletions src/System Application/App/Agent/Setup/Agent.Codeunit.al
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ codeunit 4321 Agent
/// <param name="Instructions">Instructions for the agent that will be used to complete the tasks.</param>
/// <param name="TempAgentAccessControl">The list of users that can configure or interact with the agent.</param>
/// <returns>The ID of the agent.</returns>
#pragma warning disable AS0026
procedure Create(AgentMetadataProvider: Enum "Agent Metadata Provider"; var UserName: Code[50]; UserDisplayName: Text[80]; var TempAgentAccessControl: Record "Agent Access Control" temporary): Guid
#pragma warning restore AS0026
var
AgentImpl: Codeunit "Agent Impl.";
begin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ namespace System.Agents;

using System.Security.AccessControl;

#pragma warning disable AS0125
page 4320 "View Agent Access Control"
{
#pragma warning restore AS0125

Caption = 'Agent Access Control';
PageType = ListPart;
ApplicationArea = All;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------

namespace System.Agents;
namespace System.Agents.Troubleshooting;

using System.Agents;
using System.Agents.TaskPane;

#pragma warning disable AS0007 // Aligning namespaces.
page 4343 "Agent Task Context Part"
#pragma warning restore AS0007
{
ApplicationArea = All;
Caption = 'Context';
Expand Down
Loading
Loading