Page 5166 Purchase List Archive

Base Application, Microsoft.Purchases.Archive

src/Layers/W1/BaseApp/Purchases/Archive/PurchaseListArchive.Page.al212 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.Purchases.Archive;using Microsoft.Utilities;using System.Security.User;page 5166 "Purchase List Archive"{    Caption = 'Purchase List Archive';    Editable = false;    PageType = List;    SourceTable = "Purchase Header Archive";    layout    {        area(content)        {            repeater(Control1)            {                ShowCaption = false;                field("No."; Rec."No.")                {                    ApplicationArea = All;                }                field("Version No."; Rec."Version No.")                {                    ApplicationArea = Suite;                }                field("Date Archived"; Rec."Date Archived")                {                    ApplicationArea = Suite;                }                field("Time Archived"; Rec."Time Archived")                {                    ApplicationArea = Suite;                }                field("Archived By"; Rec."Archived By")                {                    ApplicationArea = Suite;                    trigger OnDrillDown()                    var                        UserMgt: Codeunit "User Management";                    begin                        UserMgt.DisplayUserInformation(Rec."Archived By");                    end;                }                field("Interaction Exist"; Rec."Interaction Exist")                {                    ApplicationArea = Suite;                }                field("Buy-from Vendor No."; Rec."Buy-from Vendor No.")                {                    ApplicationArea = Suite;                }                field("Order Address Code"; Rec."Order Address Code")                {                    ApplicationArea = Suite;                    Visible = false;                }                field("Buy-from Vendor Name"; Rec."Buy-from Vendor Name")                {                    ApplicationArea = Suite;                }                field("Vendor Authorization No."; Rec."Vendor Authorization No.")                {                    ApplicationArea = Suite;                }                field("Buy-from Post Code"; Rec."Buy-from Post Code")                {                    ApplicationArea = Suite;                    Visible = false;                }                field("Buy-from Country/Region Code"; Rec."Buy-from Country/Region Code")                {                    ApplicationArea = Suite;                    Visible = false;                }                field("Buy-from Contact"; Rec."Buy-from Contact")                {                    ApplicationArea = Suite;                    Visible = false;                }                field("Pay-to Vendor No."; Rec."Pay-to Vendor No.")                {                    ApplicationArea = Suite;                    Visible = false;                }                field("Pay-to Name"; Rec."Pay-to Name")                {                    ApplicationArea = Suite;                    Visible = false;                }                field("Pay-to Post Code"; Rec."Pay-to Post Code")                {                    ApplicationArea = Suite;                    Visible = false;                }                field("Pay-to Country/Region Code"; Rec."Pay-to Country/Region Code")                {                    ApplicationArea = Suite;                    Visible = false;                }                field("Pay-to Contact"; Rec."Pay-to Contact")                {                    ApplicationArea = Suite;                    Visible = false;                }                field("Ship-to Code"; Rec."Ship-to Code")                {                    ApplicationArea = Suite;                    Visible = false;                }                field("Ship-to Name"; Rec."Ship-to Name")                {                    ApplicationArea = Suite;                    Visible = false;                }                field("Ship-to Post Code"; Rec."Ship-to Post Code")                {                    ApplicationArea = Suite;                    Visible = false;                }                field("Ship-to Country/Region Code"; Rec."Ship-to Country/Region Code")                {                    ApplicationArea = Suite;                    Visible = false;                }                field("Ship-to Contact"; Rec."Ship-to Contact")                {                    ApplicationArea = Suite;                    Visible = false;                }                field("Posting Date"; Rec."Posting Date")                {                    ApplicationArea = Suite;                    Visible = false;                }                field("Shortcut Dimension 1 Code"; Rec."Shortcut Dimension 1 Code")                {                    ApplicationArea = Dimensions;                    Visible = false;                }                field("Shortcut Dimension 2 Code"; Rec."Shortcut Dimension 2 Code")                {                    ApplicationArea = Dimensions;                    Visible = false;                }                field("Location Code"; Rec."Location Code")                {                    ApplicationArea = Location;                }                field("Purchaser Code"; Rec."Purchaser Code")                {                    ApplicationArea = Suite;                    Visible = false;                }                field("Currency Code"; Rec."Currency Code")                {                    ApplicationArea = Suite;                    Visible = false;                }            }        }        area(factboxes)        {            systempart(Control1900383207; Links)            {                ApplicationArea = RecordLinks;                Visible = false;            }            systempart(Control1905767507; Notes)            {                ApplicationArea = Notes;                Visible = false;            }        }    }    actions    {        area(navigation)        {            group("&Line")            {                Caption = '&Line';                Image = Line;                action(ShowDocument)                {                    ApplicationArea = Suite;                    Caption = 'Show Document';                    Image = EditLines;                    ShortCutKey = 'Return';                    ToolTip = 'View or change detailed information about the record on the document or journal line.';                    trigger OnAction()                    var                        PageManagement: Codeunit "Page Management";                    begin                        PageManagement.PageRun(Rec);                    end;                }            }        }    }}