Page 9344 Registered Whse. Picks
src/Layers/W1/BaseApp/Warehouse/Activity/History/RegisteredWhsePicks.Page.al147 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.Activity;using Microsoft.Warehouse.Comment;using Microsoft.Warehouse.Journal;page 9344 "Registered Whse. Picks"{ ApplicationArea = Warehouse; Caption = 'Registered Warehouse Pick List'; CardPageID = "Registered Pick"; Editable = false; PageType = List; SourceTable = "Registered Whse. Activity Hdr."; SourceTableView = where(Type = const(Pick)); UsageCategory = History; layout { area(content) { repeater(Control1) { ShowCaption = false; field(Type; Rec.Type) { ApplicationArea = Warehouse; Visible = false; } field("No."; Rec."No.") { ApplicationArea = Warehouse; } field("Whse. Activity No."; Rec."Whse. Activity No.") { ApplicationArea = Warehouse; } field("Location Code"; Rec."Location Code") { ApplicationArea = Warehouse; } field("Assigned User ID"; Rec."Assigned User ID") { ApplicationArea = Warehouse; } field("Sorting Method"; Rec."Sorting Method") { ApplicationArea = Warehouse; } field("No. Series"; Rec."No. Series") { ApplicationArea = Warehouse; } field("Assignment Date"; Rec."Assignment Date") { ApplicationArea = Warehouse; Visible = false; } } } 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("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(processing) { action("Delete Registered Movements") { ApplicationArea = All; Caption = 'Delete Registered Picks'; Image = Delete; ToolTip = 'Delete registered warehouse picks.'; trigger OnAction() var DeleteRegisteredWhseDocs: Report "Delete Registered Whse. Docs."; XmlParameters: Text; begin XmlParameters := DeleteRegisteredWhseDocs.RunRequestPage(ReportParametersTxt); if XmlParameters <> '' then REPORT.Execute(REPORT::"Delete Registered Whse. Docs.", XmlParameters); end; } } area(Promoted) { group(Category_Process) { Caption = 'Process'; actionref("Delete Registered Movements_Promoted"; "Delete Registered Movements") { } } } } trigger OnOpenPage() var WMSManagement: Codeunit "WMS Management"; begin Rec.FilterGroup(2); Rec.SetFilter("Location Code", WMSManagement.GetWarehouseEmployeeLocationFilter(CopyStr(UserId, 1, 50))); Rec.FilterGroup(0); end; var ReportParametersTxt: Label '<?xml version="1.0" standalone="yes"?><ReportParameters name="Delete Registered Whse. Docs." id="5755"><DataItems><DataItem name="Registered Whse. Activity Hdr.">VERSION(1) SORTING(Field1,Field2) where(Field1=1(2))</DataItem></DataItems></ReportParameters>', Locked = true;}