Page extension 6451 Serv. Customer List

Base Application, Microsoft.Service.Customer

src/Layers/W1/BaseApp/Service/Sales/Customer/ServCustomerList.PageExt.al134 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.Service.Customer;using Microsoft.Sales.Customer;using Microsoft.Service.Contract;using Microsoft.Service.Document;using Microsoft.Service.Item;pageextension 6451 "Serv. Customer List" extends "Customer List"{    layout    {        addafter(CustomerDetailsFactBox)        {            part(Control1907829707; "Service Hist. Sell-to FactBox")            {                ApplicationArea = Basic, Suite;                SubPageLink = "No." = field("No."),                              "Currency Filter" = field("Currency Filter"),                              "Date Filter" = field("Date Filter"),                              "Global Dimension 1 Filter" = field("Global Dimension 1 Filter"),                              "Global Dimension 2 Filter" = field("Global Dimension 2 Filter");                Visible = false;            }            part(Control1902613707; "Service Hist. Bill-to FactBox")            {                ApplicationArea = Basic, Suite;                SubPageLink = "No." = field("No."),                              "Currency Filter" = field("Currency Filter"),                              "Date Filter" = field("Date Filter"),                              "Global Dimension 1 Filter" = field("Global Dimension 1 Filter"),                              "Global Dimension 2 Filter" = field("Global Dimension 2 Filter");                Visible = false;            }        }        addafter("Combine Shipments")        {            field("Combine Service Shipments"; Rec."Combine Service Shipments")            {                ApplicationArea = Service;                ToolTip = 'Specifies if several orders delivered to the customer can appear on the same service invoice.';                Visible = false;            }        }    }    actions    {        addafter(Documents)        {            group(Service)            {                Caption = 'Service';                Image = ServiceItem;                action("Service Orders")                {                    ApplicationArea = Service;                    Caption = 'Service Orders';                    Image = Document;                    RunObject = Page "Service Orders";                    RunPageLink = "Customer No." = field("No.");                    RunPageView = sorting("Document Type", "Customer No.");                    ToolTip = 'Open the list of ongoing service orders.';                }                action("Ser&vice Contracts")                {                    ApplicationArea = Service;                    Caption = 'Ser&vice Contracts';                    Image = ServiceAgreement;                    RunObject = Page "Customer Service Contracts";                    RunPageLink = "Customer No." = field("No.");                    RunPageView = sorting("Customer No.", "Ship-to Code");                    ToolTip = 'Open the list of ongoing service contracts.';                }                action("Service &Items")                {                    ApplicationArea = Service;                    Caption = 'Service &Items';                    Image = ServiceItem;                    RunObject = Page "Service Items";                    RunPageLink = "Customer No." = field("No.");                    RunPageView = sorting("Customer No.", "Ship-to Code", "Item No.", "Serial No.");                    ToolTip = 'View or edit the service items that are registered for the customer.';                }            }        }        addafter(NewSalesReturnOrder)        {            action(NewServiceQuote)            {                ApplicationArea = Service;                Caption = 'Service Quote';                Image = Quote;                RunObject = Page "Service Quote";                RunPageLink = "Customer No." = field("No.");                RunPageMode = Create;                ToolTip = 'Create a new service quote for the customer.';            }            action(NewServiceInvoice)            {                ApplicationArea = Service;                Caption = 'Service Invoice';                Image = Invoice;                RunObject = Page "Service Invoice";                RunPageLink = "Customer No." = field("No.");                RunPageMode = Create;                ToolTip = 'Create a new service invoice for the customer.';            }            action(NewServiceOrder)            {                ApplicationArea = Service;                Caption = 'Service Order';                Image = Document;                RunObject = Page "Service Order";                RunPageLink = "Customer No." = field("No.");                RunPageMode = Create;                ToolTip = 'Create a new service order for the customer.';            }            action(NewServiceCrMemo)            {                ApplicationArea = Service;                Caption = 'Service Credit Memo';                Image = CreditMemo;                RunObject = Page "Service Credit Memo";                RunPageLink = "Customer No." = field("No.");                RunPageMode = Create;                ToolTip = 'Create a new service credit memo for the customer.';            }        }    }}