Search Results le_organization_id




Overview

PSB_HR_EXTRACT_DATA_PVT is a private PL/SQL package body in the APPS schema that supports the Oracle EBS HRMS extract framework, specifically the data extraction logic used to assemble employee, position, salary, and costing information for external reporting and interface purposes. The package is classified as PVT (private) in the ETRM repository, indicating it is not intended to be called directly by external applications or end users; instead, it is consumed internally by the extract processing engine. Its primary responsibility is to gather attributes from HRMS tables, resolve segment values for costing and general ledger mapping, manage reentrant processing state, and persist extract rows into staging tables such as PSB_COST_DISTRIBUTIONS_I. The package header/body carries a version marker (120.34, dated 2006/02/24), which reflects the lineage of the PSB HR extract module across the EBS 12.1.1 and 12.2.2 application tiers. The user search term le_organization_id relates to the organizational identifier used to scope extract data to a legal entity or business group context.

Key Procedures and Functions

The package exposes 16 documented procedures and functions:

Tables Accessed

The package reads and writes through APPS synonyms against several core tables:

  • PER_ALL_POSITIONS / HR_ALL_POSITIONS_F — position definitions and history.
  • PER_ALL_PEOPLE_F / PER_ALL_ASSIGNMENTS_F — person and assignment records.
  • PAY_ALL_PAYROLLS_F — payroll definitions.
  • PAY_RATES — salary and rate values.
  • PAY_COST_ALLOCATIONS_F / PAY_COST_ALLOCATION_KEYFLEX — costing allocations and their flex key values.
  • PAY_PAYROLL_GL_FLEX_MAPS — mapping between payroll and GL flex structures.
  • FND_ID_FLEXS / FND_ID_FLEX_STRUCTURES / FND_DESCR_FLEX_COLUMN_USAGES — key flexfield definition metadata, used to resolve segment values and validate the costing/GL structure.
  • FND_SESSIONS — session-to-effective-date association, written by INIT.
  • HR_ALL_ORGANIZATION_UNITS — organization unit definitions; the user's search term le_organization_id typically filters or joins here to scope extract rows by legal entity or business group.
  • PSB_COST_DISTRIBUTIONS_I — the extract staging/interface table into which cost distribution rows are inserted.

Usage Notes

PSB_HR_EXTRACT_DATA_PVT is invoked indirectly by the PSB HR extract concurrent programs and supporting forms, and is referenced by four other packages in the PSB module. Because it is classified as a private package body, custom code should not call its procedures directly; developers extending the extract must instead use the public API layer that wraps it. In both EBS 12.1.1 (Forms-based) and 12.2.2 (OA Framework / OAF) environments, the package's behavior is identical at the database tier, since it operates entirely within the APPS schema and depends on the presence of the PSB module objects. When troubleshooting extract results — particularly when filtering by LE_ORGANIZATION_ID or a specific legal entity — DBAs typically enable the package debug flag via GET_DEBUG and inspect rows inserted into PSB_COST_DISTRIBUTIONS_I to trace the resolved costing and GL segment values.