SlideShare a Scribd company logo
Most Frequently Used SQLs for List of Values (LOVs) in BI Report
Beloware the listof SQLs that are mostfrequentlyusedtogetthe listof valuesforbusinessobjects.
Legislative Data Group:
Selectname fromper_legislative_data_groups_vl
SecuredPersonsList:
SELECT DISTINCTPERSON_NUMBERFROM PER_PERSON_SECURED_LIST_V
SecuredDepartments List:
SELECT DISTINCTSUBSTR(DEPT.NAME,1,INSTR(DEPT.NAME,'-',1)-1) DEPCODEFROM
PER_DEPARTMENT_SECURED_LIST_V SEC_DEPT,
PER_DEPARTMENTS DEPT
WHERE DEPT.ORGANIZATION_ID=SEC_DEPT.ORGANIZATION_ID
Payroll Name:
selectdistinctpayroll_name
frompay_all_payrolls_f
where TRUNC(SYSDATE) BETWEEN effective_start_date ANDeffective_end_date
Country Codes:
selectcountry_code,GEOGRAPHY_ELEMENT1 fromHZ_GEOGRAPHIES where GEOGRAPHY_TYPE =
'COUNTRY'
Balance Category:
selectdistinctUSER_CATEGORY_NAMEfromPAY_BALANCE_CATEGORIES_VL
Pay Action Status Lookups:
SELECT meaning FROMhcm_lookupsWHERE lookup_type ='PAY_ACTION_STATUS'
Payroll FlowName:
SELECT pfi.instance_name FROMpay_flow_instancespfi
ORDER BY creation_date desc
ElementClassification:
SELECT DISTINCTc.classification_nameClassfication
FROMpay_ele_classifications_vl c, per_legislative_data_groups_vl l
WHERE c.legislation_code =l.legislation_code
ANDl.name IN (:P_LDG)
ORDER BY c.classification_name
Pay Periods:
selectptp.period_name
frompay_time_periodsptp,pay_all_payrolls_f pp
where pp.payroll_id=ptp.payroll_idandpp.payroll_name =:OOS_PAYROLL
and sysdate betweenpp.effective_start_date andpp.effective_end_date
and ptp.period_category='E'
and ( substr(ptp.period_name,instr(ptp.period_name,'', 1)+1, 4) = to_char(sysdate,'YYYY') OR
substr(ptp.period_name,instr(ptp.period_name,'', 1)+1, 4) = to_char(sysdate,'YYYY') - 1 OR
substr(ptp.period_name,instr(ptp.period_name,'', 1)+1, 4) = to_char(sysdate,'YYYY') + 1)
orderby ptp.time_period_id
Legal Employers:
SELECT hauft.NAME
FROM HR_ORG_UNIT_CLASSIFICATIONS_Fhoucf,HR_ALL_ORGANIZATION_UNITS_Fhaouf,
HR_ORGANIZATION_UNITS_F_TLhauft
WHERE haouf.ORGANIZATION_ID=houcf.ORGANIZATION_ID
ANDhaouf.ORGANIZATION_ID=hauft.ORGANIZATION_ID
ANDhaouf.EFFECTIVE_START_DATEBETWEEN houcf.EFFECTIVE_START_DATEAND
houcf.EFFECTIVE_END_DATE
ANDhauft.LANGUAGE= 'US'
ANDhauft.EFFECTIVE_START_DATE= haouf.EFFECTIVE_START_DATE
ANDhauft.EFFECTIVE_END_DATE= haouf.EFFECTIVE_END_DATE
ANDhoucf.CLASSIFICATION_CODE='HCM_LEMP'
AND SYSDATEBETWEEN hauft.effective_start_date ANDhauft.effective_end_date
Payroll Statutory Units (PSUs):
SELECT hauft.NAME
FROM HR_ORG_UNIT_CLASSIFICATIONS_Fhoucf,HR_ALL_ORGANIZATION_UNITS_Fhaouf,
HR_ORGANIZATION_UNITS_F_TLhauft
WHERE haouf.ORGANIZATION_ID=houcf.ORGANIZATION_ID
ANDhaouf.ORGANIZATION_ID=hauft.ORGANIZATION_ID
ANDhaouf.EFFECTIVE_START_DATEBETWEEN houcf.EFFECTIVE_START_DATEAND
houcf.EFFECTIVE_END_DATE
ANDhauft.LANGUAGE= 'US'
ANDhauft.EFFECTIVE_START_DATE= haouf.EFFECTIVE_START_DATE
ANDhauft.EFFECTIVE_END_DATE= haouf.EFFECTIVE_END_DATE
ANDhoucf.CLASSIFICATION_CODE='HCM_PSU'
AND SYSDATEBETWEEN hauft.effective_start_date ANDhauft.effective_end_date
Divisions:
SELECT hauft.NAME
FROM HR_ORG_UNIT_CLASSIFICATIONS_Fhoucf,HR_ALL_ORGANIZATION_UNITS_Fhaouf,
HR_ORGANIZATION_UNITS_F_TLhauft
WHERE haouf.ORGANIZATION_ID=houcf.ORGANIZATION_ID
ANDhaouf.ORGANIZATION_ID=hauft.ORGANIZATION_ID
ANDhaouf.EFFECTIVE_START_DATEBETWEEN houcf.EFFECTIVE_START_DATEAND
houcf.EFFECTIVE_END_DATE
ANDhauft.LANGUAGE= 'US'
ANDhauft.EFFECTIVE_START_DATE= haouf.EFFECTIVE_START_DATE
ANDhauft.EFFECTIVE_END_DATE= haouf.EFFECTIVE_END_DATE
ANDhoucf.CLASSIFICATION_CODE='HCM_DIVISION'
AND SYSDATEBETWEEN hauft.effective_start_date ANDhauft.effective_end_date
BusinessUnits:
SELECT hauft.NAME
FROM HR_ORG_UNIT_CLASSIFICATIONS_Fhoucf,
HR_ALL_ORGANIZATION_UNITS_Fhaouf,
HR_ORGANIZATION_UNITS_F_TLhauft
WHERE haouf.ORGANIZATION_ID=houcf.ORGANIZATION_ID
ANDhaouf.ORGANIZATION_ID=hauft.ORGANIZATION_ID
ANDhaouf.EFFECTIVE_START_DATEBETWEEN houcf.EFFECTIVE_START_DATE AND
houcf.EFFECTIVE_END_DATE
ANDhauft.LANGUAGE= 'US'
ANDhauft.EFFECTIVE_START_DATE= haouf.EFFECTIVE_START_DATE
ANDhauft.EFFECTIVE_END_DATE= haouf.EFFECTIVE_END_DATE
ANDhoucf.CLASSIFICATION_CODE='FUN_BUSINESS_UNIT'
AND SYSDATEBETWEEN hauft.effective_start_date ANDhauft.effective_end_date
Legal ReportingUnits(LRUs):
SELECT hauft.NAME
FROM HR_ORG_UNIT_CLASSIFICATIONS_Fhoucf,
HR_ALL_ORGANIZATION_UNITS_Fhaouf,
HR_ORGANIZATION_UNITS_F_TLhauft
WHERE haouf.ORGANIZATION_ID=houcf.ORGANIZATION_ID
ANDhaouf.ORGANIZATION_ID=hauft.ORGANIZATION_ID
ANDhaouf.EFFECTIVE_START_DATEBETWEEN houcf.EFFECTIVE_START_DATEAND
houcf.EFFECTIVE_END_DATE
ANDhauft.LANGUAGE= 'US'
ANDhauft.EFFECTIVE_START_DATE= haouf.EFFECTIVE_START_DATE
ANDhauft.EFFECTIVE_END_DATE= haouf.EFFECTIVE_END_DATE
ANDhoucf.CLASSIFICATION_CODE='HCM_LRU'
AND SYSDATEBETWEEN hauft.effective_start_date ANDhauft.effective_end_date
Tax ReportingUnits(TRUs):
SELECT hauft.NAME
FROM HR_ORG_UNIT_CLASSIFICATIONS_Fhoucf,
HR_ALL_ORGANIZATION_UNITS_Fhaouf,
HR_ORGANIZATION_UNITS_F_TLhauft
WHERE haouf.ORGANIZATION_ID=houcf.ORGANIZATION_ID
ANDhaouf.ORGANIZATION_ID=hauft.ORGANIZATION_ID
ANDhaouf.EFFECTIVE_START_DATEBETWEEN houcf.EFFECTIVE_START_DATEAND
houcf.EFFECTIVE_END_DATE
ANDhauft.LANGUAGE= 'US'
ANDhauft.EFFECTIVE_START_DATE= haouf.EFFECTIVE_START_DATE
ANDhauft.EFFECTIVE_END_DATE= haouf.EFFECTIVE_END_DATE
ANDhoucf.CLASSIFICATION_CODE='HCM_TRU'
AND SYSDATEBETWEEN hauft.effective_start_date ANDhauft.effective_end_date
Enterprise:
SELECT hauft.NAME
FROM HR_ORG_UNIT_CLASSIFICATIONS_Fhoucf,
HR_ALL_ORGANIZATION_UNITS_Fhaouf,
HR_ORGANIZATION_UNITS_F_TLhauft
WHERE haouf.ORGANIZATION_ID=houcf.ORGANIZATION_ID
ANDhaouf.ORGANIZATION_ID=hauft.ORGANIZATION_ID
ANDhaouf.EFFECTIVE_START_DATEBETWEEN houcf.EFFECTIVE_START_DATEAND
houcf.EFFECTIVE_END_DATE
ANDhauft.LANGUAGE= 'US'
ANDhauft.EFFECTIVE_START_DATE= haouf.EFFECTIVE_START_DATE
ANDhauft.EFFECTIVE_END_DATE= haouf.EFFECTIVE_END_DATE
ANDhoucf.CLASSIFICATION_CODE='HCM_TRU'
AND SYSDATEBETWEEN hauft.effective_start_date ANDhauft.effective_end_date
Departments:
SELECT hauft.NAME
FROM HR_ORG_UNIT_CLASSIFICATIONS_Fhoucf,HR_ALL_ORGANIZATION_UNITS_Fhaouf,
HR_ORGANIZATION_UNITS_F_TLhauft
WHERE haouf.ORGANIZATION_ID=houcf.ORGANIZATION_ID
ANDhaouf.ORGANIZATION_ID=hauft.ORGANIZATION_ID
ANDhaouf.EFFECTIVE_START_DATEBETWEEN houcf.EFFECTIVE_START_DATEAND
houcf.EFFECTIVE_END_DATE
ANDhauft.LANGUAGE= 'US'
ANDhauft.EFFECTIVE_START_DATE= haouf.EFFECTIVE_START_DATE
ANDhauft.EFFECTIVE_END_DATE= haouf.EFFECTIVE_END_DATE
ANDhoucf.CLASSIFICATION_CODE='DEPARTMENT'
AND SYSDATEBETWEEN hauft.effective_start_date ANDhauft.effective_end_date
PersonNames:
selectfull_namefromper_person_names_f
where name_type ='GLOBAL'
and trunc(sysdate) betweeneffective_start_dateandeffective_end_date
Work Schedules:
select schedule_idwork_schedule_id,schedule_namework_schedule_name
fromzmm_sr_schedules_vlwhere trunc(sysdate) betweentrunc(effective_from_date) and
trunc(effective_to_date)
Collective LaborAgreements:
SELECT DISTINCTCA.COLLECTIVE_AGREEMENT_NAME,CA.COLLECTIVE_AGREEMENT_IDFROM
PER_COL_AGREEMENTS_TL CA
SupervisorNames:
SupervisorName LOV
selectdistinctfull_name
fromPER_PERSON_NAMES_Fppnf,
PER_ASSIGNMENT_SUPERVISORS_Fpasf
where pasf.manager_id=ppnf.person_id
ANDppnf.name_type='GLOBAL'
ANDpasf.manager_type='LINE_MANAGER'
orderby full_name
BenefitLife Events:
SelectDISTINCTName fromBEN_LER_F where TRUNC(SYSDATE) BETWEEN EFFECTIVE_START_DATE
ANDEFFECTIVE_END_DATE
BenefitPlans:
selectdistinctpl.namefromBEN_PL_FPL
where (PL.NAMEnotlike 'Waive%'ANDPL.NAMEnotlike 'Volun%')
and TRUNC(SYSDATE) BETWEEN PL.EFFECTIVE_START_DATEANDPL.EFFECTIVE_END_DATE
That's all for now... Will keepupdatingthispostwithotherqueriesasIwantto maintainsingle pointof
reference forall Listof Values.
Stay tunedformore updates.

