Page 301 Ship-to Address List
src/Layers/W1/BaseApp/Sales/Customer/ShiptoAddressList.Page.al134 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.Sales.Customer;/// <summary>/// Lists all ship-to addresses for a customer with online map integration./// </summary>page 301 "Ship-to Address List"{ Caption = 'Ship-to Address List'; CardPageID = "Ship-to Address"; DataCaptionFields = "Customer No."; Editable = false; PageType = List; SourceTable = "Ship-to Address"; layout { area(content) { repeater(Control1) { ShowCaption = false; field("Code"; Rec.Code) { ApplicationArea = Basic, Suite; } field(Name; Rec.Name) { ApplicationArea = Basic, Suite; } field("Name 2"; Rec."Name 2") { ApplicationArea = Basic, Suite; Visible = false; } field(Address; Rec.Address) { ApplicationArea = Basic, Suite; Visible = false; } field("Address 2"; Rec."Address 2") { ApplicationArea = Basic, Suite; Visible = false; } field("Post Code"; Rec."Post Code") { ApplicationArea = Basic, Suite; Visible = false; } field(City; Rec.City) { ApplicationArea = Basic, Suite; } field("Country/Region Code"; Rec."Country/Region Code") { ApplicationArea = Basic, Suite; Visible = false; } field("Phone No."; Rec."Phone No.") { ApplicationArea = Basic, Suite; Visible = false; } field("Fax No."; Rec."Fax No.") { ApplicationArea = Basic, Suite; Visible = false; } field(Contact; Rec.Contact) { ApplicationArea = Basic, Suite; Visible = false; } field("Salesperson Code"; Rec."Salesperson Code") { ApplicationArea = Suite; Visible = false; } field(GLN; Rec.GLN) { ApplicationArea = Basic, Suite; Visible = false; } field("Location Code"; Rec."Location Code") { ApplicationArea = Location; } } } area(factboxes) { systempart(Control1900383207; Links) { ApplicationArea = RecordLinks; Visible = false; } systempart(Control1905767507; Notes) { ApplicationArea = Notes; Visible = false; } } } actions { area(navigation) { group("&Address") { Caption = '&Address'; Image = Addresses; action("Online Map") { ApplicationArea = Basic, Suite; Caption = 'Online Map'; Image = Map; ToolTip = 'View the address on an online map.'; trigger OnAction() begin Rec.DisplayMap(); end; } } } }}