Below X++ code to get Transit Warehouse stock on hand . You can try on Job and run. Thanks. InventSum inventSum; InventDim inventDim; InventDimParm inventDimParm; InventLocation inventLocation; Qty qtyPhysical, qtyOrdered, qtyAvailable; WarehouseId transitWarehouseId = 'TRN0001'; // Replace with your transit warehouse ID // Find the warehouse record inventLocation = InventLocation::find(transitWarehouseId); if (!inventLocation) { info(strFmt("Warehouse %1 not found.", transitWarehouseId)); return; } // Build dimension parameters inventDimParm.initFromInventDim(InventDim::find(inventLocation.InventLocationId)); // Query InventSum for stock in the transit warehouse while select inventSum join inventDim...
Application Version Build Number Release Date 10.0.38 10.0.1725 Oct 2023 10.0.39 10.0.1787 Jan 2024 10.0.40 10.0.1841 Apr 2024 10.0.41 10.0.1900 Jul 2024 10.0.42 10.0.1955 Oct 2024 10.0.43 10.0.2010 Jan 2025 10.0.44 10.0.2065 Apr 2025 10.0.45 10.0.2120 Jul 2025 10.0.46 10.0.2175 Oct 2025 10.0.47 10.0.2230 Jan 2026