Search Results oe_validate_line_scredit
Overview
OE_VALIDATE_LINE_SCREDIT is a PL/SQL package body owned by the APPS schema in Oracle E-Business Suite Release 12.1.1 and 12.2.2. Its name reflects its role: validation (VALIDATE) of sales credit information (SCREDIT) at the order line level within the Oracle Order Management (OE) module. Sales credits allocate revenue and quota responsibility for an order line across one or more salespersons, and the integrity of this allocation is business-critical because it drives commission calculations, quota attainment reporting, and revenue accounting. The package provides the server-side validation logic that verifies sales credit assignments on order lines against the defined sales credit types, quota rules, and order context before the data is committed.
The package is classified under the ETRM API classification OTHER, meaning it is an internal validation utility rather than a formally published open interface or public API. It is documented in the ETRM repository with status VALID and is referenced by two other packages, confirming that it operates as a shared validation service invoked by higher-level Order Management processing code rather than as a standalone entry point.
Key Procedures and Functions
The documented package exposes four procedures or functions:
- VALIDATE_LSC_QUOTA_TOTAL — The principal validation routine. It verifies the quota total associated with line-level sales credits, ensuring that the allocation of quota across salespersons on an order line satisfies the quota distribution rules defined for the applicable sales credit type. This prevents order lines from being saved with quota allocations that are incomplete, over-allocated, or inconsistent with the configured sales credit type.
- ENTITY — Supports the entity-level validation and attribute resolution required when validating sales credit records. It establishes the entity context (the order line and its associated sales credit records) against which validation is performed.
- ATTRIBUTES — Handles validation of the individual attributes of a sales credit record, such as the salesperson, sales credit type, and percentage or quota values assigned to each credit line.
- ENTITY_DELETE — Manages validation behavior when sales credit records are deleted from an order line, ensuring that removal of a credit line does not leave the remaining allocation in an invalid state.
Tables Accessed
The package references two application tables through APPS synonyms:
- OE_SALES_CREDITS — The transactional table storing sales credit assignments for order lines, including the salesperson and the percentage or quota split. The package reads this table to evaluate the current allocation and validate it against business rules.
- OE_SALES_CREDIT_TYPES — The setup table defining the valid sales credit types and their associated rules, including whether quota is enforced and how credit is allocated. This table supplies the validation criteria applied to each credit record.
Usage Notes
OE_VALIDATE_LINE_SCREDIT is an internal validation package. It is not intended to be called directly from the Order Management responsibility menus or from concurrent program definitions, but is invoked programmatically by other Order Management PL/SQL packages during order entry, order import, and order maintenance processing. Because it is referenced by two other packages, customizations that alter sales credit validation behavior should be implemented by wrapping or extending the calling packages rather than modifying this package body directly. Any modification to the package invalidates it and risks breaking Order Management sales credit processing. Developers integrating external systems should note that sales credit validation normally occurs through the Order Management public APIs, which internally delegate to validation routines of this type.
-
PACKAGE BODY: APPS.OE_VALIDATE_LINE_SCREDIT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_VALIDATE_LINE_SCREDIT, status:VALID,
-
PACKAGE: APPS.OE_VALIDATE_LINE_SCREDIT
12.1.1
-
PACKAGE: APPS.OE_VALIDATE_LINE_SCREDIT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_VALIDATE_LINE_SCREDIT, status:VALID,
-
PACKAGE BODY: APPS.OE_VALIDATE_LINE_SCREDIT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_VALIDATE_LINE_SCREDIT, status:VALID,
-
PACKAGE: APPS.OE_VALIDATE_LINE_SCREDIT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_VALIDATE_LINE_SCREDIT, status:VALID,
-
PACKAGE: APPS.OE_VALIDATE_LINE_SCREDIT
12.2.2
-
PACKAGE: APPS.OE_ORDER_MISC_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_ORDER_MISC_PUB, status:VALID,
-
PACKAGE: APPS.OE_DELAYED_REQUESTS_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_DELAYED_REQUESTS_UTIL, status:VALID,
-
PACKAGE: APPS.OE_DELAYED_REQUESTS_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_DELAYED_REQUESTS_UTIL, status:VALID,
-
PACKAGE: APPS.OE_VALIDATE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_VALIDATE, status:VALID,
-
PACKAGE: APPS.OE_ORDER_MISC_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_ORDER_MISC_PUB, status:VALID,
-
PACKAGE: APPS.OE_VALIDATE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_VALIDATE, status:VALID,
-
SYNONYM: APPS.OE_SALES_CREDITS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_SALES_CREDITS, status:VALID,
-
SYNONYM: APPS.OE_SALES_CREDIT_TYPES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_SALES_CREDIT_TYPES, status:VALID,
-
SYNONYM: APPS.OE_SALES_CREDITS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_SALES_CREDITS, status:VALID,
-
SYNONYM: APPS.OE_SALES_CREDIT_TYPES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_SALES_CREDIT_TYPES, status:VALID,
-
PACKAGE BODY: APPS.OE_ORDER_BOOK_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ORDER_BOOK_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_ORDER_BOOK_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ORDER_BOOK_UTIL, status:VALID,
-
PACKAGE: APPS.OE_DELAYED_REQUESTS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_DELAYED_REQUESTS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OE_ORDER_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ORDER_PVT, status:VALID,
-
PACKAGE: APPS.OE_ORDER_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_ORDER_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_ORDER_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ORDER_PVT, status:VALID,
-
PACKAGE: APPS.OE_DELAYED_REQUESTS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_DELAYED_REQUESTS_PVT, status:VALID,
-
PACKAGE: APPS.OE_ORDER_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_ORDER_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_VALIDATE_LINE_SCREDIT
12.1.1
-
PACKAGE BODY: APPS.OE_VALIDATE_LINE_SCREDIT
12.2.2
-
PACKAGE: APPS.OE_ORDER_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_ORDER_PUB, status:VALID,
-
PACKAGE: APPS.OE_ORDER_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_ORDER_PUB, status:VALID,
-
APPS.OE_ORDER_BOOK_UTIL dependencies on OE_VALIDATE_LINE_SCREDIT
12.2.2
-
APPS.OE_ORDER_PVT dependencies on OE_VALIDATE_LINE_SCREDIT
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
APPS.OE_VALIDATE_LINE_SCREDIT dependencies on OE_VALIDATE_LINE_SCREDIT
12.1.1
-
APPS.OE_ORDER_PVT dependencies on OE_VALIDATE_LINE_SCREDIT
12.2.2
-
APPS.OE_ORDER_BOOK_UTIL dependencies on OE_VALIDATE_LINE_SCREDIT
12.1.1
-
APPS.OE_VALIDATE_LINE_SCREDIT dependencies on OE_VALIDATE_LINE_SCREDIT
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.OE_GLOBALS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_GLOBALS, status:VALID,
-
PACKAGE: APPS.OE_GLOBALS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_GLOBALS, status:VALID,
-
PACKAGE: APPS.OE_MSG_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_MSG_PUB, status:VALID,
-
PACKAGE: APPS.OE_MSG_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_MSG_PUB, status:VALID,
-
PACKAGE: APPS.OE_DEBUG_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_DEBUG_PUB, status:VALID,
-
PACKAGE: APPS.OE_DEBUG_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_DEBUG_PUB, status:VALID,
-
APPS.OE_VALIDATE_LINE_SCREDIT dependencies on OE_VALIDATE
12.2.2
-
APPS.OE_VALIDATE_LINE_SCREDIT dependencies on OE_VALIDATE
12.1.1
-
APPS.OE_VALIDATE_LINE_SCREDIT dependencies on OE_ORDER_PUB
12.2.2
-
APPS.OE_VALIDATE_LINE_SCREDIT dependencies on OE_ORDER_PUB
12.1.1
-
PACKAGE: APPS.FND_MSG_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,
-
PACKAGE: APPS.FND_MSG_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,