Page 6569 Posted Invt. Receipts
src/Layers/W1/BaseApp/Inventory/History/PostedInvtReceipts.Page.al142 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.History;using Microsoft.Inventory.Comment;page 6569 "Posted Invt. Receipts"{ ApplicationArea = Basic, Suite; Caption = 'Posted Invt. Receipts'; CardPageID = "Posted Invt. Receipt"; Editable = false; PageType = List; SourceTable = "Invt. Receipt Header"; UsageCategory = History; layout { area(content) { repeater(Control1) { ShowCaption = false; field("No."; Rec."No.") { ApplicationArea = Basic, Suite; } field("Posting Description"; Rec."Posting Description") { ApplicationArea = Basic, Suite; } field("Location Code"; Rec."Location Code") { ApplicationArea = Location; } field("Posting Date"; Rec."Posting Date") { ApplicationArea = Basic, Suite; } field("Document Date"; Rec."Document Date") { ApplicationArea = Basic, Suite; } 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; } } } area(factboxes) { systempart(Control1905767507; Notes) { ApplicationArea = Notes; } systempart(Control1900383207; Links) { ApplicationArea = RecordLinks; Visible = false; } } } actions { area(navigation) { group("&Receipt") { Caption = '&Receipt'; Image = Receipt; action("Co&mments") { ApplicationArea = Comments; Caption = 'Co&mments'; Image = ViewComments; RunObject = Page "Inventory Comment Sheet"; RunPageLink = "Document Type" = const("Posted Inventory Receipt"), "No." = field("No."); ToolTip = 'View or add comments for the record.'; } } } area(processing) { action("&Print") { ApplicationArea = Basic, Suite; Caption = '&Print'; Ellipsis = true; Image = Print; ToolTip = 'Prepare to print the document. A report request window for the document opens where you can specify what to include on the print-out.'; trigger OnAction() begin InvtRcptHeader := Rec; CurrPage.SetSelectionFilter(InvtRcptHeader); InvtRcptHeader.PrintRecords(true); end; } action("&Navigate") { ApplicationArea = Basic, Suite; Caption = 'Find entries...'; Image = Navigate; ToolTip = 'Find all entries and documents that exist for the document number and posting date on the selected entry or document.'; trigger OnAction() begin Rec.Navigate(); end; } } area(Promoted) { group(Category_Process) { Caption = 'Process'; actionref("&Print_Promoted"; "&Print") { } actionref("&Navigate_Promoted"; "&Navigate") { } } } } var InvtRcptHeader: Record "Invt. Receipt Header";}