Page 5063 Mailing Groups

App
Base Application
Namespace
Microsoft.CRM.Setup
Versions
17-28
Source table
5055

Versions171819202122232425262728

Source29

Source in 29

src/Layers/W1/BaseApp/CRM/Setup/MailingGroups.Page.al76 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.CRM.Setup;

using Microsoft.CRM.Contact;

page 5063 "Mailing Groups"
{
    ApplicationArea = RelationshipMgmt;
    Caption = 'Mailing Groups';
    PageType = List;
    SourceTable = "Mailing Group";
    UsageCategory = Administration;

    layout
    {
        area(content)
        {
            repeater(Control1)
            {
                ShowCaption = false;
                field("Code"; Rec.Code)
                {
                    ApplicationArea = All;
                }
                field(Description; Rec.Description)
                {
                    ApplicationArea = All;
                }
                field("No. of Contacts"; Rec."No. of Contacts")
                {
                    ApplicationArea = RelationshipMgmt;
                    DrillDownPageID = "Mailing Group Contacts";
                }
            }
        }
        area(factboxes)
        {
            systempart(Control1900383207; Links)
            {
                ApplicationArea = RecordLinks;
                Visible = false;
            }
            systempart(Control1905767507; Notes)
            {
                ApplicationArea = Notes;
                Visible = false;
            }
        }
    }

    actions
    {
        area(navigation)
        {
            group("&Mailing Group")
            {
                Caption = '&Mailing Group';
                Image = Group;
                action("C&ontacts")
                {
                    ApplicationArea = RelationshipMgmt;
                    Caption = 'C&ontacts';
                    Image = CustomerContact;
                    RunObject = Page "Mailing Group Contacts";
                    RunPageLink = "Mailing Group Code" = field(Code);
                    ToolTip = 'View a list of the contact companies you have assigned the mailing group to.';
                }
            }
        }
    }
}