Page 4319 Agent Model List

App
System Application
Namespace
System.Agents
Versions
28
Source table
2000000299

Versions171819202122232425262728

Source2829

Source in 29

src/System Application/App/Agent/Setup/AgentModelList.Page.al72 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;

page 4319 "Agent Model List"
{
    ApplicationArea = All;
    PageType = List;
    SourceTable = "Agent Model";
    Caption = 'Agent Models';
    Editable = false;
    Extensible = false;
    InsertAllowed = false;
    ModifyAllowed = false;
    DeleteAllowed = false;
    InherentEntitlements = X;
    InherentPermissions = X;

    layout
    {
        area(Content)
        {
            repeater(Models)
            {
                field("Model ID"; Rec."Model ID")
                {
                    ApplicationArea = All;
                    Caption = 'Model ID';
                    ToolTip = 'Specifies the unique identifier of the agent model.';
                }
                field("Model Name"; Rec."Model Name")
                {
                    ApplicationArea = All;
                    Caption = 'Model Name';
                    ToolTip = 'Specifies the name of the agent model.';
                }
                field("Is Default"; Rec."Is Default")
                {
                    ApplicationArea = All;
                    Caption = 'Is Default';
                    ToolTip = 'Specifies whether this is the default agent model.';
                    Visible = not IsLookupMode;
                }
                field(Availability; Rec.Availability)
                {
                    ApplicationArea = All;
                    Caption = 'Availability';
                    ToolTip = 'Specifies the availability status of the agent model.';
                }
                field("Retirement Date"; Rec."Retirement Date")
                {
                    ApplicationArea = All;
                    Caption = 'Retirement Date';
                    ToolTip = 'Specifies the date when the agent model will be retired.';
                    Visible = not IsLookupMode;
                }
            }
        }
    }

    trigger OnOpenPage()
    begin
        IsLookupMode := CurrPage.LookupMode();
    end;

    var
        IsLookupMode: Boolean;
}