Page 5798 Registered Pick

Base Application, Microsoft.Warehouse.Activity.History

src/Layers/W1/BaseApp/Warehouse/Activity/History/RegisteredPick.Page.al138 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.Warehouse.Activity.History;using Microsoft.Warehouse.Comment;page 5798 "Registered Pick"{    Caption = 'Registered Pick';    InsertAllowed = false;    PageType = Document;    RefreshOnActivate = true;    SourceTable = "Registered Whse. Activity Hdr.";    SourceTableView = where(Type = const(Pick));    layout    {        area(content)        {            group(General)            {                Caption = 'General';                field("No."; Rec."No.")                {                    ApplicationArea = Warehouse;                    Editable = false;                }                field("Whse. Activity No."; Rec."Whse. Activity No.")                {                    ApplicationArea = Warehouse;                    Editable = false;                }                field("Location Code"; Rec."Location Code")                {                    ApplicationArea = Warehouse;                    Editable = false;                }                field("Registering Date"; Rec."Registering Date")                {                    ApplicationArea = Warehouse;                    Editable = false;                }                field("Assigned User ID"; Rec."Assigned User ID")                {                    ApplicationArea = Warehouse;                    Editable = false;                }                field("Assignment Date"; Rec."Assignment Date")                {                    ApplicationArea = Warehouse;                    Editable = false;                }                field("Assignment Time"; Rec."Assignment Time")                {                    ApplicationArea = Warehouse;                    Editable = false;                }                field("Sorting Method"; Rec."Sorting Method")                {                    ApplicationArea = Warehouse;                    Editable = false;                }                field("No. Printed"; Rec."No. Printed")                {                    ApplicationArea = Warehouse;                    Editable = false;                }            }            part(WhseActivityLines; "Registered Pick Subform")            {                ApplicationArea = Warehouse;                SubPageLink = "Activity Type" = field(Type),                              "No." = field("No.");                SubPageView = sorting("Activity Type", "No.", "Sorting Sequence No.");            }        }        area(factboxes)        {            systempart(Control1900383207; Links)            {                ApplicationArea = RecordLinks;                Visible = false;            }            systempart(Control1905767507; Notes)            {                ApplicationArea = Notes;                Visible = true;            }        }    }    actions    {        area(navigation)        {            group("P&ick")            {                Caption = 'P&ick';                Image = CreateInventoryPickup;                action(List)                {                    ApplicationArea = Warehouse;                    Caption = 'List';                    Image = OpportunitiesList;                    ToolTip = 'View all warehouse documents of this type that exist.';                    trigger OnAction()                    begin                        Rec.LookupRegisteredActivityHeader(Rec."Location Code", Rec);                    end;                }                action("Co&mments")                {                    ApplicationArea = Warehouse;                    Caption = 'Co&mments';                    Image = ViewComments;                    RunObject = Page "Warehouse Comment Sheet";                    RunPageLink = "Table Name" = const("Rgstrd. Whse. Activity Header"),                                  Type = field(Type),                                  "No." = field("No.");                    ToolTip = 'View or add comments for the record.';                }            }        }        area(Promoted)        {        }    }    trigger OnOpenPage()    begin        Rec.SetWhseLocationFilter();    end;}