Professional Documents
Culture Documents
Delivery Detail ID
select wdd.DELIVERY_DETAIL_ID from wsh_delivery_details wdd,oe_order_headers_all
ooha,oe_order_lines_all oola where 1=1 and wdd.source_header_id = ooha.header_id and
ooha.header_id = oola.header_id and wdd.source_line_id = oola.line_id and oola.ship_to_org_id in
(select site_use_id from apps.hz_cust_accounts_all hca, apps.hz_cust_acct_sites_all hcas ,
apps.hz_cust_site_uses_all hcsu where 1=1 and hca.cust_account_id = hcas.cust_account_id and
hcas.cust_acct_site_id = hcsu.cust_acct_site_id and hcsu.site_use_code = 'SHIP_TO' and hcsu.attribute3
= 'Y')
SELECT max(cmln.origination_date)
-- hz_cust_accounts chca,
-- hz_cust_acct_sites_all chcas,
hz_cust_site_uses_all chcsu,
wsh_delivery_details cwdd
WHERE 1=1
AND cwdd.SHIP_TO_SITE_USE_ID=chcsu.site_use_id
ITEM
LPN QUERY
Putaway Samples
SELECT DISTINCT msl.inventory_location_id
inv.mtl_item_locations msl