Page 5887 Posted Phys. Invt. Recording
src/Layers/W1/BaseApp/Inventory/Counting/History/PostedPhysInvtRecording.Page.al164 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.History;using Microsoft.Foundation.Reporting;using Microsoft.Inventory.Counting.Comment;using Microsoft.Inventory.Counting.Reports;page 5887 "Posted Phys. Invt. Recording"{ Caption = 'Posted Phys. Invt. Recording'; InsertAllowed = false; PageType = Document; SourceTable = "Pstd. Phys. Invt. Record Hdr"; layout { area(content) { group(General) { Caption = 'General'; field("Order No."; Rec."Order No.") { ApplicationArea = Warehouse; Editable = false; } field("Recording No."; Rec."Recording No.") { ApplicationArea = Warehouse; Editable = false; } field(Description; Rec.Description) { ApplicationArea = Warehouse; Editable = false; ToolTip = 'Specifies a description of the physical inventory recording.'; } field("Location Code"; Rec."Location Code") { ApplicationArea = Warehouse; Editable = false; Importance = Promoted; } field("Person Responsible"; Rec."Person Responsible") { ApplicationArea = Warehouse; Editable = false; ToolTip = 'Specifies the person who was responsible for the recording.'; } field(Status; Rec.Status) { ApplicationArea = Warehouse; Editable = false; Importance = Promoted; } field("Person Recorded"; Rec."Person Recorded") { ApplicationArea = Warehouse; Editable = false; } field("Date Recorded"; Rec."Date Recorded") { ApplicationArea = Warehouse; Editable = false; ToolTip = 'Specifies the day when the recording was performed.'; } field("Time Recorded"; Rec."Time Recorded") { ApplicationArea = Warehouse; Editable = false; } field("Allow Recording Without Order"; Rec."Allow Recording Without Order") { ApplicationArea = Warehouse; Editable = false; } } part(Control24; "Posted Phys. Invt. Rec. Subf.") { ApplicationArea = Warehouse; SubPageLink = "Order No." = field("Order No."), "Recording No." = field("Recording No."); SubPageView = sorting("Order No.", "Recording No.", "Line No."); } } area(factboxes) { systempart(Control1905767507; Notes) { ApplicationArea = Notes; Visible = true; } } } actions { area(navigation) { group("&Recording") { Caption = '&Recording'; Image = Document; action("Co&mments") { ApplicationArea = Warehouse; Caption = 'Co&mments'; Image = ViewComments; RunObject = Page "Phys. Inventory Comment Sheet"; RunPageLink = "Document Type" = const("Posted Recording"), "Order No." = field("Order No."), "Recording No." = field("Recording No."); ToolTip = 'Show comments.'; } } } area(processing) { action(Print) { ApplicationArea = Warehouse; Caption = '&Print'; Ellipsis = true; Image = Print; ToolTip = 'Print the posted physical inventory recording.'; trigger OnAction() var DocPrint: Codeunit "Document-Print"; begin DocPrint.PrintPostedInvtRecording(Rec, true); end; } } area(reporting) { action("Posted Phys. Invt. Recording") { ApplicationArea = Warehouse; Caption = 'Posted Phys. Invt. Recording'; Image = "Report"; //The property 'PromotedCategory' can only be set if the property 'Promoted' is set to 'true' //PromotedCategory = "Report"; RunObject = Report "Posted Phys. Invt. Recording"; } } area(Promoted) { group(Category_Process) { Caption = 'Process'; actionref(Print_Promoted; Print) { } } } }}