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

P 2 P

The document contains a series of SQL queries related to employee and position data within an organization, focusing on various job roles and their associated details. It includes commands to select information from multiple tables, such as employee names, job positions, and procurement requisitions. Additionally, it outlines reporting hierarchies and specific job roles with their corresponding salaries.

Uploaded by

Aayush Jariwala
Copyright
© Attribution Non-Commercial (BY-NC)
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)
58 views3 pages

P 2 P

The document contains a series of SQL queries related to employee and position data within an organization, focusing on various job roles and their associated details. It includes commands to select information from multiple tables, such as employee names, job positions, and procurement requisitions. Additionally, it outlines reporting hierarchies and specific job roles with their corresponding salaries.

Uploaded by

Aayush Jariwala
Copyright
© Attribution Non-Commercial (BY-NC)
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 b.FULL_NAME from fnd_user a,per_all_people_f b where a.EMPLOYEE_ID = b.PE RSON_ID and a.user_name='XXLALIT' job = 3211.PLBUYER position = 1234.

PLBU select * from all_tables where table_name like '%PER%POSITION%' select * from PER_ALL_POSITIONS where name='00123.SJG BUYER' select * from hr_all_organization_units where organization_id=262 001.SJG BUYER -- lokhande -- xxllait Buyer materials - 5000 002.MATERIALS MANAGER -- lanke -- xx_sachin Manager -- 20000 003.PROJECT MANAGER -- malvi -- xx_sada Project manager -- 30000 004.SENIOR MANAGER -- jhiriwala -- xx_practice Executive -- 999999 005.SENIOR CONSULTANT -- wagh -- xx_honda Executive -- 99999 006.PRINCIPAL CONSULTANT --mali - xx_dnyanesh Executive -- 999999 YS, Ms. YSARANG Green, Mr. Terry 503 pos:ACC430.SENIOR ACCOUNTANT job:ACC400.ACCOUNTANT All goods that are individually recorded and printed out (by item class, unit, a nd unit price) select * from PO_CONTROL_GROUPS select * from per_all_people_f where person_id=13482 select * from PO_REQUISITION_HEADERS_all where segment1='5632' select * from PO_HEADERS_all where segment1='4430' select * from po_control_groups_all-- where control_group_name='Procurement Agen t'-- where org_id=5156 pat job MGR500.MANAGER pos MM400.MATERIALS MANAGER Horton, Ms. Connor Esq. job:DIR300.DIRECTOR pos : PDR810.PRODUCTION DIRECTOR sub : BUY501.BUYER 1

lokhande job EX100.EXECUTIVE pos EX120.CHIEF INFORMATION OFFICER lanke job:AA900.ADMINISTRATIVE ASSISTANT pos:AA930.EXECUTIVE ASSISTANT TO COO

sub : BUY502.BUYER 2

BUY501.BUYER 1 job : EX100.EXECUTIVE pos: EX120.CHIEF INFORMATION OFFICER -- lokhande -xxllait Buyer materials - 5000 job:AA900.ADMINISTRATIVE ASSISTANT pos:AA930.EXECUTIVE ASSISTANT TO COO -- lanke -- xx_sachin Manager -- 25000 job:EX100.EXECUTIVE pos:EX110.CHIEF EXECUTIVE OFFICER -- malvi -- xx_sada Projec t manager -- 100000 job:COU200.COUNCIL pos;COU230.CONTRACTS ATTORNEY -- jhiriwala -- xx_practice Exe cutive -- 999999 joB:COU200.COUNCIL pos:COU210.CORPORATE ATTORNEY -- wagh -- xx_honda Executive -- 99999 006.PRINCIPAL CONSULTANT --mali - xx_dnyanesh Executive -- 999999 AA910.EXECUTIVE ASSISTANT TO CEO rertpoting tohitrerchy Master Reporting Hierarchy name: EX110.CHIEF EXECUTIVE OFFICER EX110.CHIEF EXECUTIVE OFFICER rertpoting tohitrerchy Materials name: AA930.EXECUTIVE ASSISTANT TO COO AA930.EXECUTIVE ASSISTANT TO COO rertpoting tohitrerchy Master Reporting Hierarchy /Materials name: EX130.Chief Operating Officer/BUY501.BUYER 1 BUY501.BUYER 1 rertpoting tohitrerchy Materials name: PDR810.PRODUCTION DIRECTOR PDR810.PRODUCTION DIRECTOR rertpoting tohitrerchy Materials name: PDR810.PRODUCTION DIRECTOR --------------------------------------------------------------------------------------------------------------------------------------------------------------select * from PO_REQUISITION_HEADERS_all where segment1='5633' select * from PO_REQUISITION_LINES_all where REQUISITION_HEADER_ID = 56580 select * from PO_REQ_DISTRIBUTIONS_all where REQUISITION_line_ID = 60490

select * from po_headers_all where segment1='4433' select * from PO_LINES_all where po_header_id=32533 select * from PO_LINE_LOCATIONS_all where po_header_id=32533 and po_line_id=3774 1 select * from PO_DISTRIBUTIONS_All where po_header_id=32533 and po_line_id=37741 and line_location_id=72112 select * from RCV_SHIPMENT_HEADERS where receipt_num = 7455 and SHIP_TO_ORG_ID = 204 select * from all_tables where table_name like '%AP%BATCH%' select * from AP_BATCHES_ALL --where batch_name = 'RECEIPTS/19-DEC-10/45973' PO_REQUISITIONS_INTERFACE_ALL PO_REQ_DIST_INTERFACE_ALL PO_HEADERS_INTERFACE PO_LINES_INTERFACE PO_DISTRIBUTIONS_INTERFACE select * from wf_items order by begin_date desc --where item_type='REQAPPRV' and item_key='56579-148759' select * from all_tables where table_name like 'PO%INT%' SELECT prha.segment1 ReqNo ,papf.full_name Preparer ,NVL(prha.description,'NO DESCRIPTION') description ,mc.segment1 '.' mc.segment2 Category ,prla.unit_meas_lookup_code UOM ,prla.unit_price ,prla.quantity ,(prla.unit_price * prla.quantity) amount FROM po_requisition_headers_all prha,po_requisition_lines_all prla ,per_all_people_f papf,mtl_categories mc WHERE prha.requisition_header_id=prla.requisition_header_id AND papf.PERSON_ID = prha.PREPARER_ID AND mc.CATEGORY_ID = prla.CATEGORY_ID AND prha.org_id=204 AND prha.segment1 ='1102'

You might also like