Page extension 8003 Contract Contact Card
src/Apps/W1/Subscription Billing/App/Customer Contracts/Page Extensions/ContractContactCard.PageExt.al41 lines, Copyright (c) Microsoft Corporation. MIT
namespace Microsoft.SubscriptionBilling;using Microsoft.CRM.Contact;pageextension 8003 "Contract Contact Card" extends "Contact Card"{ layout { addafter(Control31) { part(ContractsContactRBFactbox; "Contact Billing Factbox") { ApplicationArea = Basic, Suite; SubPageLink = "No." = field("No."); } } } actions { addlast(reporting) { action(OverviewOfContractComponents) { Caption = 'Overview of Subscription Contract components'; ToolTip = 'Show a detailed list of Subscription Lines for the selected contact.'; Image = QualificationOverview; ApplicationArea = All; trigger OnAction() var CustomerContract: Record "Customer Subscription Contract"; OverviewOfContractComp: Report "Overview Of Contract Comp"; begin CustomerContract.SetRange("Sell-to Contact No.", Rec."No."); OverviewOfContractComp.SetTableView(CustomerContract); OverviewOfContractComp.Run(); end; } } }}