Codeunit 7322 Create Inventory Pick/Movement

Base Application, Microsoft.Warehouse.Activity

Source AL, 2,958 lines

src/Layers/W1/BaseApp/Warehouse/Activity/CreateInventoryPickMovement.Codeunit.allines 26 to 41 of 2,958, Copyright (c) Microsoft Corporation. MIT

codeunit 7322 "Create Inventory Pick/Movement"{    Permissions = TableData "Whse. Item Tracking Line" = rimd;    TableNo = "Warehouse Activity Header";    trigger OnRun()    begin        OnBeforeOnRun(Rec);        CurrWarehouseActivityHeader := Rec;        Code();        Rec := CurrWarehouseActivityHeader;    end;    var        CurrWarehouseRequest: Record "Warehouse Request";        CurrWarehouseActivityHeader: Record "Warehouse Activity Header";

All 2,958 lines

Events 103 in 29

[IntegrationEvent] OnAfterCreateInventoryPickMovement(var WarehouseRequest: Record "Warehouse Request"; LineCreated: Boolean; var WarehouseActivityHeader: Record "Warehouse Activity Header")17-29
[IntegrationEvent] OnAfterCreateInvtMvntWithoutSource(WhseActivHeader: Record "Warehouse Activity Header"; var InternalMovementHeader: Record "Internal Movement Header")17-29
[IntegrationEvent] OnAfterInsertWhseActivLine(var WarehouseActivityLine: Record "Warehouse Activity Line"; SNRequired: Boolean; LNRequired: Boolean; var RemQtyToPickBase: Decimal; var CompleteShipment: Boolean; var ReservationExists: Boolean; WhseItemTrackingSetup: Record "Item Tracking Setup")17-29
[IntegrationEvent] OnAfterCalcTotalAvailQtyToPickBase(ItemNo: Code[20]; VariantNo: Code[10]; SerialNo: Code[50]; LotNo: Code[50]; LocationCode: Code[10]; BinCode: Code[20]; SourceType: Integer; SourceSubtype: Integer; SourceNo: Code[20]; SourceLineNo: Integer; SourceSublineNo: Integer; RemQtyToPickBase: Decimal; var TotalAvailQtyToPickBase: Decimal)17-29
[IntegrationEvent] OnBeforeCheckSourceDoc(WarehouseRequest: Record "Warehouse Request"; var Result: Boolean; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeCreatePickOrMoveLineFromProductionLoop(var WarehouseActivityHeader: Record "Warehouse Activity Header"; ProductionOrder: Record "Production Order"; var IsHandled: Boolean; ProdOrderComponent: Record "Prod. Order Component")17-29
Pending, tag 27.0, obsolete since 27: Moved to codeunit MfgCreateInvtPickMovement
[IntegrationEvent] OnBeforeCreatePickOrMoveLineFromPurchaseLoop(var WarehouseActivityHeader: Record "Warehouse Activity Header"; PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean; PurchaseLine: Record "Purchase Line")17-29

All 133 events in 17-29

Public procedures 32 in 29

RunCreatePickOrMoveLine(NewWarehouseActivityLine: Record "Warehouse Activity Line"; var RemQtyToPickBase: Decimal; OutstandingQtyBase: Decimal; ReservationExists: Boolean)17-29changed in 23
SetWhseRequest(NewWarehouseRequest: Record "Warehouse Request"; NewSetHideDialog: Boolean)17-29changed in 23, 27
CheckSourceDoc(NewWarehouseRequest: Record "Warehouse Request"): Boolean17-29changed in 23
AutoCreatePickOrMove(var NewWarehouseActivityHeader: Record "Warehouse Activity Header")17-29changed in 23
SetReportGlobals(PrintDocument2: Boolean; ShowError2: Boolean)17-29
SetInvtMovement(InvtMovement: Boolean)17-29

All 39 procedures in 17-29

Changes 3 in 29

List17181920212223242526272829
Procedures3171310
Events226167211251463
[IntegrationEvent] OnBeforeGetSpecEquipmentCode(WarehouseActivityLine: Record "Warehouse Activity Line"; TakeBinCode: Code[20]; var AllowBlankBin: Boolean)new in 29
added
[IntegrationEvent] OnAfterCalcPickOrMoveLineQuantity(WarehouseActivityLine: Record "Warehouse Activity Line"; QtyToPickBase: Decimal; var QtyToPick: Decimal)new in 29
added
[IntegrationEvent] OnBeforeCreatePickOrMoveLineWithZeroBaseQty(WarehouseActivityLine: Record "Warehouse Activity Line"; var CreateLineWithZeroBaseQty: Boolean)new in 29
added

All 146 changes in 17-29