0% found this document useful (0 votes)
666 views3 pages

WMS FLOW Important

This document contains sample SQL queries and comments related to order fulfillment and warehouse management tasks in an Oracle application. It includes queries to retrieve order, item, and task data from various tables for different stages of the fulfillment process like pending pick, loaded, dropped off, and shipped. Comments explain the typical status updates and new records created at each stage.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
666 views3 pages

WMS FLOW Important

This document contains sample SQL queries and comments related to order fulfillment and warehouse management tasks in an Oracle application. It includes queries to retrieve order, item, and task data from various tables for different stages of the fulfillment process like pending pick, loaded, dropped off, and shipped. Comments explain the typical status updates and new records created at each stage.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

SELECT * FROM oe_order_headers_all WHERE order_number = '43056367';

SELECT * FROM oe_order_lines_all WHERE header_id = 82056370;


SELECT * FROM fnd_lookup_values WHERE lookup_type = 'WMS_TASK_STATUS' AND langua
ge = 'US';
SELECT * FROM bom_standard_operations;
SELECT * FROM mtl_material_transactions_temp WHERE transaction_temp_id = 1019181
782;
SELECT * FROM wms_dispatched_tasks_history WHERE move_order_line_id = 1064292125
;
SELECT * FROM wms_license_plate_numbers WHERE license_plate_number IN ('CDF29583
91', 'CDF2958392', 'CDF2958393');
--=============================
--WMS TASK TYPES
--=============================
/*
1, 'Pick',
2, 'Putaway',
3, 'Cycle Count',
4, 'Replenish',
5, 'Move Order Transfer',
6, 'Move Order Issue',
7, 'Staging Move',
8, 'Inspection'
*/
--=============================
--WMS TASK STATUSES
--=============================
/*
1
Pending
10
Suspended
11
Aborted
12
Cancelled
13
PickNone
2
Queued
3
Dispatched
4
Loaded
5
Error
6
Completed
7
Hold
8
Unreleased
*/
--=============================
--PICK RELEASE
--=============================
--ORDER Line Status - Awaiting Shipping
--Delivery Detail Line Status - Released To Warehouse
--Delivery Status - Open
--Task Status Pending and No Dispatched Task
SELECT trx_source_line_id
, move_order_line_id
, container_item_id
, cartonization_id
, transfer_lpn_id --NULL
, lpn_id --NULL
, wms_task_status -- 1 Pending
, wms_task_type
, operation_plan_id

, inventory_item_id
, organization_id
, subinventory_code
FROM mtl_material_transactions_temp WHERE transaction_temp_id = 1019181782;
SELECT
o Rows
SELECT
; --No

* FROM wms_dispatched_tasks WHERE transaction_temp_id = 1019181782; --N


Found
* FROM wms_dispatched_tasks_history WHERE move_order_line_id = 1064291125
Rows Found

SELECT * FROM mtl_material_transactions WHERE move_order_line_id = 1064291125; -No Rows Found


--=============================
--LOAD Operation
--=============================
--ORDER Line Status - Awaiting Shipping
--Delivery Detail Line Status - Released To Warehouse
--Delivery Status - Open
SELECT trx_source_line_id
, move_order_line_id
, container_item_id
, cartonization_id
, transfer_lpn_id --Gets Data on LOAD
, lpn_id --NULL
, wms_task_status -- 4 Loaded
, wms_task_type
, operation_plan_id
, inventory_item_id
, organization_id
, subinventory_code
FROM mtl_material_transactions_temp WHERE transaction_temp_id = 1019181782;
SELECT task_id, transaction_temp_id, loaded_time, drop_off_time, move_order_line
_id
FROM wms_dispatched_tasks WHERE transaction_temp_id = 1019181782; -- No LP
N Information, ONLY Loaded and Drop Off Time
SELECT * FROM wms_dispatched_tasks_history WHERE move_order_line_id = 1064291125
; --No Rows Found
SELECT * FROM mtl_material_transactions WHERE move_order_line_id = 1064291125; -No Rows Found
--=============================
--DROP Operation
--=============================
--ORDER Line Status - Picked
--Delivery Detail Line Status - Staged/Pick Confirmed
-- New Delivery Detail row with Source Code WMS and LPN detail gets created
--Delivery Status - Open
SELECT trx_source_line_id
, move_order_line_id
, container_item_id
, cartonization_id
, transfer_lpn_id
, lpn_id
, wms_task_status
, wms_task_type

, operation_plan_id
, inventory_item_id
, organization_id
, subinventory_code
FROM mtl_material_transactions_temp WHERE transaction_temp_id = 1019181782; - No Rows Found
SELECT task_id, transaction_temp_id, loaded_time, drop_off_time, move_order_line
_id
FROM wms_dispatched_tasks WHERE transaction_temp_id = 1019181782; -- No Ro
ws Found
SELECT loaded_time, drop_off_time, transfer_lpn_id, transaction_temp_id, move_or
der_line_id
FROM wms_dispatched_tasks_history WHERE move_order_line_id = 1064291125; -LPN Info with Loaded and Drop Off Time
SELECT * FROM mtl_material_transactions WHERE move_order_line_id = 1064291125;
-- Search "Material Transactions Form "
--> 2 Rows will gets created one for Original SubInventory and Other for
"SHIP" with transfer LPN populated
--> Transaction Type - "Sales Order Pick"

--=============================
--Ship Confirm Delivery
--=============================
--ORDER Line Status - Shipped
--Delivery Detail Line Status - Shipped
-- New Delivery Detail row with Source Code WMS and LPN detail gets created
--Delivery Status - Closed
SELECT trx_source_line_id
, move_order_line_id
, container_item_id
, cartonization_id
, transfer_lpn_id
, lpn_id
, wms_task_status
, wms_task_type
, operation_plan_id
, inventory_item_id
, organization_id
, subinventory_code
FROM mtl_material_transactions_temp WHERE transaction_temp_id = 1019181782; - No Rows Found
SELECT task_id, transaction_temp_id, loaded_time, drop_off_time, move_order_line
_id
FROM wms_dispatched_tasks WHERE transaction_temp_id = 1019181782; -- No Ro
ws Found
SELECT loaded_time, drop_off_time, transfer_lpn_id, transaction_temp_id, move_or
der_line_id
FROM wms_dispatched_tasks_history WHERE move_order_line_id = 1064291125; -LPN Info with Loaded and Drop Off Time
SELECT * FROM mtl_material_transactions WHERE move_order_line_id = 1064291125;
-- Search "Material Transactions Form " --> Third Row with Transaction Type "Sa
les order issue" will get inserted with Transit Details and Content LPN detail

You might also like