PER_PERSONS and PER_ALL_PEOPLE_F: Why Both Tables Matter in Oracle HCM

PER_PERSONS and PER_ALL_PEOPLE_F: Why Both Tables Matter comes down to row grain and effective dating: one is a person-level source, while the other stores date-effective person records. This guide is for Oracle HCM developers, report writers, and OTBI analysts who need to select the right starting table, join records without multiplying rows, and report a consistent snapshot.

Key Takeaways

  • Start with the question. Use PER_PERSONS for person-level attributes that are not represented as effective-dated history, and PER_ALL_PEOPLE_F for person records at a selected point in time.
  • Use PERSON_ID for the relationship. It connects person records across the tables; retrieve PERSON_NUMBER from PER_ALL_PEOPLE_F.
  • Filter effective-dated rows. Without an as-of predicate, PER_ALL_PEOPLE_F can return multiple records for one person.
  • Set the output grain before joining. A person, name, assignment, and work relationship are different report grains.
  • Keep dates consistent. Apply the same bound as-of date independently to each date-effective table in the query.
  • Use only the fields the report needs. Avoid SELECT *, especially when person data includes sensitive attributes.
  • For schema and join-column discovery across Oracle Fusion, use the Oracle HCM Tables Search.

What Each Person Table Represents

PER_PERSONS represents a person-level record. Use it for stable person attributes that are not represented as effective-dated history; do not treat it as a set of historical person snapshots.

PER_ALL_PEOPLE_F represents effective-dated person records. It is also the table identified here for retrieving PERSON_NUMBER, so use it when the question needs a person record at a particular point in time.

The shared identifier is PERSON_ID. Oracle documents that PERSON_ID is a NUMBER column with precision 18.

The Short Answer: choose the table based on the question, not on which table name looks more familiar. Person-level details, current person attributes, historical person attributes, and employment or assignment information are distinct reporting needs.

Data card: PER_ALL_PEOPLE_F supports optimistic locking

OBJECT_VERSION_NUMBER increments on each row update to detect concurrent changes.

Source: Oracle

Choose the Source by Query Goal

The table choice follows the report question. A person attribute is not proof of an active employment relationship, and an effective-dated person row does not, by itself, establish that someone currently holds an assignment.

Reporting questionStarting pointWhy
Stable person detail, such as date of birthPER_PERSONS, when the attribute is exposed thereUse the person-level source rather than choosing an arbitrary effective-dated row.
Current person recordPER_ALL_PEOPLE_FFilter the table to the report's as-of date.
Historical person recordPER_ALL_PEOPLE_FBind the historical date to retrieve the record effective on that date.
Employment or assignment statusRelevant work-relationship or assignment tablesA person record alone does not establish current employment or assignment.

For person identifiers, retrieve PERSON_NUMBER from PER_ALL_PEOPLE_F and use PERSON_ID to connect person-related records. PERSON_NUMBER is useful in reports and for people reading extracts, but it is not the relational key described here.

When the question is whether someone has an employment relationship or assignment, add the relevant work-relationship or assignment source, such as PER_PERIODS_OF_SERVICE or PER_ALL_ASSIGNMENTS_F. Keep the report definition explicit: person population, work relationship, and assignment population are not interchangeable.

Did You Know?
LAST_UPDATED_BY is a VARCHAR2 column with length 64.
Source: Oracle

Join the Tables Without Multiplying Person Rows

Join PER_PERSONS to PER_ALL_PEOPLE_F on PERSON_ID. One row from the person-level table can match multiple effective-dated rows, so adding PER_ALL_PEOPLE_F changes the result grain unless you filter it to the row your report needs.

Treat PER_PERSONS.PERSON_ID as the person-level key. Treat rows in PER_ALL_PEOPLE_F as unique by PERSON_ID, EFFECTIVE_START_DATE, and EFFECTIVE_END_DATE.

This is not a bug. It is the architecture. Your query returns repeated person-level values when it joins one person row to multiple effective-dated records and then reports the result as if each output row represented a different person.

If the report needs one row per person, restrict PER_ALL_PEOPLE_F to the intended effective row before joining or aggregating. Otherwise, person counts and sums can inflate, while stable person-level values appear repeatedly.

The same grain check applies when you add PER_PERSON_NAMES_F or PER_ALL_ASSIGNMENTS_F. Decide whether each output row represents a person, a name, or an assignment, then apply the relevant effective-date and primary-record criteria for that grain.

Apply One As-of Date Across Effective-Dated Data

For a person record active on a selected date, filter PER_ALL_PEOPLE_F with the bound date inside its effective period. The date belongs in the predicate, not in an assumption that the latest row is always the row the report needs.

