Page 5876 Physical Inventory Orders
src/Layers/W1/BaseApp/Inventory/Counting/Document/PhysicalInventoryOrders.Page.al111 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.Counting.Document;using Microsoft.Foundation.Reporting;page 5876 "Physical Inventory Orders"{ ApplicationArea = Warehouse; Caption = 'Physical Inventory Orders'; CardPageID = "Physical Inventory Order"; Editable = false; PageType = List; SourceTable = "Phys. Invt. Order Header"; UsageCategory = Lists; layout { area(content) { repeater(Control2) { ShowCaption = false; field("No."; Rec."No.") { ApplicationArea = Warehouse; } field(Description; Rec.Description) { ApplicationArea = Warehouse; } field(Status; Rec.Status) { ApplicationArea = Warehouse; } field("Order Date"; Rec."Order Date") { ApplicationArea = Warehouse; } field("Posting Date"; Rec."Posting Date") { ApplicationArea = Warehouse; } field("Person Responsible"; Rec."Person Responsible") { ApplicationArea = Warehouse; } field("No. Finished Recordings"; Rec."No. Finished Recordings") { ApplicationArea = Warehouse; } 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; } } } } actions { area(reporting) { action("Phys. Inventory Order Diff.") { ApplicationArea = Warehouse; Caption = 'Phys. Inventory Order Diff.'; Image = "Report"; //The property 'PromotedCategory' can only be set if the property 'Promoted' is set to 'true' //PromotedCategory = "Report"; ToolTip = 'View or print the list of differences after counting.'; trigger OnAction() var DocumentPrint: Codeunit "Document-Print"; begin DocumentPrint.PrintInvtOrder(Rec, true); end; } action("Phys. Invt. Order - Test") { ApplicationArea = Warehouse; Caption = 'Phys. Invt. Order - Test'; Image = "Report"; //The property 'PromotedCategory' can only be set if the property 'Promoted' is set to 'true' //PromotedCategory = "Report"; ToolTip = 'View the result of posting the counted inventory quantities before you actually post.'; trigger OnAction() var DocumentPrint: Codeunit "Document-Print"; begin DocumentPrint.PrintInvtOrderTest(Rec, true); end; } } area(Promoted) { } }}