More Related Content

PDF
Payroll costing details Oracle Fusion Cloud HCM
PDF
Oracle Fusion Cloud HCM Payroll Query
PDF
All payroll elements with eligibility Oracle Fusion Cloud
PDF
Oracle Fusion Cloud Payroll Costing Query
PDF
Query Worker Contracts Details Oracle Fusion Cloud
PPT
Oracle HRMS Payroll Table Overview
PDF
Oracle Cloud SQL FTE Positions Query
DOCX
How to debug a fast formula
Payroll costing details Oracle Fusion Cloud HCM
Oracle Fusion Cloud HCM Payroll Query
All payroll elements with eligibility Oracle Fusion Cloud
Oracle Fusion Cloud Payroll Costing Query
Query Worker Contracts Details Oracle Fusion Cloud
Oracle HRMS Payroll Table Overview
Oracle Cloud SQL FTE Positions Query
How to debug a fast formula

What's hot (20)

DOCX
Fast formula queries for functions, contexts, db is and packages
PDF
How to Debug the Fast Formula.pdf
DOC
How to create payslip through self service
PDF
Oracle HCM Cloud Core HR Workforce Structures Table Relationships
PDF
Query all roles and duties and privileges Oracle Fusion Cloud
DOC
142500146 using-oracle-fast formula-for-payroll-calculations
PDF
DBI database Items Query Oracle Fusion Cloud
PDF
The Goal with performance details Oracle Fusion Cloud
RTF
Calendar working days and holidays for Oracle EBS R12 Absence management
PDF
Bi email-alert-notification - Fusion Alert
PDF
Legal Employer Details Query Oracle Fusion Cloud
DOCX
Oracle Fusion Cloud HCM value sets
DOCX
Oracle Fusion Payroll tracing for debugging
DOCX
Query to get the geography information using bi report
PDF
Infolets and OTBI Deep link Actionable Reports - Configuration Work Book
PDF
Oracle Fusion Cloud Absence Management
DOC
Oracle ebs otl setup document
PDF
Query Pre Payment details Oracle Fusion Cloud
PDF
Oracle EBS Self service from A to Z
DOCX
Hr profile option
Fast formula queries for functions, contexts, db is and packages
How to Debug the Fast Formula.pdf
How to create payslip through self service
Oracle HCM Cloud Core HR Workforce Structures Table Relationships
Query all roles and duties and privileges Oracle Fusion Cloud
142500146 using-oracle-fast formula-for-payroll-calculations
DBI database Items Query Oracle Fusion Cloud
The Goal with performance details Oracle Fusion Cloud
Calendar working days and holidays for Oracle EBS R12 Absence management
Bi email-alert-notification - Fusion Alert
Legal Employer Details Query Oracle Fusion Cloud
Oracle Fusion Cloud HCM value sets
Oracle Fusion Payroll tracing for debugging
Query to get the geography information using bi report
Infolets and OTBI Deep link Actionable Reports - Configuration Work Book
Oracle Fusion Cloud Absence Management
Oracle ebs otl setup document
Query Pre Payment details Oracle Fusion Cloud
Oracle EBS Self service from A to Z
Hr profile option
Ad

