Search Results hr_organization_units_s
Overview
The APPS.HR_ORU_INS package body is a private, internal PL/SQL component of the Oracle E-Business Suite Human Resources (HR) organization unit API stack. Its name follows the Oracle naming convention for generated API implementation units: "HR" denotes the Human Resources product, "ORU" denotes Organization Units, and "INS" denotes the insert (creation) operation. The package provides the low-level row insertion logic that supports the creation of organization unit records in the HR schema.
In Oracle EBS, organization units are the fundamental building blocks of the enterprise structure and are exposed to end users through the HR_ORGANIZATION_UNITS_S table and its associated date-tracked entity. The public API for creating these records is HR_ORGANIZATION_UNIT_API, which internally delegates the physical insert work to the ORU stack. HR_ORU_INS is the bottom layer of that stack, invoked by HR_ORU_BUS (business logic) and paired with HR_ORU_RKI (row key information) and HR_ORU_SHD (shadow/audit). Because it is a package body with no standalone specification documented as an API, it is not intended for direct customer invocation.
Key Procedures and Functions
- SET_BASE_KEY_VALUE — Internal helper that establishes the base key value for the organization unit row being created. In the ORU insert stack, the base key identifies the date-tracked entity record that the insert will anchor, ensuring the object version and
_S(short) table rows are linked to a consistent base key before the physical insert is attempted. - INS — The principal procedure that performs the actual insert of an organization unit. It writes the new row into the HR organization structures, applies the row key information supplied by
HR_ORU_RKI, invokes business-rule validation throughHR_ORU_BUS, and coordinates withHR_ORU_SHDfor the shadow record that Oracle HRMS date-tracking requires. It also usesHR_APIandHR_UTILITYservices for error handling and who-column population.
Tables Accessed
- HR_ORGANIZATION_UNITS_S — The primary target of the insert. This short table holds the current organization unit definition (name, type, dates, and location references).
- HR_ALL_ORGANIZATION_UNITS — The common organization master table. Every organization unit creation also materializes a corresponding row here, since HRMS organizations span multiple organization classifications.
- PER_ORGANIZATION_LIST — Consulted for organization list membership rows generated alongside the organization unit.
- PER_SECURITY_PROFILES — Read to apply security profile / organization hierarchy security implications when the new unit is inserted.
- DUAL and FND_PROFILE — Used for profile option lookups and singleton SELECTs supporting the insert logic.
Usage Notes
HR_ORU_INS is never called directly by forms, concurrent programs, or custom code. It is reached only through the public HR_ORGANIZATION_UNIT_API.CREATE_ORG_UNIT entry point, which is invoked when a user defines a new organization in the Organization form, when the organization setup concurrent programs run, or when third-party integrations create organization units through supported APIs. Because the documented dependency list shows that HR_ORU_INS is not referenced by any database object, its exposure is confined to the ORU package family itself. Customizations that attempt to bypass the public API and call HR_ORU_INS.INS directly will skip enforced validation and should be avoided; Oracle recommends all organization unit creation use the supported HR API layer.
-
SYNONYM: APPS.HR_ORGANIZATION_UNITS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HR_ORGANIZATION_UNITS_S, status:VALID,
-
SEQUENCE: HR.HR_ORGANIZATION_UNITS_S
12.2.2
owner:HR, object_type:SEQUENCE, object_name:HR_ORGANIZATION_UNITS_S, status:VALID,
-
SEQUENCE: HR.HR_ORGANIZATION_UNITS_S
12.1.1
owner:HR, object_type:SEQUENCE, object_name:HR_ORGANIZATION_UNITS_S, status:VALID,
-
SYNONYM: APPS.HR_ORGANIZATION_UNITS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_ORGANIZATION_UNITS_S, status:VALID,
-
PACKAGE BODY: APPS.HR_ORU_INS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_ORU_INS, status:VALID,
-
PACKAGE BODY: APPS.HR_ORGANIZATION_UNITS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_ORGANIZATION_UNITS_PKG, status:VALID,
-
PACKAGE BODY: APPS.HR_ORU_INS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_ORU_INS, status:VALID,
-
PACKAGE BODY: APPS.PAY_US_DB_PER_SETUP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_US_DB_PER_SETUP, status:VALID,
-
PACKAGE BODY: APPS.INV_MIGRATE_PROCESS_ORG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:INV_MIGRATE_PROCESS_ORG, status:VALID,
-
PACKAGE BODY: APPS.PER_DB_PER_SETUP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PER_DB_PER_SETUP, status:VALID,
-
PACKAGE BODY: APPS.INV_MIGRATE_PROCESS_ORG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INV_MIGRATE_PROCESS_ORG, status:VALID,
-
PACKAGE BODY: APPS.HR_ORGANIZATION_UNITS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_ORGANIZATION_UNITS_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_US_DB_PER_SETUP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_US_DB_PER_SETUP, status:VALID,
-
PACKAGE BODY: APPS.PER_DB_PER_SETUP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PER_DB_PER_SETUP, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.HR_ORU_INS dependencies on HR_ORGANIZATION_UNITS_S
12.2.2
-
APPS.PAY_US_DB_PER_SETUP dependencies on HR_ORGANIZATION_UNITS_S
12.1.1
-
APPS.PER_DB_PER_SETUP dependencies on HR_ORGANIZATION_UNITS_S
12.2.2
-
APPS.PAY_US_DB_PER_SETUP dependencies on HR_ORGANIZATION_UNITS_S
12.2.2
-
APPS.INV_MIGRATE_PROCESS_ORG dependencies on HR_ORGANIZATION_UNITS_S
12.2.2
-
APPS.PER_DB_PER_SETUP dependencies on HR_ORGANIZATION_UNITS_S
12.1.1
-
APPS.HR_ORGANIZATION_UNITS_PKG dependencies on HR_ORGANIZATION_UNITS_S
12.1.1
-
APPS.HR_ORU_INS dependencies on HR_ORGANIZATION_UNITS_S
12.1.1
-
APPS.HR_ORGANIZATION_UNITS_PKG dependencies on HR_ORGANIZATION_UNITS_S
12.2.2
-
APPS.INV_MIGRATE_PROCESS_ORG dependencies on HR_ORGANIZATION_UNITS_S
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1