Search Results hr_person_type_usage_api
Overview
The APPS.HR_PERSON_TYPE_USAGE_API package is a public PL/SQL API in Oracle E-Business Suite that governs the assignment of person types to people and, where applicable, to person type groups. Person type usage records define which person types (for example, Employee, Applicant, Contingent Worker, or Party) are valid for a given person, and how those usages are sequenced and constrained based on system person type and person type group membership. In Oracle EBS 12.1.1 and 12.2.2 this package functions as the supported interface for creating, updating, validating, and removing person type usage rows, thereby insulating external callers from the underlying tables PER_PERSON_TYPE_USAGES_F, PER_PERSON_TYPES, and PER_ALL_PEOPLE_F.
The package is classified as an API in the ETRM repository, owned by the APPS schema, and its status is VALID. It depends on APPS.HR_API for common error handling, message retrieval, and business-group resolution, and on SYS.STANDARD for base PL/SQL constructs.
Key Procedures and Functions
- CREATE_PERSON_TYPE_USAGE — Inserts a new person type usage record, associating a person with a permitted person type and, where relevant, a person type group. This is the primary entry point for establishing a usage that did not previously exist.
- UPDATE_PERSON_TYPE_USAGE — Modifies an existing person type usage record, such as adjusting the primary flag, date-tracked attributes, or the group/type pairing. Validation is normally performed before the row is changed.
- DELETE_PERSON_TYPE_USAGE — Removes a person type usage record. This is used when a person should no longer be associated with a given person type or group combination.
- CHECK_PERSON_TYPE — Validation routine that confirms a supplied person type is a permissible, active person type for the person or business group in question, applying the system person type rules maintained in
PER_PERSON_TYPES. - CHECK_PERSON_EX_TYPE — Validation routine that confirms the combination of person type and person type group (or related extended type attribute) is valid before a usage row is created or updated.
Tables Accessed
- PER_PERSON_TYPE_USAGES_F — The primary date-tracked table that stores person type usage rows. The API inserts, updates, and logically deletes records here.
- PER_PERSON_TYPES — Holds the definition of each person type, including system person type and group. The check routines read this table to validate that a requested type is permitted.
- PER_ALL_PEOPLE_F — The date-tracked person (employee/applicant) record. The API references it to confirm the person exists and to resolve person-level context for usages.
Usage Notes
This package is typically invoked from Oracle HRMS forms (such as the Person and Person Type Usages windows), from concurrent programs that migrate or load person data, and from custom PL/SQL code that must programmatically maintain person type usages. The migration program PER_PTU_DFF_MIG references this package for descriptor-flexfield migration of person type usage data.
As with other HR_API-based packages, callers should supply the standard p_validate, business group, and effective date parameters where the signature requires them, and are expected to commit or roll back the transaction themselves. Because the underlying table is date-tracked, updates and deletes must respect effective date logic; calling the validation procedures first is good practice to surface HR_API errors before performing the DML.
-
PACKAGE: APPS.HR_PERSON_TYPE_USAGE_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_PERSON_TYPE_USAGE_API, status:VALID,
-
PACKAGE: APPS.HR_PERSON_TYPE_USAGE_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_PERSON_TYPE_USAGE_API, status:VALID,
-
PACKAGE BODY: APPS.HR_PERSON_TYPE_USAGE_API
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_PERSON_TYPE_USAGE_API, status:VALID,
-
PACKAGE BODY: APPS.HR_PERSON_TYPE_USAGE_API
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_PERSON_TYPE_USAGE_API, status:VALID,
-
PACKAGE: APPS.HR_PERSON_TYPE_USAGE_BK3
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_PERSON_TYPE_USAGE_BK3, status:VALID,
-
PACKAGE: APPS.HR_PERSON_TYPE_USAGE_BK2
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_PERSON_TYPE_USAGE_BK2, status:VALID,
-
PACKAGE: APPS.HR_PERSON_TYPE_USAGE_BK3
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_PERSON_TYPE_USAGE_BK3, status:VALID,
-
PACKAGE: APPS.PER_PTU_UPD
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PER_PTU_UPD, status:VALID,
-
PACKAGE: APPS.HR_PERSON_TYPE_USAGE_BK1
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_PERSON_TYPE_USAGE_BK1, status:VALID,
-
PACKAGE: APPS.HR_PERSON_TYPE_USAGE_BK2
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_PERSON_TYPE_USAGE_BK2, status:VALID,
-
PACKAGE: APPS.HR_PERSON_TYPE_USAGE_BK1
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_PERSON_TYPE_USAGE_BK1, status:VALID,
-
PACKAGE: APPS.PER_PTU_UPD
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PER_PTU_UPD, status:VALID,
-
PACKAGE BODY: APPS.PER_PTU_DFF_MIG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PER_PTU_DFF_MIG, status:VALID,
-
PACKAGE: APPS.HR_PER_TYPE_USAGE_INTERNAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_PER_TYPE_USAGE_INTERNAL, status:VALID,
-
PACKAGE BODY: APPS.PER_PTU_DFF_MIG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PER_PTU_DFF_MIG, status:VALID,
-
PACKAGE: APPS.HR_PER_TYPE_USAGE_INTERNAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_PER_TYPE_USAGE_INTERNAL, status:VALID,
-
SYNONYM: APPS.PER_PERSON_TYPE_USAGES_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PER_PERSON_TYPE_USAGES_F, status:VALID,
-
SYNONYM: APPS.PER_PERSON_TYPE_USAGES_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PER_PERSON_TYPE_USAGES_F, status:VALID,
-
PACKAGE: APPS.HR_PERSON_TYPE_USAGE_API
12.2.2
-
PACKAGE: APPS.HR_PERSON_TYPE_USAGE_API
12.1.1
-
APPS.HR_PERSON_TYPE_USAGE_API dependencies on HR_PERSON_TYPE_USAGE_API
12.1.1
-
SYNONYM: APPS.PER_PERSON_TYPES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PER_PERSON_TYPES, status:VALID,
-
APPS.PER_PTU_DFF_MIG dependencies on HR_PERSON_TYPE_USAGE_API
12.1.1
-
APPS.HR_PERSON_TYPE_USAGE_API dependencies on HR_PERSON_TYPE_USAGE_API
12.2.2
-
APPS.PER_PTU_DFF_MIG dependencies on HR_PERSON_TYPE_USAGE_API
12.2.2
-
SYNONYM: APPS.PER_PERSON_TYPES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PER_PERSON_TYPES, status:VALID,
-
PACKAGE BODY: APPS.HR_PERSON_TYPE_USAGE_API
12.2.2
-
PACKAGE BODY: APPS.HR_PERSON_TYPE_USAGE_API
12.1.1
-
SYNONYM: APPS.PER_ALL_PEOPLE_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PER_ALL_PEOPLE_F, status:VALID,
-
SYNONYM: APPS.PER_ALL_PEOPLE_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PER_ALL_PEOPLE_F, status:VALID,
-
APPS.BEN_WHATIF_ELIG dependencies on HR_UTILITY
12.1.1
-
APPS.BEN_WHATIF_ELIG dependencies on HR_UTILITY
12.2.2
-
PACKAGE BODY: APPS.PER_PTU_DFF_MIG
12.1.1
-
PACKAGE BODY: APPS.PER_PTU_DFF_MIG
12.2.2
-
PACKAGE BODY: APPS.BEN_WHATIF_ELIG
12.1.1
-
PACKAGE BODY: APPS.BEN_WHATIF_ELIG
12.2.2
-
PACKAGE: APPS.HR_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_API, status:VALID,
-
PACKAGE: APPS.HR_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_API, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_MESSAGE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: APPS.FND_MESSAGE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: APPS.HR_UTILITY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_UTILITY, status:VALID,
-
PACKAGE: APPS.HR_UTILITY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_UTILITY, status:VALID,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,