WHERE :as_of_date BETWEEN papf.effective_start_date
                      AND papf.effective_end_date

Each date-effective table has its own effective period. When PER_PERSON_NAMES_F or PER_ALL_ASSIGNMENTS_F is part of the report, apply the same :as_of_date to that table's EFFECTIVE_START_DATE and EFFECTIVE_END_DATE as well.

AND :as_of_date BETWEEN pnf.effective_start_date
                    AND pnf.effective_end_date

AND :as_of_date BETWEEN paaf.effective_start_date
                    AND paaf.effective_end_date

Joining these tables only on PERSON_ID does not produce a consistent snapshot. It can combine a person record from one period with a name or assignment from another.

For a historical report, bind the requested historical date rather than substituting the current date. Keep that same date logic across the effective-dated tables so the report describes one point in time rather than a mixture of current and historical rows.

Build a Query Around the Required Row Grain

For a person-and-current-details result, join the person-level source to PER_ALL_PEOPLE_F on PERSON_ID and filter the effective-dated alias. This basic pattern returns person identifiers for the selected date:

SELECT p.person_id,
       papf.person_number,
       papf.effective_start_date,
       papf.effective_end_date
FROM per_persons p
JOIN per_all_people_f papf
  ON papf.person_id = p.person_id
WHERE :as_of_date BETWEEN papf.effective_start_date
                      AND papf.effective_end_date;

Select only the fields needed for the reporting purpose. SELECT * can bring sensitive personal attributes into a result that does not need them, and it makes a query more vulnerable to changes in the table's available columns.

Before adding PER_PERSON_NAMES_F, PER_ALL_ASSIGNMENTS_F, or PER_PERIODS_OF_SERVICE, define the desired output row. A person-level report, a name-level report, an assignment report, and a work-relationship report each require different join and filtering criteria.

Use PERSON_ID for joins between HCM person records. Use PERSON_NUMBER when the report needs that reporting identifier, not as a substitute for the relationship that connects the records.

Did You Know?
OBJECT_VERSION_NUMBER is a NUMBER column with precision 9.
Source: Oracle

Interpret Overlapping Fields and Flexfields Carefully

When an attribute appears in both PER_PERSONS and PER_ALL_PEOPLE_F, choose the source whose row grain and effective-date behavior fit the report. Compare their values when the report depends on them.

Descriptive flexfield columns need implementation context. Oracle defines ATTRIBUTE1 as a VARCHAR2 column with length 150, and the business meaning of that segment depends on the implementation's flexfield setup.

PERSON_TYPE_ID and other configured classification fields also need the intended business definition. The existence of a classification column does not, by itself, define the population for every report.

Limit sensitive personal attributes to the fields required for the reporting purpose and permitted by the analyst's access. That check belongs in query design, not only in the final report layout.

Frequently Asked Questions

Does a person's PERSON_ID change when their name changes?

No. A name change is a change to a person's name information, not a reason to substitute a different PERSON_ID in joins. Keep the person identifier and name record as separate elements in downstream extracts.

Should PERSON_NUMBER be used as a join key between Oracle HCM tables?

Use PERSON_ID for joins within the HCM person model. PERSON_NUMBER is useful as a human-readable identifier, but extracts moved between separate environments should not assume that generated person IDs are portable across those environments.

Does a person record with an effective date covering today necessarily mean the person is currently employed?

No. Validate work-relationship or assignment status against the report's definition of active employment.

How should a report include future-dated hires who are not yet active on the report's as-of date?

Define whether the report is measuring people active on the as-of date or people expected to start later. For a future-hire population, use the relevant future-dated work-relationship or assignment records and report their planned start dates rather than treating them as active on an earlier date.

Can I use DISTINCT to remove duplicate rows from a person report?

DISTINCT can hide repeated values without identifying which effective-dated or assignment row belongs in the result. Diagnose the join grain and business criteria first, then aggregate only after the intended rows are defined.

How do I choose one name when a person has multiple name records?

Use the name type and any locale or reporting convention required by the consuming report. A name record's effective period alone does not select which valid name representation your audience expects.

Conclusion

PER_PERSONS and PER_ALL_PEOPLE_F: Why Both Tables Matter is a question of what one output row represents and when its data is effective. Use PER_PERSONS for suitable person-level attributes, PER_ALL_PEOPLE_F for date-effective person records and PERSON_NUMBER, and PERSON_ID to connect the records.

Filter every effective-dated table to the intended as-of date, define the report grain before adding names or assignments, and select only the data the report requires. Those choices prevent accidental row multiplication and keep Oracle HCM reporting aligned with the question you are actually answering.