Search Results cn_process_batches_s1
Overview
CN_TRANSACTION_LOAD_PUB is a public PL/SQL package body owned by the APPS schema in Oracle EBS 12.1.1 and 12.2.2. It is the primary interface in the Oracle Incentive Compensation (CN) module for loading transaction data into the staging and processing tables that feed commission calculation. The package wraps the internal logic of CN_TRANSACTION_LOAD_PKG and exposes a controlled, publicly callable API (classified as PUB in the ETRM registry) that other modules, concurrent programs, and custom extensions invoke to submit, validate, and stage commission transactions prior to batch processing.
The dependent package CN_TRANSACTION_LOAD_PUB_CUHK and the view CN_TRANSACTION_LOAD_PUB_VUHK also reference this package, indicating that it forms the base of the transaction-loading API from which customized and view-based variations are derived. Because the object references FND_API, FND_MSG_PUB, FND_GLOBAL, and FND_PROFILE, its execution participates fully in the standard Oracle EBS API framework—message stacking, error handling, and session context are all observed.
Key Procedures and Functions
The ETRM metadata documents a single public procedure/function for this package: LOAD. The LOAD routine is the entry point through which callers pass transaction data into Incentive Compensation. Internally it orchestrates the delegation to CN_TRANSACTION_LOAD_PKG, applies validation through the FND message framework, and stages records for subsequent classification and rollup.
The referenced dependencies reveal the supporting logic invoked during LOAD: CN_CALC_CLASSIFY_PVT and CN_CALC_ROLLUP_PVT are called for classification and rollup of loaded transactions, while CN_FORMULA_COMMON_PKG supplies formula evaluation. CN_COMM_LINES_API and CN_COMM_LINES_API_ALL are referenced for commission line manipulation. CN_PROC_BATCHES_PKG is used to create and manage process batches, and CN_MESSAGE_PKG handles module-specific messaging. CN_TRANSACTION_LOAD_PUB_CUHK and CN_TRANSACTION_LOAD_PUB_VUHK provide country-specific and view-based extension hooks that participate during LOAD execution.
Tables Accessed
Through APPS synonyms the package reads and writes the core Incentive Compensation transaction tables:
- CN_PROCESS_BATCHES, CN_PROCESS_BATCHES_ALL, CN_PROCESS_BATCHES_S1, CN_PROCESS_BATCHES_S2, CN_PROCESS_BATCHES_S3 — batch header definition and secondary staging tables used to group loaded transactions for processing. The S1/S2/S3 variants correspond to the sequence-driven batch segments that users reach when searching for cn_process_batches_s1.
- CN_COMMISSION_HEADERS and CN_COMMISSION_HEADERS_ALL, plus CN_COMMISSION_HEADERS_S — commission transaction header records created or updated during the load.
- CN_COMM_LINES_API and CN_COMM_LINES_API_ALL — commission line detail interface tables written by the API.
- CN_PERIOD_STATUSES_ALL and CN_ACC_PERIOD_STATUSES_V — period validation to ensure transactions are loaded only within open or appropriate accounting periods.
- CN_REPOSITORIES_ALL — repository metadata used to resolve the target processing context.
- DUAL / PLITBLM — utility references used for PL/SQL-only and bulk table lookups.
Read access is primarily through APPS-owned synonyms; procedural objects such as CN_CALC_CLASSIFY_PVT are executed via the show dependent code links rather than directly queried.
Usage Notes
LOAD is typically invoked from three contexts. First, from the Incentive Compensation concurrent programs that submit transaction load batches; the CN_PROCESS_BATCHES_S1 sequence is used to generate batch identifiers during these runs. Second, from the EBS forms that submit or validate commission transactions interactively. Third, from custom PL/SQL code where developers call APPS.CN_TRANSACTION_LOAD_PUB.LOAD inside their own processing logic, relying on FND_API and FND_MSG_PUB conventions for return status and error stack inspection.
Because the package is a PUB API, direct DML against the underlying CN tables should be avoided; callers should invoke LOAD so that classification, rollup, formula evaluation, and messaging execute correctly. The absence of any object referencing CN_TRANSACTION_LOAD_PUB beyond the CUHK/VUHK extension packages indicates that it is intended as a top-level entry point, not a component called by other database objects. Custom installations commonly clone the CUHK and VUHK variants to add country-specific validation without altering this base package.
-
SEQUENCE: CN.CN_PROCESS_BATCHES_S1
12.1.1
owner:CN, object_type:SEQUENCE, object_name:CN_PROCESS_BATCHES_S1, status:VALID,
-
SYNONYM: APPS.CN_PROCESS_BATCHES_S1
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CN_PROCESS_BATCHES_S1, status:VALID,
-
SEQUENCE: CN.CN_PROCESS_BATCHES_S1
12.2.2
owner:CN, object_type:SEQUENCE, object_name:CN_PROCESS_BATCHES_S1, status:VALID,
-
SYNONYM: APPS.CN_PROCESS_BATCHES_S1
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CN_PROCESS_BATCHES_S1, status:VALID,
-
PACKAGE BODY: APPS.CN_TRANSACTION_LOAD_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_TRANSACTION_LOAD_PUB, status:VALID,
-
PACKAGE BODY: APPS.CN_TRANSACTION_LOAD_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_TRANSACTION_LOAD_PUB, status:VALID,
-
PACKAGE BODY: APPS.CN_TRANSACTION_LOAD_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_TRANSACTION_LOAD_PKG, status:VALID,
-
PACKAGE BODY: APPS.CN_PERIODS_API
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_PERIODS_API, status:VALID,
-
PACKAGE BODY: APPS.CN_TRANSACTION_LOAD_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_TRANSACTION_LOAD_PKG, status:VALID,
-
PACKAGE BODY: APPS.CN_PAYMENT_WORKSHEET_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_PAYMENT_WORKSHEET_PVT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.CN_PERIODS_API
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_PERIODS_API, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.CN_PAYMENT_WORKSHEET_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_PAYMENT_WORKSHEET_PVT, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.CN_PROC_BATCHES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_PROC_BATCHES_PKG, status:VALID,
-
PACKAGE BODY: APPS.CN_PROC_BATCHES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_PROC_BATCHES_PKG, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.CN_PERIODS_API dependencies on CN_PROCESS_BATCHES_S1
12.1.1
-
APPS.CN_PAYMENT_WORKSHEET_PVT dependencies on CN_PROCESS_BATCHES_S1
12.2.2
-
APPS.CN_PERIODS_API SQL Statements
12.1.1
-
APPS.CN_PAYMENT_WORKSHEET_PVT dependencies on CN_PROCESS_BATCHES_S1
12.1.1
-
APPS.CN_TRANSACTION_LOAD_PKG dependencies on CN_PROCESS_BATCHES_S1
12.2.2
-
APPS.CN_TRANSACTION_LOAD_PUB dependencies on CN_PROCESS_BATCHES_S1
12.1.1
-
APPS.CN_TRANSACTION_LOAD_PKG dependencies on CN_PROCESS_BATCHES_S1
12.1.1
-
APPS.CN_PERIODS_API SQL Statements
12.2.2
-
APPS.CN_PROC_BATCHES_PKG dependencies on CN_PROCESS_BATCHES_S1
12.1.1
-
APPS.CN_PERIODS_API dependencies on CN_PROCESS_BATCHES_S1
12.2.2
-
APPS.CN_PROC_BATCHES_PKG dependencies on CN_PROCESS_BATCHES_S1
12.2.2
-
APPS.CN_TRANSACTION_LOAD_PUB dependencies on CN_PROCESS_BATCHES_S1
12.2.2
-
APPS.CN_TRANSACTION_LOAD_PUB SQL Statements
12.2.2
-
APPS.CN_TRANSACTION_LOAD_PUB SQL Statements
12.1.1
-
APPS.CN_PROC_BATCHES_PKG SQL Statements
12.2.2
-
APPS.CN_PROC_BATCHES_PKG SQL Statements
12.1.1
-
APPS.CN_PAYMENT_WORKSHEET_PVT dependencies on CN_PROCESS_BATCHES
12.1.1
-
APPS.CN_PAYMENT_WORKSHEET_PVT dependencies on CN_PROCESS_BATCHES
12.2.2
-
APPS.CN_TRANSACTION_LOAD_PKG SQL Statements
12.1.1
-
APPS.CN_TRANSACTION_LOAD_PKG SQL Statements
12.2.2
-
APPS.CN_TRANSACTION_LOAD_PUB dependencies on CN_PROCESS_BATCHES
12.1.1
-
APPS.CN_TRANSACTION_LOAD_PUB dependencies on CN_PROCESS_BATCHES
12.2.2
-
APPS.CN_TRANSACTION_LOAD_PUB dependencies on DUAL
12.2.2
-
APPS.CN_PERIODS_API dependencies on CN_PROCESS_BATCHES
12.1.1
-
APPS.CN_TRANSACTION_LOAD_PUB dependencies on DUAL
12.1.1
-
APPS.CN_PERIODS_API dependencies on CN_PROCESS_BATCHES
12.2.2
-
APPS.CN_TRANSACTION_LOAD_PKG dependencies on CN_PROCESS_BATCHES
12.1.1
-
APPS.CN_TRANSACTION_LOAD_PKG dependencies on CN_PROCESS_BATCHES
12.2.2
-
APPS.CN_PROC_BATCHES_PKG dependencies on CN_PROCESS_BATCHES
12.2.2
-
PACKAGE BODY: APPS.CN_PERIODS_API
12.2.2