Page 7385 Reg. Invt. Movement Subform
src/Layers/W1/BaseApp/Warehouse/InventoryDocument/RegInvtMovementSubform.Page.al179 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.InventoryDocument;using Microsoft.Warehouse.Structure;page 7385 "Reg. Invt. Movement Subform"{ AutoSplitKey = true; Caption = 'Lines'; DelayedInsert = true; Editable = false; InsertAllowed = false; LinksAllowed = false; MultipleNewLines = true; PageType = ListPart; SourceTable = "Registered Invt. Movement Line"; layout { area(content) { repeater(Control1) { ShowCaption = false; field("Action Type"; Rec."Action Type") { ApplicationArea = Warehouse; } field("Source Document"; Rec."Source Document") { ApplicationArea = Warehouse; Visible = false; } field("Source No."; Rec."Source No.") { ApplicationArea = Warehouse; Visible = false; } field("Item No."; Rec."Item No.") { ApplicationArea = Warehouse; } field("Variant Code"; Rec."Variant Code") { ApplicationArea = Planning; Visible = false; } field(Description; Rec.Description) { ApplicationArea = Warehouse; } field("Description 2"; Rec."Description 2") { ApplicationArea = All; ToolTip = 'Specifies information in addition to the description.'; Visible = false; } field("Serial No."; Rec."Serial No.") { ApplicationArea = ItemTracking; Visible = false; } field("Lot No."; Rec."Lot No.") { ApplicationArea = ItemTracking; Visible = false; } field("Package No."; Rec."Package No.") { ApplicationArea = ItemTracking; Visible = false; } field("Expiration Date"; Rec."Expiration Date") { ApplicationArea = ItemTracking; Visible = false; } field("Location Code"; Rec."Location Code") { ApplicationArea = Location; Visible = false; } field("Bin Code"; Rec."Bin Code") { ApplicationArea = Warehouse; trigger OnValidate() begin BinCodeOnAfterValidate(); end; } field("Shelf No."; Rec."Shelf No.") { ApplicationArea = Warehouse; Visible = false; } field(Quantity; Rec.Quantity) { ApplicationArea = Warehouse; } field("Qty. (Base)"; Rec."Qty. (Base)") { ApplicationArea = Warehouse; ToolTip = 'Specifies the same as the field with the same name in the Registered Whse. Activity Line table.'; Visible = false; } field("Due Date"; Rec."Due Date") { ApplicationArea = Warehouse; } field("Unit of Measure Code"; Rec."Unit of Measure Code") { ApplicationArea = Warehouse; } field("Qty. per Unit of Measure"; Rec."Qty. per Unit of Measure") { ApplicationArea = Warehouse; Visible = false; } field("Destination Type"; Rec."Destination Type") { ApplicationArea = Warehouse; Visible = false; } field("Destination No."; Rec."Destination No.") { ApplicationArea = Warehouse; Visible = false; } field("Special Equipment Code"; Rec."Special Equipment Code") { ApplicationArea = Warehouse; Visible = false; } } } } actions { area(processing) { group("&Line") { Caption = '&Line'; Image = Line; action("Bin Contents List") { ApplicationArea = Warehouse; Caption = 'Bin Contents List'; Image = BinContent; ToolTip = 'View the contents of the selected bin and the parameters that define how items are routed through the bin.'; trigger OnAction() begin ShowBinContents(); end; } } } } local procedure ShowBinContents() var BinContent: Record "Bin Content"; begin BinContent.ShowBinContents(Rec."Location Code", Rec."Item No.", Rec."Variant Code", Rec."Bin Code"); end; local procedure BinCodeOnAfterValidate() begin CurrPage.Update(); end;}