Skip to content
Open
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
44 changes: 26 additions & 18 deletions src/System Application/App/Agent/Setup/AgentList.Page.al
Original file line number Diff line number Diff line change
Expand Up @@ -95,23 +95,6 @@ page 4316 "Agent List"
Page.Run(Page::"Agent Task List", AgentTask);
end;
}
action(ShowConsumptionData)
{
ApplicationArea = All;
Caption = 'View consumption data';
ToolTip = 'View AI consumption data for this agent.';
Image = BankAccountLedger;

trigger OnAction()
var
AgentConsumptionOverview: Codeunit "Agent Consumption Overview";
begin
if Rec.IsEmpty() then
Error(NoAgentSetupErr);

AgentConsumptionOverview.OpenAgentConsumptionOverview(Rec."User Security ID");
end;
}
action(ShowCurrentCompany)
{
ApplicationArea = All;
Expand Down Expand Up @@ -146,11 +129,36 @@ page 4316 "Agent List"
action(AgentConfigurationRights)
{
ApplicationArea = All;
Caption = 'View agent configuration rights';
Caption = 'Agent configuration rights';
ToolTip = 'View who can create new agents';
Image = Permission;
RunObject = Page "Agent Creation Control";
}
action(ShowConsumptionData)
{
ApplicationArea = All;
Caption = 'Consumption data';
ToolTip = 'View AI consumption data for this agent.';
Image = BankAccountLedger;

trigger OnAction()
var
AgentConsumptionOverview: Codeunit "Agent Consumption Overview";
begin
if Rec.IsEmpty() then
Error(NoAgentSetupErr);

AgentConsumptionOverview.OpenAgentConsumptionOverview(Rec."User Security ID");
end;
}
action(AgentModels)
Comment thread
mbaranovych marked this conversation as resolved.
{
ApplicationArea = All;
Caption = 'Agent models';
ToolTip = 'View all agent models.';
Image = ViewPage;
RunObject = Page "Agent Model List";
}
}
area(Promoted)
{
Expand Down
Loading