Page 726 Custom Address Format Lines

Base Application, Microsoft.Foundation.Address

src/Layers/W1/BaseApp/Foundation/Address/CustomAddressFormatLines.Page.al88 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.Foundation.Address;page 726 "Custom Address Format Lines"{    Caption = 'Custom Address Format Lines';    PageType = List;    SourceTable = "Custom Address Format Line";    SourceTableView = sorting("Country/Region Code", "Line No.", "Field Position");    layout    {        area(content)        {            repeater(Group)            {                field("Field ID"; Rec."Field ID")                {                    ApplicationArea = Basic, Suite;                    trigger OnLookup(var Text: Text): Boolean                    begin                        Rec.LookupField();                    end;                }                field("Field Name"; Rec."Field Name")                {                    ApplicationArea = Basic, Suite;                    Editable = false;                }                field(Separator; Rec.Separator)                {                    ApplicationArea = Basic, Suite;                }            }        }    }    actions    {        area(processing)        {            action("Move Up")            {                ApplicationArea = Basic, Suite;                Caption = 'Move Up';                Image = MoveUp;                ToolTip = 'Move current line up.';                trigger OnAction()                begin                    Rec.MoveLine(-1);                end;            }            action("Move Down")            {                ApplicationArea = Basic, Suite;                Caption = 'Move Down';                Image = MoveDown;                ToolTip = 'Move current line down.';                trigger OnAction()                begin                    Rec.MoveLine(1);                end;            }        }        area(Promoted)        {            group(Category_Process)            {                Caption = 'Process';                actionref("Move Up_Promoted"; "Move Up")                {                }                actionref("Move Down_Promoted"; "Move Down")                {                }            }        }    }}