0% found this document useful (0 votes)
29 views2 pages

Wave Monitoring

The document discusses various warehouse and delivery related processes including stock wave allocation, pick selection list generation, and delivery merging. It also includes a SQL query for a business report on pending order dumps.
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)
29 views2 pages

Wave Monitoring

The document discusses various warehouse and delivery related processes including stock wave allocation, pick selection list generation, and delivery merging. It also includes a SQL query for a business report on pending order dumps.
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/ 2

Wave Monitoring ---

Stock SO Creation -- Sales order creation ( 3 times)

Urgent Wave Creation Allocation 9.30 PM ( PP, 2W, 4W) --Creation/Book ---

Wave Unhold -- Y ( Credit Check) ---

Stock Wave Allocation ( PP, 2W , 4W) -- 11 PM -- Book - Incompatiable Program


--- Release to Release

12.30 AM --> Pick Selection List Generation - SRS --> ( Released to Warehouse)

SELECT COUNT(*) FRESH_RELESED_LINE , MP.ORGANIZATION_CODE


FROM apps.wsh_delivery_details wdd,
apps.oe_order_headers_all oha,
apps.oe_order_lines_all ola,
apps.hz_cust_accounts hca,
MTL_PARAMETERS MP
WHERE hca.cust_account_id = wdd.customer_id
AND wdd.source_code = 'OE'
--AND released_status IN ('R','B','S')
AND released_status IN ('S')
AND oha.header_id = wdd.source_header_id
AND MP.ORGANIZATION_ID = WDD.ORG_ID
AND oha.header_id = ola.header_id
AND ola.line_id = wdd.source_line_id
and SUBSTR(customer_class_code,1,2) not in ('SU', 'FE' , 'PU')
--and SOURCE_HEADER_TYPE_NAME like '%Stock%'
--AND trunc(wdd.last_update_date) BETWEEN '10-NOV-2020' AND '10-NOV-2020'
--and trunc(wdd.last_update_date) > TRUNC(sysdate-1)
AND TO_CHAR(wdd.last_update_date,'DD/MM/YYYY HH:MI:SS:AM')
BETWEEN '11/01/2022 11:00:00:PM' AND '12/01/2022 10:00:00:AM' -- Date from 12 AM
to 8 AM
GROUP BY MP.ORGANIZATION_CODE
ORDER BY COUNT(*) DESC

Delivery Merge --> Club mutiple deliveries of same customer into Single Delivery.
-- 6 AM

Business Report -- TKR Pending Order Dump Report (All Locations)--

SELECT DISTINCT a.phase_code,


DECODE (a.status_code,
'C', 'Normal',
'E', 'Error',
'T', 'TERMINATING',
'H', 'ON HOLD',
'X', 'TERMINATED',
'G', 'WARNING',
'U', 'DISABLED',
'D', 'CANCELLED',
'P', 'PENDING',
'Q' , 'HOLD/Scheduled',
'R' , 'Normal',
'W' , 'Waiting',
'I' , 'InActive',
'UNKNOWN STATUS'
) status, a.hold_flag, a.status_code, a.request_id,
TO_CHAR(a.actual_start_date,'DD/MM/YYYY HH:MI:SS:AM')
actual_start_dat ,
TO_CHAR( a.requested_start_date,'DD/MM/YYYY HH:MI:SS:AM')
requested_start_date ,
TO_CHAR( a.actual_completion_date,'DD/MM/YYYY HH:MI:SS:AM')
actual_completion_date,
((a.ACTUAL_START_DATe - a.ACTUAL_COMPLETION_DATE) * 24 * 60) AS
run_time, a.REQUESTED_START_DATE,
c.responsibility_name, a.request_id,
b.user_concurrent_program_name, b.concurrent_program_id ,
a.ARGUMENT_TEXT , a.completion_text , fu.user_name ,
a.actual_start_date , fcr.CLASS_TYPE , fcr.RELEASE_CLASS_NAME ,a.parent_request_id
FROM apps.fnd_concurrent_requests a, apps.fnd_concurrent_programs_tl b,
apps.fnd_responsibility_tl c , APPS.fnd_user fu
, apps.fnd_conc_release_classes fcr
WHERE a.concurrent_program_id = b.concurrent_program_id
AND a.responsibility_id = c.responsibility_id
AND fcr.release_class_id(+) = a.release_class_id
AND fcr.application_id(+) = a.release_class_app_id
AND a.requested_by = fu.user_id
AND b.LANGUAGE = 'US'
--AND b.user_concurrent_program_name in ('XX_GST_HMI GST Tax Invoice
New')
AND b.user_concurrent_program_name like '%Pend%Cross%'
--and trunc(REQUESTED_START_DATE) between '08-DEC-2021' and '09-DEC-2021'
--and TO_CHAR(a.REQUESTED_START_DATE,'DD/MM/YYYY HH:MI:SS:AM') BETWEEN
'28/07/2021 07:50:00 AM' and '28/07/2021 11:00:00 PM'
---and a.ARGUMENT_TEXT like '%171%'
--and a.phase_code in ('R')
--and trunc(requested_start_date) = '04-OCT-2021'
--and a.REQUEST_ID=190184798
--AND a.hold_flag = 'Y'
--and a.status_code in ('E')
--and fu.user_name = 'HLIFE'
ORDER BY a.ACTUAL_START_DATe desc

You might also like