Page extension 6450 Serv. Customer Card
- App
- Base Application
- Namespace
- Microsoft.Service.Customer
- Versions
- 25-28
- Extends
- Customer Card
Versions171819202122232425262728
Source29
Source in 29
src/Layers/W1/BaseApp/Service/Sales/Customer/ServCustomerCard.PageExt.al155 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 6450 "Serv. Customer Card" extends "Customer Card"
{
layout
{
addafter("Responsibility Center")
{
field("Service Zone Code"; Rec."Service Zone Code")
{
ApplicationArea = Service;
Importance = Additional;
ToolTip = 'Specifies the code for the service zone that is assigned to the customer.';
}
}
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.';
}
}
addafter(Control1905532107)
{
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;
}
}
}
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)
{
AccessByPermission = TableData "Service Header" = RIM;
ApplicationArea = Service;
Caption = 'Service Quote';
Image = Quote;
//The property 'PromotedCategory' can only be set if the property 'Promoted' is set to 'true'
//PromotedCategory = Category4;
RunObject = Page "Service Quote";
RunPageLink = "Customer No." = field("No.");
RunPageMode = Create;
ToolTip = 'Create a new service quote for the customer.';
}
action(NewServiceInvoice)
{
AccessByPermission = TableData "Service Header" = RIM;
ApplicationArea = Service;
Caption = 'Service Invoice';
Image = Invoice;
//The property 'PromotedCategory' can only be set if the property 'Promoted' is set to 'true'
//PromotedCategory = Category4;
RunObject = Page "Service Invoice";
RunPageLink = "Customer No." = field("No.");
RunPageMode = Create;
ToolTip = 'Create a new service invoice for the customer.';
}
action(NewServiceOrder)
{
AccessByPermission = TableData "Service Header" = RIM;
ApplicationArea = Service;
Caption = 'Service Order';
Image = Document;
//The property 'PromotedCategory' can only be set if the property 'Promoted' is set to 'true'
//PromotedCategory = Category4;
RunObject = Page "Service Order";
RunPageLink = "Customer No." = field("No.");
RunPageMode = Create;
ToolTip = 'Create a new service order for the customer.';
}
action(NewServiceCreditMemo)
{
AccessByPermission = TableData "Service Header" = RIM;
ApplicationArea = Service;
Caption = 'Service Credit Memo';
Image = CreditMemo;
//The property 'PromotedCategory' can only be set if the property 'Promoted' is set to 'true'
//PromotedCategory = Category4;
RunObject = Page "Service Credit Memo";
RunPageLink = "Customer No." = field("No.");
RunPageMode = Create;
ToolTip = 'Create a new service credit memo for the customer.';
}
}
}
}