Page 4343 Agent Task Context Part
- App
- System Application
- Namespace
- System.Agents.Troubleshooting
- Versions
- 27-28
- Source table
- 2000000262
Versions171819202122232425262728
Source in 29
src/System Application/App/Agent/Troubleshooting/AgentTaskContextPart.Page.al65 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.Agents.Troubleshooting;
using System.Agents;
#pragma warning disable AS0007 // Aligning namespaces.
page 4343 "Agent Task Context Part"
#pragma warning restore AS0007
{
ApplicationArea = All;
Caption = 'Context';
Editable = false;
InherentEntitlements = X;
InherentPermissions = X;
PageType = CardPart;
SourceTable = "Agent Task";
layout
{
area(Content)
{
field(AgentName; Rec."Agent Display Name")
{
Caption = 'Agent name';
ToolTip = 'Specifies the name of the agent that performed the tasks.';
trigger OnDrillDown()
var
AgentImpl: Codeunit "Agent Impl.";
begin
AgentImpl.ShowAgent(Rec."Agent User Security ID");
end;
}
field(TaskID; Rec.ID)
{
Caption = 'Task ID';
ToolTip = 'Specifies the ID of the task that was executed.';
Editable = false;
ExtendedDatatype = Task;
trigger OnDrillDown()
var
AgentTaskImpl: Codeunit "Agent Task Impl.";
begin
AgentTaskImpl.ShowTask(Rec);
end;
}
field(TaskTitle; Rec.Title)
{
Caption = 'Task title';
ToolTip = 'Specifies the title of the task that was executed.';
Visible = Rec.Title <> '';
}
field(CompanyName; Rec."Company Name")
{
Caption = 'Company name';
ToolTip = 'Specifies the name of the company in which the task was executed.';
}
}
}
}