Search Results per_ctc_bus
Overview
PER_CTC_BUS is an Oracle E-Business Suite PL/SQL package owned by the APPS schema that encapsulates the core business logic for the Contract Information (CTC) module within Oracle Human Resources. The package name follows the standard EBS naming convention, where "PER" denotes the Human Resources product, "CTC" identifies the Contracts component, and "_BUS" indicates a business logic layer that sits between the user-facing forms or APIs and the underlying database tables. In EBS 12.1.1 and 12.2.2, this package is classified as OTHER in the ETRM API registry, and it carries a VALID status.
Its primary role is to provide reusable validation and derivation routines for records stored in the PER_CONTRACTS_F table, which holds employee contract information. Rather than forcing every caller to duplicate business rules, the package centralizes the checks that determine whether a contract insert, update, or delete is permissible, and it derives context-sensitive values such as the relevant legislation code. This design enforces consistent data integrity across all entry points that touch contract data.
Key Procedures and Functions
The package exposes five documented procedures and functions:
- INSERT_VALIDATE — Performs the business rule checks required before a new contract record can be created in PER_CONTRACTS_F. Callers invoke it to confirm the proposed data satisfies organizational and legislative constraints prior to the actual insert.
- UPDATE_VALIDATE — Applies the equivalent validation logic for modifications to existing contract rows, ensuring that changes do not violate the same rules enforced at creation time.
- DELETE_VALIDATE — Determines whether an existing contract record may be removed. This likely checks for dependent assignment data before allowing deletion.
- CHK_ASSIGNMENT_EXISTS — Tests for the presence of a related assignment record, most probably by querying PER_ALL_ASSIGNMENTS_F. This check supports contract-to-assignment integrity and feeds the delete validation path.
- RETURN_LEGISLATION_CODE — Derives and returns the applicable legislation code for a given contract context, which governs which statutory rules and lookups apply to that employee's contract.
Tables Accessed
The documented tables referenced through APPS synonyms are:
- PER_CONTRACTS_F — The primary transactional table for contract information. The validate routines read and assess rows here, and the package is also referenced by the contract table's insert, update, and delete handlers (PER_CTC_INS, PER_CTC_UPD, PER_CTC_DEL) and by HR_CONTRACT_BK2.
- PER_ALL_ASSIGNMENTS_F — Used chiefly by CHK_ASSIGNMENT_EXISTS to verify that an employee assignment is linked to the contract under examination.
- ALL_TABLES — Queried for metadata purposes, typically to confirm object existence or drive dynamic behavior.
PER_CTC_SHD, the contract table's shadow (audit) table, is also listed among the package's dependencies, consistent with the standard EBS pattern where business logic participates in the WHO-column and shadow-row bookkeeping associated with date-tracked tables.
Usage Notes
PER_CTC_BUS is not intended for direct invocation by end users. It is called internally by the contract table handlers — PER_CTC_INS, PER_CTC_UPD, and PER_CTC_DEL — which are the row-level triggers or API wrappers on PER_CONTRACTS_F, and by the HR_CONTRACT_BK2 package. Consequently, any form, concurrent program, or custom PL/SQL routine that inserts, updates, or deletes contract records through the supported handlers automatically benefits from these validations. Developers writing custom code against PER_CONTRACTS_F should route changes through the standard handlers rather than manipulating the table directly, so that the business rules in PER_CTC_BUS are applied. Because the package also depends on STANDARD (the EBS error-handling utility), validation failures are raised through the standard message stack.
-
PACKAGE: APPS.PER_CTC_BUS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PER_CTC_BUS, status:VALID,
-
PACKAGE: APPS.PER_CTC_BUS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PER_CTC_BUS, status:VALID,
-
PACKAGE: APPS.PER_CTC_SHD
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PER_CTC_SHD, status:VALID,
-
PACKAGE BODY: APPS.PER_CTC_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PER_CTC_BUS, status:VALID,
-
PACKAGE BODY: APPS.PER_CTC_BUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PER_CTC_BUS, status:VALID,
-
PACKAGE: APPS.PER_CTC_SHD
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PER_CTC_SHD, status:VALID,
-
PACKAGE BODY: APPS.PER_CTC_DEL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PER_CTC_DEL, status:VALID,
-
SYNONYM: APPS.PER_CONTRACTS_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PER_CONTRACTS_F, status:VALID,
-
SYNONYM: APPS.PER_CONTRACTS_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PER_CONTRACTS_F, status:VALID,
-
PACKAGE BODY: APPS.PER_CTC_INS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PER_CTC_INS, status:VALID,
-
PACKAGE BODY: APPS.PER_CTC_UPD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PER_CTC_UPD, status:VALID,
-
PACKAGE BODY: APPS.PER_CTC_DEL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PER_CTC_DEL, status:VALID,
-
PACKAGE BODY: APPS.PER_CTC_UPD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PER_CTC_UPD, status:VALID,
-
PACKAGE BODY: APPS.PER_CTC_INS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PER_CTC_INS, status:VALID,
-
PACKAGE BODY: APPS.HR_CONTRACT_BK2
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_CONTRACT_BK2, status:VALID,
-
PACKAGE BODY: APPS.HR_CONTRACT_BK2
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_CONTRACT_BK2, status:VALID,
-
PACKAGE: APPS.PER_ASG_SHD
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PER_ASG_SHD, status:VALID,
-
PACKAGE: APPS.HR_KFLEX_UTILITY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_KFLEX_UTILITY, status:VALID,
-
PACKAGE: APPS.HR_KFLEX_UTILITY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_KFLEX_UTILITY, status:VALID,
-
PACKAGE: APPS.PER_ASG_SHD
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PER_ASG_SHD, status:VALID,
-
PACKAGE: APPS.PER_CTC_BUS
12.2.2
-
PACKAGE: APPS.PER_CTC_BUS
12.1.1
-
PACKAGE: APPS.HR_DFLEX_UTILITY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_DFLEX_UTILITY, status:VALID,
-
PACKAGE: APPS.HR_DFLEX_UTILITY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_DFLEX_UTILITY, status:VALID,
-
APPS.PER_CTC_UPD dependencies on PER_CTC_BUS
12.2.2
-
APPS.PER_CTC_DEL dependencies on PER_CTC_BUS
12.2.2
-
APPS.PER_CTC_DEL dependencies on PER_CTC_BUS
12.1.1
-
APPS.PER_CTC_BUS dependencies on PER_CTC_BUS
12.1.1
-
APPS.HR_CONTRACT_BK2 dependencies on PER_CTC_BUS
12.1.1
-
APPS.PER_CTC_INS dependencies on PER_CTC_BUS
12.1.1
-
APPS.PER_CTC_BUS dependencies on PER_CTC_BUS
12.2.2
-
APPS.PER_CTC_UPD dependencies on PER_CTC_BUS
12.1.1
-
APPS.PER_CTC_INS dependencies on PER_CTC_BUS
12.2.2
-
APPS.HR_CONTRACT_BK2 dependencies on PER_CTC_BUS
12.2.2
-
SYNONYM: PUBLIC.ALL_TABLES
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:ALL_TABLES, status:VALID,
-
SYNONYM: PUBLIC.ALL_TABLES
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:ALL_TABLES, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.PER_CTC_BUS
12.1.1
-
PACKAGE BODY: APPS.PER_CTC_BUS
12.2.2
-
VIEW: APPS.PER_PEOPLE_F
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_PEOPLE_F, object_name:PER_PEOPLE_F, status:VALID,
-
VIEW: APPS.PER_PEOPLE_F
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_PEOPLE_F, object_name:PER_PEOPLE_F, status:VALID,
-
VIEW: APPS.PER_BUSINESS_GROUPS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_BUSINESS_GROUPS, object_name:PER_BUSINESS_GROUPS, status:VALID,
-
VIEW: APPS.PER_BUSINESS_GROUPS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_BUSINESS_GROUPS, object_name:PER_BUSINESS_GROUPS, status:VALID,
-
SYNONYM: APPS.PER_ALL_ASSIGNMENTS_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PER_ALL_ASSIGNMENTS_F, status:VALID,
-
SYNONYM: APPS.PER_ALL_ASSIGNMENTS_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PER_ALL_ASSIGNMENTS_F, status:VALID,
-
PACKAGE: APPS.DT_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:DT_API, status:VALID,
-
PACKAGE: APPS.DT_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:DT_API, status:VALID,