Page 7341 Whse. Shipment Lines
src/Layers/W1/BaseApp/Warehouse/Document/WhseShipmentLines.Page.al238 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.Document;using Microsoft.Warehouse.Journal;page 7341 "Whse. Shipment Lines"{ Caption = 'Whse. Shipment Lines'; Editable = false; PageType = List; SourceTable = "Warehouse Shipment Line"; layout { area(content) { repeater(Control1) { ShowCaption = false; field("Source Document"; Rec."Source Document") { ApplicationArea = Warehouse; Visible = false; } field("Source No."; Rec."Source No.") { ApplicationArea = Warehouse; } field("Source Line No."; Rec."Source Line No.") { ApplicationArea = Warehouse; } field("Destination Type"; Rec."Destination Type") { ApplicationArea = Warehouse; Visible = false; } field("Destination No."; Rec."Destination No.") { ApplicationArea = Warehouse; Visible = false; } field("Location Code"; Rec."Location Code") { ApplicationArea = Location; Visible = false; } field("Zone Code"; Rec."Zone Code") { ApplicationArea = Warehouse; Visible = false; } field("Bin Code"; Rec."Bin Code") { ApplicationArea = Warehouse; Visible = false; } field("Shelf No."; Rec."Shelf No.") { ApplicationArea = Warehouse; Visible = false; } field("Item No."; Rec."Item No.") { ApplicationArea = Warehouse; } field("Variant Code"; Rec."Variant Code") { ApplicationArea = Planning; } field(Description; Rec.Description) { ApplicationArea = Warehouse; } field("Description 2"; Rec."Description 2") { ApplicationArea = Warehouse; ToolTip = 'Specifies a second description of the item in the line, if any.'; Visible = false; } field(Quantity; Rec.Quantity) { ApplicationArea = Warehouse; } field("Qty. (Base)"; Rec."Qty. (Base)") { ApplicationArea = Warehouse; ToolTip = 'Specifies the quantity that should be shipped, in the base unit of measure.'; Visible = false; } field("Qty. Outstanding"; Rec."Qty. Outstanding") { ApplicationArea = Warehouse; } field("Qty. Outstanding (Base)"; Rec."Qty. Outstanding (Base)") { ApplicationArea = Warehouse; ToolTip = 'Specifies the quantity that still needs to be handled, expressed in the base unit of measure.'; Visible = false; } field("Pick Qty."; Rec."Pick Qty.") { ApplicationArea = Warehouse; Visible = false; } field("Pick Qty. (Base)"; Rec."Pick Qty. (Base)") { ApplicationArea = Warehouse; ToolTip = 'Specifies the quantity, in the base unit of measure, in pick instructions, that is assigned to be picked for the warehouse shipment line.'; Visible = false; } field("Qty. Picked"; Rec."Qty. Picked") { ApplicationArea = Warehouse; } field("Qty. Picked (Base)"; Rec."Qty. Picked (Base)") { ApplicationArea = Warehouse; ToolTip = 'Specifies how many of the total shipment quantity in the base unit of measure have been registered as picked.'; Visible = false; } field("Qty. Shipped"; Rec."Qty. Shipped") { ApplicationArea = Warehouse; Visible = false; } field("Qty. Shipped (Base)"; Rec."Qty. Shipped (Base)") { ApplicationArea = Warehouse; ToolTip = 'Specifies the quantity that is posted as shipped expressed in the base unit of measure.'; Visible = false; } 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; } field(Status; Rec.Status) { ApplicationArea = Warehouse; } field("Due Date"; Rec."Due Date") { ApplicationArea = Warehouse; } field("Shipment Date"; Rec."Shipment Date") { ApplicationArea = Warehouse; } field("No."; Rec."No.") { ApplicationArea = Warehouse; } field("Line No."; Rec."Line No.") { ApplicationArea = Warehouse; } } } area(factboxes) { systempart(Control1900383207; Links) { ApplicationArea = RecordLinks; Visible = false; } systempart(Control1905767507; Notes) { ApplicationArea = Notes; Visible = false; } } } actions { area(navigation) { group("&Line") { Caption = '&Line'; Image = Line; action(ShowDocument) { ApplicationArea = Warehouse; Caption = 'Show Document'; Image = ViewOrder; ShortCutKey = 'Return'; ToolTip = 'View the related warehouse document.'; trigger OnAction() var WhseShptHeader: Record "Warehouse Shipment Header"; WMSManagement: Codeunit "WMS Management"; begin WhseShptHeader.Get(Rec."No."); WMSManagement.CheckUserIsWhseEmployeeForLocation(WhseShptHeader."Location Code", false); PAGE.Run(PAGE::"Warehouse Shipment", WhseShptHeader); end; } action(ShowSourceDocumentLine) { ApplicationArea = Warehouse; Caption = '&Show Source Document Line'; Image = ViewDocumentLine; ToolTip = 'View the source document line that the shipment is related to. '; trigger OnAction() var WMSMgt: Codeunit "WMS Management"; begin WMSMgt.ShowSourceDocLine( Rec."Source Type", Rec."Source Subtype", Rec."Source No.", Rec."Source Line No.", 0) end; } } } area(Promoted) { group(Category_Process) { Caption = 'Process', Comment = 'Generated from the PromotedActionCategories property index 1.'; actionref("Show &Whse. Document_Promoted"; ShowDocument) { } } } }}