More from Feras Ahmad (17)

PDF
Oracle Fusion HCM Payroll Process Flow.pdf
DOCX
Configure Flexfield Parameters in Value Sets for Document Records.docx
PPT
Building-Materials
PDF
Oracle Fusion Cloud sensitive data access audit
PPTX
Oracle HCM Presentation 2020
PPT
Oracle Fusion HCM vs E-Business Suite HRMS
PDF
2020 06-11 goverment KSA Summary VAT increase
PPTX
Financial reporting compliance cloud service presentation
DOCX
Absence Work flow query
DOCX
Setting up audits and audit reports Fusion Cloud
DOC
Oracle EBS R12 Payroll user manual
DOC
Oracle EBS R12 Self service user manual
DOCX
Oracle EBS R 12 Core hr user manual
DOCX
Oracle Fusion HCM Presentation
DOC
Oracle HRMS Accrual plan Setup
PPT
Oracle Fusion HCM Presentation
PDF
Best practices for fusion hcm cloud implementation
Oracle Fusion HCM Payroll Process Flow.pdf
Configure Flexfield Parameters in Value Sets for Document Records.docx
Building-Materials
Oracle Fusion Cloud sensitive data access audit
Oracle HCM Presentation 2020
Oracle Fusion HCM vs E-Business Suite HRMS
2020 06-11 goverment KSA Summary VAT increase
Financial reporting compliance cloud service presentation
Absence Work flow query
Setting up audits and audit reports Fusion Cloud
Oracle EBS R12 Payroll user manual
Oracle EBS R12 Self service user manual
Oracle EBS R 12 Core hr user manual
Oracle Fusion HCM Presentation
Oracle HRMS Accrual plan Setup
Oracle Fusion HCM Presentation
Best practices for fusion hcm cloud implementation
Ad

