Search Results validate_sales_credit
Overview
The APPS.OKS_SALES_CREDIT_PUB package is a public PL/SQL API within the Oracle E-Business Suite service contracts (OKS) module, classified under the ETRM repository as a PUB (public) API and owned by the APPS schema. Its principal business function is to manage sales credit records associated with service contract and subscription transactions. Sales credits distribute the revenue or quota credit for a given sales transaction across one or more salespersons, and this package provides the programmatic interface through which such records are created, modified, locked, removed, and validated. The package acts as the public wrapper over the underlying private implementation in OKS_SALES_CREDIT_PVT, exposing a stable, externally callable surface for both Oracle's own application code and customer extensions. It is an AUTHID CURRENT_USER package, meaning that runtime privileges are evaluated against the calling user rather than the package owner.
Key Procedures and Functions
The package exposes ten documented procedures and functions, all of which serve the sales credit entity lifecycle and follow the standard EBS API conventions (an p_api_version input, an p_init_msg_list flag, and the standard x_return_status, x_msg_count, and x_msg_data output message parameters).
- INSERT_SALES_CREDIT — Creates new sales credit records. Overloaded to accept either a single record (
scrv_rec_type) or a collection of records (scrv_tbl_type), returning the inserted data through the corresponding output parameter. - LOCK_SALES_CREDIT — Obtains a lock on existing sales credit records so that they cannot be modified concurrently by another session. It is likewise overloaded for single-record and table-based (bulk) invocation.
- UPDATE_SALES_CREDIT — Modifies existing sales credit records, again overloaded to process either an individual record or a set of records.
- DELETE_SALES_CREDIT — Removes sales credit records that are no longer applicable to the transaction.
- VALIDATE_SALES_CREDIT — Performs validation of the supplied sales credit data prior to persistence, confirming that the record satisfies the business rules required by the service contracts model. This is the procedure most directly associated with the user search term "validate_sales_credit" and is typically the entry point consulted when developers need to programmatically check sales credit data integrity.
Tables Accessed
The ETRM metadata documents a single table reference for this package: PLITBLM, accessed through an APPS synonym. PLITBLM is an Oracle Applications internal table used by the PL/SQL messaging and error-handling infrastructure; its role here is to support the standard message-stack mechanism driven by p_init_msg_list and consumed through x_msg_count and x_msg_data. The substantive sales credit data itself is manipulated by the underlying private package (OKS_SALES_CREDIT_PVT), which observes the sales credit base tables on behalf of the public API. Because the public layer follows the thin-wrapper pattern, direct DML against the sales credit entity tables occurs in the private layer rather than in OKS_SALES_CREDIT_PUB itself.
Usage Notes
OKS_SALES_CREDIT_PUB is referenced by ten other packages in the E-Business Suite, indicating that it is an integration point rather than a terminal API. It is typically invoked from the service contracts forms layer and from concurrent programs that process contract, subscription, and order-related sales credit data, as well as from customer-written extensions that must create or maintain sales credit records programmatically. Callers should always supply a valid p_api_version, initialise the message list as required, and inspect x_return_status together with the message stack before proceeding. Bulk operations should use the table-based overloads of INSERT, LOCK, and UPDATE to reduce round trips. Validation should be performed through VALIDATE_SALES_CREDIT before committing data, and direct DML against the underlying sales credit tables should be avoided in favour of the documented API to preserve data integrity and business-rule enforcement.
-
PACKAGE: APPS.OKS_SALES_CREDIT_PUB
12.2.2
-
PACKAGE BODY: APPS.OKS_SALES_CREDIT_PVT
12.1.1
-
PACKAGE BODY: APPS.OKS_SALES_CREDIT_PVT
12.2.2
-
PACKAGE: APPS.OKC_SALES_CREDIT_PUB
12.1.1
-
PACKAGE: APPS.OKC_SALES_CREDIT_PUB
12.2.2
-
PACKAGE BODY: APPS.OKC_SALES_CREDIT_PUB
12.2.2
-
PACKAGE: APPS.OKS_SALES_CREDIT_PUB
12.1.1
-
PACKAGE BODY: APPS.OKC_SALES_CREDIT_PVT
12.2.2
-
PACKAGE BODY: APPS.OKS_SALES_CREDIT_PUB
12.1.1
-
PACKAGE BODY: APPS.OKC_SALES_CREDIT_PVT
12.1.1
-
PACKAGE BODY: APPS.OKC_SALES_CREDIT_PUB
12.1.1
-
PACKAGE BODY: APPS.OKS_SALES_CREDIT_PUB
12.2.2
-
PACKAGE: APPS.OKC_SALES_CREDIT_PVT
12.1.1
-
PACKAGE: APPS.OKS_SALES_CREDIT_PVT
12.1.1
-
PACKAGE: APPS.OKS_SALES_CREDIT_PVT
12.2.2
-
PACKAGE: APPS.OKC_SALES_CREDIT_PVT
12.2.2
-
PACKAGE BODY: APPS.AS_OPP_SALES_CREDIT_PVT
12.1.1
-
PACKAGE BODY: APPS.AS_OPP_SALES_CREDIT_PVT
12.2.2
-
PACKAGE: APPS.AS_OPP_SALES_CREDIT_PVT
12.1.1
-
PACKAGE: APPS.AS_OPP_SALES_CREDIT_PVT
12.2.2
-
APPS.OKC_SALES_CREDIT_PVT dependencies on OKC_SALES_CREDIT_PVT
12.1.1
-
APPS.OKS_SALES_CREDIT_PUB dependencies on OKS_SALES_CREDIT_PUB
12.2.2
-
APPS.OKS_SALES_CREDIT_PVT dependencies on OKS_SALES_CREDIT_PVT
12.2.2
-
APPS.OKC_SALES_CREDIT_PUB dependencies on OKC_SALES_CREDIT_PUB
12.2.2
-
APPS.OKC_SALES_CREDIT_PVT dependencies on OKC_SALES_CREDIT_PVT
12.2.2
-
APPS.OKS_SALES_CREDIT_PUB dependencies on OKS_SALES_CREDIT_PUB
12.1.1
-
APPS.OKC_SALES_CREDIT_PUB dependencies on OKC_SALES_CREDIT_PUB
12.1.1
-
APPS.OKS_SALES_CREDIT_PVT dependencies on OKS_SALES_CREDIT_PVT
12.1.1
-
APPS.OKS_SALES_CREDIT_PUB dependencies on OKC_API
12.2.2
-
APPS.OKC_SALES_CREDIT_PUB dependencies on OKC_API
12.1.1
-
APPS.OKS_SALES_CREDIT_PUB dependencies on OKC_API
12.1.1
-
APPS.OKC_SALES_CREDIT_PUB dependencies on OKC_API
12.2.2
-
APPS.OKS_SALES_CREDIT_PVT dependencies on OKC_API
12.1.1
-
APPS.OKS_SALES_CREDIT_PVT dependencies on OKC_API
12.2.2
-
APPS.AS_OPP_SALES_CREDIT_PVT dependencies on AS_UTILITY_PVT
12.1.1
-
APPS.AS_OPP_SALES_CREDIT_PVT dependencies on AS_UTILITY_PVT
12.2.2
-
APPS.OKS_SALES_CREDIT_PVT dependencies on OKC_API
12.1.1
-
APPS.OKS_SALES_CREDIT_PVT dependencies on OKC_API
12.2.2
-
APPS.AS_OPP_SALES_CREDIT_PVT dependencies on AS_OPPORTUNITY_PUB
12.1.1
-
APPS.AS_OPP_SALES_CREDIT_PVT dependencies on AS_OPPORTUNITY_PUB
12.2.2
-
APPS.AS_OPP_SALES_CREDIT_PVT dependencies on FND_API
12.1.1
-
APPS.AS_OPP_SALES_CREDIT_PVT dependencies on FND_API
12.2.2
-
APPS.AS_OPP_SALES_CREDIT_PVT dependencies on FND_MSG_PUB
12.1.1
-
APPS.AS_OPP_SALES_CREDIT_PVT dependencies on FND_MSG_PUB
12.2.2
-
APPS.OKS_SALES_CREDIT_PUB dependencies on OKC_API
12.2.2
-
APPS.OKS_SALES_CREDIT_PUB dependencies on OKC_API
12.1.1
-
APPS.AS_OPP_SALES_CREDIT_PVT dependencies on AS_OPPORTUNITY_PUB
12.1.1
-
APPS.AS_OPP_SALES_CREDIT_PVT dependencies on FND_API
12.2.2
-
APPS.AS_OPP_SALES_CREDIT_PVT dependencies on FND_API
12.1.1
-
APPS.AS_OPP_SALES_CREDIT_PVT dependencies on AS_OPPORTUNITY_PUB
12.2.2