Page extension 4411 SOA Contact List Ext

Sales Order Agent, Microsoft.Agent.SalesOrderAgent

src/Apps/W1/SalesOrderAgent/app/src/PageExtention/SOAContactListExt.PageExt.al36 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 Microsoft.Agent.SalesOrderAgent;using Microsoft.CRM.Contact;pageextension 4411 "SOA Contact List Ext" extends "Contact List"{    layout    {        addafter("E-Mail")        {            field("SOA E-Mail 2"; Rec."E-Mail 2")            {                ApplicationArea = Basic, Suite;                Caption = 'Email 2';                Editable = false;                ToolTip = 'Specifies an alternative email address for the contact.';                Visible = IsAgentSession;            }        }    }    trigger OnOpenPage()    var        SOAKPITrackAll: Codeunit "SOA - KPI Track All";        AgentTaskID: BigInteger;    begin        IsAgentSession := SOAKPITrackAll.IsOrderTakerAgentSession(AgentTaskID);    end;    var        IsAgentSession: Boolean;}