Search Results get_overassign
Overview
APPS.CN_OVER_ASSIGN_PVT is a private PL/SQL API package within the Oracle EBS Channel Revenue Management (formerly Oracle Trade Management) module, specifically serving the channel operations and sales quota management functionality. The package is declared with AUTHID CURRENT_USER, meaning it executes with the privileges of the calling user rather than the package owner, which is a deliberate design choice for controlled access to quota-related data.
The package's principal business function is to calculate and return over-assignment percentages for sales quota categories. In channel revenue management, quota categories define how sales targets are distributed across roles such as direct sales and indirect or "street" channels. Over-assignment refers to the practice of assigning more quota than the actual target, typically to account for anticipated attrition, ramp-up of new representatives, or deliberate stretch targets. This package provides the programmatic mechanism to retrieve these over-assignment and projected over-assignment percentages, enabling planners and quota managers to understand how much additional quota has been allocated beyond baseline targets.
Key Procedures and Functions
The package exposes a single documented public procedure:
- GET_OVERASSIGN — The primary API for retrieving quota over-assignment information. It accepts standard Oracle API framework parameters, including API version, initialization message list flag, commit flag, and validation level, along with required inputs identifying the sales role and organization context. It returns the standard API outcome variables (return status, message count, and message data) plus a PL/SQL table of quota over-assignment records. Each record in that table carries the quota category identifier together with the direct and street over-assignment percentages and the corresponding projected over-assignment percentages for both direct and street channels.
The procedure is versioned at 1.0, indicating a stable, long-standing interface. The output table type, quota_overassign_tbl_type, is indexed by BINARY_INTEGER and is composed of quota_overassign_rec_type records, providing a set-based result suitable for bulk consumption by callers.
Tables Accessed
Based on the documented table references, the package interacts with the following objects through APPS synonyms:
- CN_SRP_QUOTA_CATES — The sales representative quota categories table, which supplies the quota_category_id that anchors each returned record. The category identifier in the record type is typed directly against this table's column.
- CN_QUOTA_CATEGORIES — The quota categories definition table, providing category-level attributes used to derive or validate over-assignment percentages.
- CN_SRP_ROLE_DTLS — The sales role details table, accessed to resolve the role context supplied by the caller and to scope quota assignments to the correct organizational structure.
- DUAL — Used for singleton expressions and validation logic within the PL/SQL body.
- PLITBLM — The standard Oracle EBS PL/SQL table manipulation package used for message handling and table operations.
Usage Notes
As a "PVT" classified API, CN_OVER_ASSIGN_PVT is intended for internal consumption by other application modules rather than as a supported public integration interface. The ETRM metadata records zero packages referencing it directly, indicating it is invoked either from Oracle Forms-based quota management user interfaces, from concurrent programs that process quota assignments in batch, or from other internal PL/SQL routines within the channel revenue management schema.
Callers should always check x_return_status upon return and inspect x_msg_count and x_msg_data for error diagnostics, following standard Oracle API framework conventions. The p_init_msg_list and p_commit parameters allow callers to control message stack initialization and transactional scope, though a read-oriented procedure such as this typically does not commit. Because the package uses AUTHID CURRENT_USER, executing users must possess the necessary privileges on the underlying CN tables. Customizations should avoid direct dependency on this private package where possible, since its interface is not guaranteed under Oracle's public API compatibility policy.
-
PACKAGE: APPS.CN_OVER_ASSIGN_PVT
12.1.1
-
PACKAGE: APPS.CN_OVER_ASSIGN_PVT
12.2.2
-
PACKAGE BODY: APPS.CN_OVER_ASSIGN_PVT
12.1.1
-
PACKAGE BODY: APPS.CN_OVER_ASSIGN_PVT
12.2.2
-
APPS.CN_OVER_ASSIGN_PVT dependencies on FND_API
12.2.2
-
APPS.CN_OVER_ASSIGN_PVT dependencies on FND_API
12.1.1
-
APPS.CN_OVER_ASSIGN_PVT dependencies on FND_API
12.2.2
-
APPS.CN_OVER_ASSIGN_PVT dependencies on FND_API
12.1.1