✅ Chapter 2. Understanding Oracle Fusion HCM Architecture
Oracle Fusion HCM Architecture – SQL for HCM Data
Explore the architecture of Oracle Fusion HCM and understand how SQL interacts with HCM modules, tables, and data models.
🔹 Introduction
Before diving deeper into SQL, it's essential to understand the Oracle Fusion HCM architecture. Knowing how the system is structured, how data is stored, and how modules interact will help you write more effective and optimized SQL queries.
Oracle Fusion HCM is a part of the Oracle Cloud suite and provides a modern, integrated solution for human capital management. It is built on Oracle Fusion Middleware and utilizes a relational database model, making SQL the primary language for querying and reporting.
🔹 Theoretical Concepts
🏗️ Key Layers of Oracle Fusion HCM
Layer | Description |
---|---|
User Interface (UI) | Accessed via browser (Responsive UI, HCM Classic) |
Application Logic | Built using Oracle ADF (Application Development Framework) |
Database Layer | Oracle Relational Database (tables, views, indexes) |
Integration Layer | Web services, HCM Extracts, BI Publisher, HDL |
📦 Core Fusion HCM Modules
-
Global Human Resources (Core HR)
-
Payroll
-
Absence Management
-
Recruiting
-
Compensation
-
Talent Management
-
Workforce Structures
Each of these modules stores data in separate but related tables, which you’ll query using SQL.
🔑 Key Concepts You’ll Use in SQL
Concept | Description |
---|---|
Effective Dating | Most tables (like PER_ALL_PEOPLE_F ) store changes over time using effective_start_date and effective_end_date |
Legislative Data Group (LDG) | Tied to payroll and legal data |
Action Types | Track employee movements (hire, promote, terminate) |
Lookups | Store user-defined values and codes |
🔹 SQL Query Examples (with Context)
📌 Example: List All Legal Employers
📌 Example: Retrieve Basic Assignment Info
🔹 Real-Time Scenario (Fusion HCM Use Case)
📁 Scenario:
“You are asked to prepare a report that lists employees along with their legal employer and current assignment information.”
✅ Solution Approach:
To fulfill this request, you need to:
-
Join
PER_ALL_PEOPLE_F
,PER_ALL_ASSIGNMENTS_M
, andPER_LEGAL_EMPLOYERS_F
-
Use effective dating to ensure current records
🔹 Best Practices and Notes
-
Always use effective date filtering when working with
_F
(date-tracked) tables. -
Use primary_flag = 'Y' to fetch the main assignment.
-
Understand foreign key relationships to join tables correctly.
-
Use data security views in OTBI/BI Publisher if using SQL from the front-end.
🔹 Summary
✅ Fusion HCM is built on a modular architecture, each with its own table structure.
✅ Effective dating is critical when writing SQL queries.
✅ Core tables include PER_ALL_PEOPLE_F
, PER_ALL_ASSIGNMENTS_M
, and PER_LEGAL_EMPLOYERS_F
.
✅ Joins between tables are common in real-world reports and extracts.
✅ Understanding architecture improves your SQL design and troubleshooting.
No comments:
Post a Comment