Page 5058 Alt. Addr. Date Ranges, source in 29

Source29

src/Layers/W1/BaseApp/CRM/Contact/AltAddrDateRanges.Page.al58 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.Contact;

page 5058 "Alt. Addr. Date Ranges"
{
    Caption = 'Alt. Addr. Date Ranges';
    DataCaptionExpression = GetDataCaption();
    DelayedInsert = true;
    PageType = List;
    PopulateAllFields = true;
    SourceTable = "Contact Alt. Addr. Date Range";

    layout
    {
        area(content)
        {
            repeater(Control1)
            {
                ShowCaption = false;
                field("Starting Date"; Rec."Starting Date")
                {
                    ApplicationArea = Basic, Suite;
                }
                field("Ending Date"; Rec."Ending Date")
                {
                    ApplicationArea = Basic, Suite;
                }
            }
        }
        area(factboxes)
        {
            systempart(Control1900383207; Links)
            {
                ApplicationArea = RecordLinks;
                Visible = false;
            }
            systempart(Control1905767507; Notes)
            {
                ApplicationArea = Notes;
                Visible = false;
            }
        }
    }

    actions
    {
    }

    local procedure GetDataCaption(): Text
    begin
        exit(Rec."Contact No." + ' ' + Rec."Contact Alt. Address Code");
    end;
}