Page 6646 Purchase Return List Archive

Base Application, Microsoft.Purchases.Archive

src/Layers/W1/BaseApp/Purchases/Archive/PurchaseReturnListArchive.Page.al207 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.Finance.Dimension;page 6646 "Purchase Return List Archive"{    ApplicationArea = Basic, Suite;    Caption = 'Purchase Return Order Archives';    CardPageID = "Purchase Return Order Archive";    DataCaptionFields = "Document Type";    Editable = false;    PageType = List;    SourceTable = "Purchase Header Archive";    SourceTableView = where("Document Type" = const("Return Order"));    UsageCategory = History;    layout    {        area(content)        {            repeater(Control1)            {                ShowCaption = false;                field("No."; Rec."No.")                {                    ApplicationArea = All;                }                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;                    ToolTip = 'Specifies the identification number of a compensation agreement. This number is sometimes referred to as the RMA No.(Returns Materials Authorization).';                }                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;                    ToolTip = 'Specifies the location where the items are to be shipped. This field acts as the default location for new lines. Location code for individual lines can differ from it.';                    Visible = true;                }                field("Purchaser Code"; Rec."Purchaser Code")                {                    ApplicationArea = Suite;                    Visible = false;                }                field("Assigned User ID"; Rec."Assigned User ID")                {                    ApplicationArea = Suite;                }                field("Currency Code"; Rec."Currency Code")                {                    ApplicationArea = Suite;                    Visible = false;                }            }        }        area(factboxes)        {            systempart(Control9; Links)            {                ApplicationArea = RecordLinks;                Visible = false;            }            systempart(Control8; Notes)            {                ApplicationArea = Notes;                Visible = false;            }        }    }    actions    {        area(navigation)        {            group("<Action1102601000>")            {                Caption = 'Ver&sion';                Image = Versions;                action("<Action1102601003>")                {                    AccessByPermission = TableData Dimension = R;                    ApplicationArea = Dimensions;                    Caption = 'Dimensions';                    Image = Dimensions;                    ShortCutKey = 'Alt+D';                    ToolTip = 'View or edit dimensions, such as area, project, or department, that you can assign to sales and purchase documents to distribute costs and analyze transaction history.';                    trigger OnAction()                    begin                        Rec.ShowDimensions();                    end;                }                action("<Page Sales Archive Comment Sheet>")                {                    ApplicationArea = Comments;                    Caption = 'Co&mments';                    Image = ViewComments;                    RunObject = Page "Purch. Archive Comment Sheet";                    RunPageLink = "Document Type" = field("Document Type"),                                  "No." = field("No."),                                  "Document Line No." = const(0),                                  "Doc. No. Occurrence" = field("Doc. No. Occurrence"),                                  "Version No." = field("Version No.");                    ToolTip = 'View or add comments for the record.';                }            }        }    }}