0% found this document useful (0 votes)
239 views

BR SQL

This document contains a series of SQL queries being run against various tables in the fusion database, including queries to retrieve data from tables like doo_fulfill_lines_all, doo_headers_all, doo_hold_instances, hz_parties, and others. The queries are selecting and ordering data by various fields like source_order_number, creation_date, and others.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
239 views

BR SQL

This document contains a series of SQL queries being run against various tables in the fusion database, including queries to retrieve data from tables like doo_fulfill_lines_all, doo_headers_all, doo_hold_instances, hz_parties, and others. The queries are selecting and ordering data by various fields like source_order_number, creation_date, and others.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

select * from fusion.doo_fulfill_lines_all where source_order_number like 'NFR-% ' order by creation_date desc; select * from fusion.

doo_fulfill_lines_all where source_order_number like 'RRF-D OO-BILL-0001-2009%' order by creation_date desc; select * from fusion.doo_fulfill_lines_all order by creation_date desc; select * from fusion.doo_lines_all where header_id in(select header_id from fusi on.doo_fulfill_lines_all where status_code = 'CLOSED') and status_code != 'CLOSE D' order by creation_date desc; select * from fusion.doo_lines_all order by creation_date desc; select * from fusion.GL_DAILY_RATES_INTERFACE; select * from fusion.GL_DAILY_RATES; desc fusion.doo_fulfill_lines_all; desc Fusion.doo_headers_all; select * from fusion.doo_hold_instances order by creation_date desc; select * from fusion.fnd_application_new_vl order by application_name asc; select * from fusion.DOO_HOLD_CODES_B; Select * from Fusion.doo_headers_all order by creation_date desc; Select * from Fusion.doo_headers_all where header_id in (select header_id from f usion.doo_lines_all where header_id in(select header_id from fusion.doo_fulfill_ lines_all where status_code = 'CLOSED') and status_code != 'CLOSED') and status_ code = 'CLOSED' order by creation_date desc; select * from fusion.doo_fulfill_lines_all where source_order_number like 'RRF-D OO-STAT-0019-2005' order by creation_date desc; select * from fusion.ra_interface_errors_all where interface_line_id in (select interface_line_id from fusion.ra_interface_lines_all where sales_order = 'RDTEST -0105'); (select * from fusion.ra_interface_lines_all where sales_order = 'RDO2C-001'); Select * from FND_LOOKUPS where Lookup_Type like '%WSH%'; Select * from inv_serial_numbers where inventory_item_id ='663915' and serial_nu mber = 'SS0011'; select * from inv_lot_numbers where organization_id = 204 and inventory_item_id = 663914; Select * from fusion.hz_parties order by creation_date desc; select * from fusion.fnd_setid_assignment; Select * from fusion.fnd_setid_assignments; SELECT * FROM fusion.MSC_SUB_INVENTORIES where organization_id like '20%' orde r by sub_inventory_code desc; Select * from inv_onhand; select * from fusion.hz_geographies; select * from fusion.hz_geographies where geography_type = 'CITY' and geography _name like 'Santa%'; select hold_instance_id, doo_header_id, doo_line_id, fulfill_line_id, hold_code_id, active_flag, pending_flag from doo_hold_instances where active_flag = 'Y' and doo_header_id in ( Select header_id from

doo_fulfill_lines_all where source_order_number = 'SSS-2410-004'); SELECT distinct bu.bu_id, bu.bu_name, bu.short_code FROM fusion.fun_all_busin ess_units_v bu where bu.bu_name in ('ST2BU1','ST2BU2');

You might also like