Search Results as_opp_competitor_pvt
Overview
The AS_OPP_COMPETITOR_PVT package body in the APPS schema implements the private application programming interface for managing competitor information associated with Oracle E-Business Suite opportunity and lead records. It forms part of the Oracle Sales (AS) module's PL/SQL API infrastructure, which underpins the Sales Foundation, Leads, and Opportunities functionality. The PVT suffix designates this as a private package — it is not intended to be called directly by external consumers; rather, it is invoked internally by the corresponding public API and by the sales forms and concurrent processes that manage opportunity data.
The package's business responsibility is to handle the competitor records that sales representatives attach to leads and opportunities, allowing organizations to track which competing vendors are involved in a given sales pursuit. It encapsulates the create, update, and delete lifecycle operations for these competitor associations, together with the validation logic that enforces data integrity and security constraints before records are persisted.
Key Procedures and Functions
The documented package exposes nine procedures and functions, grouped into two functional categories: data manipulation and validation.
- CREATE_COMPETITORS — Inserts new competitor associations for a lead or opportunity.
- UPDATE_COMPETITORS — Modifies existing competitor records.
- DELETE_COMPETITORS — Removes competitor associations from a lead or opportunity.
- VALIDATE_LEAD_COMPETITOR_ID — Confirms that a supplied lead-competitor identifier is valid and accessible.
- VALIDATE_LEAD_ID — Validates the lead (or opportunity) identifier supplied by the caller.
- VALIDATE_COMPETITOR — Validates a competitor entity, typically against the trading partners defined in Oracle Receivables or TCA.
- VALIDATE_COMPETITOR_ID — Checks that a given competitor identifier exists and is usable.
- VALIDATE_COMPETITOR_REC — Performs record-level validation across a competitor record's constituent fields.
The validation routines apply the ARS/lead-and-opportunity business rules, including the security checks implemented through the access and sales-organization manager packages referenced as dependencies.
Tables Accessed
The package operates against the following tables, accessed through APPS synonyms:
- AS_LEADS_ALL — The base table holding lead and opportunity header records; used to confirm the parent record to which competitors are attached.
- AS_LEAD_COMPETITORS — The primary transaction table in which competitor associations are created, updated, and deleted.
- HZ_PARTIES — The Trading Community Architecture parties table, consulted to validate the competitor as a legitimate, registered party.
- PLITBLM — An internal PL/SQL index-by table used for bulk processing of identifiers during validation loops.
Usage Notes
Because AS_OPP_COMPETITOR_PVT is a private package, it is not intended for direct invocation by external application code. It is called by the public sales APIs and by the Oracle Sales forms that present competitor information on the lead and opportunity screens. Its dependencies on AS_OPPORTUNITY_PUB, AS_SALES_MEMBER_PUB, AS_ACCESS_PUB, and AS_SALES_ORG_MANAGER_PVT indicate that it participates in the standard opportunity security model, enforcing visibility rules based on sales organization and membership. Customizations should call the corresponding public APIs rather than this private package to preserve upgrade safety across EBS 12.1.1 and 12.2.2.
-
PACKAGE BODY: APPS.AS_OPP_COMPETITOR_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AS_OPP_COMPETITOR_PVT, status:VALID,
-
PACKAGE: APPS.AS_OPP_COMPETITOR_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AS_OPP_COMPETITOR_PVT, status:VALID,
-
PACKAGE: APPS.AS_OPP_COMPETITOR_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AS_OPP_COMPETITOR_PVT, status:VALID,
-
PACKAGE BODY: APPS.AS_OPP_COMPETITOR_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AS_OPP_COMPETITOR_PVT, status:VALID,
-
PACKAGE: APPS.AS_OPPORTUNITY_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AS_OPPORTUNITY_PUB, status:VALID,
-
PACKAGE: APPS.AS_OPPORTUNITY_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AS_OPPORTUNITY_PUB, status:VALID,
-
SYNONYM: APPS.AS_LEAD_COMPETITORS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AS_LEAD_COMPETITORS, status:VALID,
-
PACKAGE: APPS.AS_LEAD_COMPETITORS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AS_LEAD_COMPETITORS_PKG, status:VALID,
-
PACKAGE BODY: APPS.AS_OPPORTUNITY_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AS_OPPORTUNITY_PUB, status:VALID,
-
PACKAGE: APPS.AS_LEAD_COMPETITORS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AS_LEAD_COMPETITORS_PKG, status:VALID,
-
SYNONYM: APPS.AS_LEAD_COMPETITORS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AS_LEAD_COMPETITORS, status:VALID,
-
PACKAGE: APPS.AS_SALES_ORG_MANAGER_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AS_SALES_ORG_MANAGER_PVT, status:VALID,
-
PACKAGE: APPS.AS_UTILITY_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AS_UTILITY_PUB, status:VALID,
-
PACKAGE BODY: APPS.AS_OPPORTUNITY_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AS_OPPORTUNITY_PUB, status:VALID,
-
PACKAGE: APPS.AS_UTILITY_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AS_UTILITY_PUB, status:VALID,
-
PACKAGE: APPS.AS_SALES_ORG_MANAGER_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AS_SALES_ORG_MANAGER_PVT, status:VALID,
-
PACKAGE: APPS.AS_ACCESS_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AS_ACCESS_PUB, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.AS_SALES_MEMBER_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AS_SALES_MEMBER_PUB, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.AS_SALES_MEMBER_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AS_SALES_MEMBER_PUB, status:VALID,
-
PACKAGE: APPS.AS_ACCESS_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AS_ACCESS_PUB, status:VALID,
-
PACKAGE: APPS.AS_OPP_COMPETITOR_PVT
12.1.1
-
PACKAGE: APPS.AS_OPP_COMPETITOR_PVT
12.2.2
-
SYNONYM: APPS.AS_LEADS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AS_LEADS_ALL, status:VALID,
-
SYNONYM: APPS.AS_LEADS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AS_LEADS_ALL, status:VALID,
-
PACKAGE: APPS.AS_UTILITY_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AS_UTILITY_PVT, status:VALID,
-
PACKAGE: APPS.AS_UTILITY_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AS_UTILITY_PVT, status:VALID,
-
PACKAGE BODY: APPS.AS_OPP_COMPETITOR_PVT
12.1.1
-
APPS.AS_OPP_COMPETITOR_PVT dependencies on AS_OPP_COMPETITOR_PVT
12.2.2
-
APPS.AS_OPP_COMPETITOR_PVT dependencies on AS_OPP_COMPETITOR_PVT
12.1.1
-
PACKAGE BODY: APPS.AS_OPP_COMPETITOR_PVT
12.2.2
-
APPS.AS_OPPORTUNITY_PUB dependencies on AS_OPP_COMPETITOR_PVT
12.1.1
-
APPS.AS_OPPORTUNITY_PUB dependencies on AS_OPP_COMPETITOR_PVT
12.2.2
-
SYNONYM: APPS.HZ_PARTIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTIES, status:VALID,
-
SYNONYM: APPS.HZ_PARTIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTIES, status:VALID,
-
PACKAGE: APPS.FND_MSG_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,
-
PACKAGE: APPS.FND_MSG_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,
-
PACKAGE: APPS.FND_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,
-
PACKAGE: APPS.FND_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
PACKAGE: APPS.FND_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, 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_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,