Page 6775 Invt. Document List

Base Application, Microsoft.Inventory.Document

src/Layers/W1/BaseApp/Inventory/Document/InvtDocumentList.Page.al104 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.Inventory.Document;page 6775 "Invt. Document List"{    Caption = 'Invt. Document List';    CardPageID = "Invt. Receipt";    DataCaptionFields = "Document Type";    Editable = false;    PageType = List;    SourceTable = "Invt. Document Header";    layout    {        area(content)        {            repeater(Control1)            {                ShowCaption = false;                field("No."; Rec."No.")                {                    ApplicationArea = Basic, Suite;                }                field("Posting Description"; Rec."Posting Description")                {                    ApplicationArea = Basic, Suite;                }                field("External Document No."; Rec."External Document No.")                {                    ApplicationArea = Basic, Suite;                }                field("Posting Date"; Rec."Posting Date")                {                    Visible = false;                }                field("Document Date"; Rec."Document Date")                {                    ApplicationArea = Basic, Suite;                }                field("Shortcut Dimension 1 Code"; Rec."Shortcut Dimension 1 Code")                {                    Visible = false;                }                field("Shortcut Dimension 2 Code"; Rec."Shortcut Dimension 2 Code")                {                    Visible = false;                }                field("Location Code"; Rec."Location Code")                {                    ApplicationArea = Basic, Suite;                    Visible = true;                }            }        }        area(factboxes)        {            systempart(Control1905767507; Notes)            {                ApplicationArea = Notes;                Visible = false;            }            systempart(Control1900383207; Links)            {                ApplicationArea = RecordLinks;                Visible = false;            }        }    }    actions    {        area(navigation)        {            group("&Document")            {                Caption = '&Document';                Image = Document;                action(Card)                {                    ApplicationArea = Basic, Suite;                    Caption = 'Card';                    Image = EditLines;                    ShortCutKey = 'Shift+F7';                    ToolTip = 'View or edit details about the selected entity.';                    trigger OnAction()                    begin                        case Rec."Document Type" of                            Rec."Document Type"::Receipt:                                PAGE.RunModal(PAGE::"Invt. Receipt", Rec);                            Rec."Document Type"::Shipment:                                PAGE.RunModal(PAGE::"Invt. Shipment", Rec);                        end;                    end;                }            }        }    }}