Recently uploaded (20)

PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
A Presentation on Artificial Intelligence
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Big Data Technologies - Introduction.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Encapsulation theory and applications.pdf
PPTX
Cloud computing and distributed systems.
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
A Presentation on Artificial Intelligence
Encapsulation_ Review paper, used for researhc scholars
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Big Data Technologies - Introduction.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Encapsulation theory and applications.pdf
Cloud computing and distributed systems.
Digital-Transformation-Roadmap-for-Companies.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Network Security Unit 5.pdf for BCA BBA.
Chapter 3 Spatial Domain Image Processing.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Diabetes mellitus diagnosis method based random forest with bat algorithm
NewMind AI Weekly Chronicles - August'25-Week II
Building Integrated photovoltaic BIPV_UPV.pdf
sap open course for s4hana steps from ECC to s4
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...

Most frequently used sq ls for a list of values

  • 1. Most Frequently Used SQLs for List of Values (LOVs) in BI Report Beloware the listof SQLs that are mostfrequentlyusedtogetthe listof valuesforbusinessobjects. Legislative Data Group: Selectname fromper_legislative_data_groups_vl SecuredPersonsList: SELECT DISTINCTPERSON_NUMBERFROM PER_PERSON_SECURED_LIST_V SecuredDepartments List: SELECT DISTINCTSUBSTR(DEPT.NAME,1,INSTR(DEPT.NAME,'-',1)-1) DEPCODEFROM PER_DEPARTMENT_SECURED_LIST_V SEC_DEPT, PER_DEPARTMENTS DEPT WHERE DEPT.ORGANIZATION_ID=SEC_DEPT.ORGANIZATION_ID Payroll Name: selectdistinctpayroll_name frompay_all_payrolls_f where TRUNC(SYSDATE) BETWEEN effective_start_date ANDeffective_end_date Country Codes: selectcountry_code,GEOGRAPHY_ELEMENT1 fromHZ_GEOGRAPHIES where GEOGRAPHY_TYPE = 'COUNTRY' Balance Category: selectdistinctUSER_CATEGORY_NAMEfromPAY_BALANCE_CATEGORIES_VL Pay Action Status Lookups: SELECT meaning FROMhcm_lookupsWHERE lookup_type ='PAY_ACTION_STATUS' Payroll FlowName: SELECT pfi.instance_name FROMpay_flow_instancespfi ORDER BY creation_date desc ElementClassification: SELECT DISTINCTc.classification_nameClassfication FROMpay_ele_classifications_vl c, per_legislative_data_groups_vl l WHERE c.legislation_code =l.legislation_code ANDl.name IN (:P_LDG) ORDER BY c.classification_name Pay Periods: selectptp.period_name
  • 2. frompay_time_periodsptp,pay_all_payrolls_f pp where pp.payroll_id=ptp.payroll_idandpp.payroll_name =:OOS_PAYROLL and sysdate betweenpp.effective_start_date andpp.effective_end_date and ptp.period_category='E' and ( substr(ptp.period_name,instr(ptp.period_name,'', 1)+1, 4) = to_char(sysdate,'YYYY') OR substr(ptp.period_name,instr(ptp.period_name,'', 1)+1, 4) = to_char(sysdate,'YYYY') - 1 OR substr(ptp.period_name,instr(ptp.period_name,'', 1)+1, 4) = to_char(sysdate,'YYYY') + 1) orderby ptp.time_period_id Legal Employers: SELECT hauft.NAME FROM HR_ORG_UNIT_CLASSIFICATIONS_Fhoucf,HR_ALL_ORGANIZATION_UNITS_Fhaouf, HR_ORGANIZATION_UNITS_F_TLhauft WHERE haouf.ORGANIZATION_ID=houcf.ORGANIZATION_ID ANDhaouf.ORGANIZATION_ID=hauft.ORGANIZATION_ID ANDhaouf.EFFECTIVE_START_DATEBETWEEN houcf.EFFECTIVE_START_DATEAND houcf.EFFECTIVE_END_DATE ANDhauft.LANGUAGE= 'US' ANDhauft.EFFECTIVE_START_DATE= haouf.EFFECTIVE_START_DATE ANDhauft.EFFECTIVE_END_DATE= haouf.EFFECTIVE_END_DATE ANDhoucf.CLASSIFICATION_CODE='HCM_LEMP' AND SYSDATEBETWEEN hauft.effective_start_date ANDhauft.effective_end_date Payroll Statutory Units (PSUs): SELECT hauft.NAME FROM HR_ORG_UNIT_CLASSIFICATIONS_Fhoucf,HR_ALL_ORGANIZATION_UNITS_Fhaouf, HR_ORGANIZATION_UNITS_F_TLhauft WHERE haouf.ORGANIZATION_ID=houcf.ORGANIZATION_ID ANDhaouf.ORGANIZATION_ID=hauft.ORGANIZATION_ID ANDhaouf.EFFECTIVE_START_DATEBETWEEN houcf.EFFECTIVE_START_DATEAND houcf.EFFECTIVE_END_DATE ANDhauft.LANGUAGE= 'US' ANDhauft.EFFECTIVE_START_DATE= haouf.EFFECTIVE_START_DATE ANDhauft.EFFECTIVE_END_DATE= haouf.EFFECTIVE_END_DATE ANDhoucf.CLASSIFICATION_CODE='HCM_PSU' AND SYSDATEBETWEEN hauft.effective_start_date ANDhauft.effective_end_date Divisions: SELECT hauft.NAME FROM HR_ORG_UNIT_CLASSIFICATIONS_Fhoucf,HR_ALL_ORGANIZATION_UNITS_Fhaouf, HR_ORGANIZATION_UNITS_F_TLhauft WHERE haouf.ORGANIZATION_ID=houcf.ORGANIZATION_ID ANDhaouf.ORGANIZATION_ID=hauft.ORGANIZATION_ID ANDhaouf.EFFECTIVE_START_DATEBETWEEN houcf.EFFECTIVE_START_DATEAND
  • 3. houcf.EFFECTIVE_END_DATE ANDhauft.LANGUAGE= 'US' ANDhauft.EFFECTIVE_START_DATE= haouf.EFFECTIVE_START_DATE ANDhauft.EFFECTIVE_END_DATE= haouf.EFFECTIVE_END_DATE ANDhoucf.CLASSIFICATION_CODE='HCM_DIVISION' AND SYSDATEBETWEEN hauft.effective_start_date ANDhauft.effective_end_date BusinessUnits: SELECT hauft.NAME FROM HR_ORG_UNIT_CLASSIFICATIONS_Fhoucf, HR_ALL_ORGANIZATION_UNITS_Fhaouf, HR_ORGANIZATION_UNITS_F_TLhauft WHERE haouf.ORGANIZATION_ID=houcf.ORGANIZATION_ID ANDhaouf.ORGANIZATION_ID=hauft.ORGANIZATION_ID ANDhaouf.EFFECTIVE_START_DATEBETWEEN houcf.EFFECTIVE_START_DATE AND houcf.EFFECTIVE_END_DATE ANDhauft.LANGUAGE= 'US' ANDhauft.EFFECTIVE_START_DATE= haouf.EFFECTIVE_START_DATE ANDhauft.EFFECTIVE_END_DATE= haouf.EFFECTIVE_END_DATE ANDhoucf.CLASSIFICATION_CODE='FUN_BUSINESS_UNIT' AND SYSDATEBETWEEN hauft.effective_start_date ANDhauft.effective_end_date Legal ReportingUnits(LRUs): SELECT hauft.NAME FROM HR_ORG_UNIT_CLASSIFICATIONS_Fhoucf, HR_ALL_ORGANIZATION_UNITS_Fhaouf, HR_ORGANIZATION_UNITS_F_TLhauft WHERE haouf.ORGANIZATION_ID=houcf.ORGANIZATION_ID ANDhaouf.ORGANIZATION_ID=hauft.ORGANIZATION_ID ANDhaouf.EFFECTIVE_START_DATEBETWEEN houcf.EFFECTIVE_START_DATEAND houcf.EFFECTIVE_END_DATE ANDhauft.LANGUAGE= 'US' ANDhauft.EFFECTIVE_START_DATE= haouf.EFFECTIVE_START_DATE ANDhauft.EFFECTIVE_END_DATE= haouf.EFFECTIVE_END_DATE ANDhoucf.CLASSIFICATION_CODE='HCM_LRU' AND SYSDATEBETWEEN hauft.effective_start_date ANDhauft.effective_end_date Tax ReportingUnits(TRUs): SELECT hauft.NAME FROM HR_ORG_UNIT_CLASSIFICATIONS_Fhoucf, HR_ALL_ORGANIZATION_UNITS_Fhaouf, HR_ORGANIZATION_UNITS_F_TLhauft WHERE haouf.ORGANIZATION_ID=houcf.ORGANIZATION_ID ANDhaouf.ORGANIZATION_ID=hauft.ORGANIZATION_ID
  • 4. ANDhaouf.EFFECTIVE_START_DATEBETWEEN houcf.EFFECTIVE_START_DATEAND houcf.EFFECTIVE_END_DATE ANDhauft.LANGUAGE= 'US' ANDhauft.EFFECTIVE_START_DATE= haouf.EFFECTIVE_START_DATE ANDhauft.EFFECTIVE_END_DATE= haouf.EFFECTIVE_END_DATE ANDhoucf.CLASSIFICATION_CODE='HCM_TRU' AND SYSDATEBETWEEN hauft.effective_start_date ANDhauft.effective_end_date Enterprise: SELECT hauft.NAME FROM HR_ORG_UNIT_CLASSIFICATIONS_Fhoucf, HR_ALL_ORGANIZATION_UNITS_Fhaouf, HR_ORGANIZATION_UNITS_F_TLhauft WHERE haouf.ORGANIZATION_ID=houcf.ORGANIZATION_ID ANDhaouf.ORGANIZATION_ID=hauft.ORGANIZATION_ID ANDhaouf.EFFECTIVE_START_DATEBETWEEN houcf.EFFECTIVE_START_DATEAND houcf.EFFECTIVE_END_DATE ANDhauft.LANGUAGE= 'US' ANDhauft.EFFECTIVE_START_DATE= haouf.EFFECTIVE_START_DATE ANDhauft.EFFECTIVE_END_DATE= haouf.EFFECTIVE_END_DATE ANDhoucf.CLASSIFICATION_CODE='HCM_TRU' AND SYSDATEBETWEEN hauft.effective_start_date ANDhauft.effective_end_date Departments: SELECT hauft.NAME FROM HR_ORG_UNIT_CLASSIFICATIONS_Fhoucf,HR_ALL_ORGANIZATION_UNITS_Fhaouf, HR_ORGANIZATION_UNITS_F_TLhauft WHERE haouf.ORGANIZATION_ID=houcf.ORGANIZATION_ID ANDhaouf.ORGANIZATION_ID=hauft.ORGANIZATION_ID ANDhaouf.EFFECTIVE_START_DATEBETWEEN houcf.EFFECTIVE_START_DATEAND houcf.EFFECTIVE_END_DATE ANDhauft.LANGUAGE= 'US' ANDhauft.EFFECTIVE_START_DATE= haouf.EFFECTIVE_START_DATE ANDhauft.EFFECTIVE_END_DATE= haouf.EFFECTIVE_END_DATE ANDhoucf.CLASSIFICATION_CODE='DEPARTMENT' AND SYSDATEBETWEEN hauft.effective_start_date ANDhauft.effective_end_date PersonNames: selectfull_namefromper_person_names_f where name_type ='GLOBAL' and trunc(sysdate) betweeneffective_start_dateandeffective_end_date Work Schedules: select schedule_idwork_schedule_id,schedule_namework_schedule_name
  • 5. fromzmm_sr_schedules_vlwhere trunc(sysdate) betweentrunc(effective_from_date) and trunc(effective_to_date) Collective LaborAgreements: SELECT DISTINCTCA.COLLECTIVE_AGREEMENT_NAME,CA.COLLECTIVE_AGREEMENT_IDFROM PER_COL_AGREEMENTS_TL CA SupervisorNames: SupervisorName LOV selectdistinctfull_name fromPER_PERSON_NAMES_Fppnf, PER_ASSIGNMENT_SUPERVISORS_Fpasf where pasf.manager_id=ppnf.person_id ANDppnf.name_type='GLOBAL' ANDpasf.manager_type='LINE_MANAGER' orderby full_name BenefitLife Events: SelectDISTINCTName fromBEN_LER_F where TRUNC(SYSDATE) BETWEEN EFFECTIVE_START_DATE ANDEFFECTIVE_END_DATE BenefitPlans: selectdistinctpl.namefromBEN_PL_FPL where (PL.NAMEnotlike 'Waive%'ANDPL.NAMEnotlike 'Volun%') and TRUNC(SYSDATE) BETWEEN PL.EFFECTIVE_START_DATEANDPL.EFFECTIVE_END_DATE That's all for now... Will keepupdatingthispostwithotherqueriesasIwantto maintainsingle pointof reference forall Listof Values. Stay tunedformore updates.