Search Results oe_line_scredit_util
Overview
The APPS.OE_LINE_SCREDIT_UTIL package body is a utility package within the Oracle Order Management (OM) module of Oracle E-Business Suite. Its business function is to manage sales credit assignments at the order line level. Sales credits allocate revenue or quota credit to one or more sales representatives associated with a line on a sales order. This package provides the programmatic infrastructure for creating, maintaining, and validating those line-level sales credit records throughout the order lifecycle, from initial booking through change order processing.
The package is classified as a UTIL (utility) API in ETRM, meaning it is intended primarily for internal use by other Order Management packages and engine components rather than as a public, externally supported interface. It exposes 19 documented procedures and functions and references three primary base tables. Consistent with Oracle OM's internal architecture, the package relies heavily on the OE rowtype/API conversion idiom, providing the standard plumbing required to translate between database rows and the PL/SQL record structures used by the public order APIs.
Key Procedures and Functions
The documented routines fall into several functional groups:
- Rowtype and API conversion:
API_REC_TO_ROWTYPE_REC,ROWTYPE_REC_TO_API_REC, andG_MISS_OE_AK_LINE_SCREDIT_REChandle translation between API-layer records and the underlying table rowtype, including the standard "miss" (missing column) record that marks attributes not supplied by the caller.CONVERT_MISS_TO_NULLfurther normalizes these placeholders. - Attribute management:
CLEAR_DEPENDENT_ATTRandAPPLY_ATTRIBUTE_CHANGESmanage dependent attribute state when a sales credit record is modified, andCOMPLETE_RECORDfills in defaults to produce a complete row. - DML operations:
INSERT_ROW,UPDATE_ROW,DELETE_ROW,LOCK_ROW, andLOCK_ROWSprovide the standard insert, update, delete, and locking primitives for the line sales credit table, with locking supporting concurrency control during order maintenance. - Query operations:
QUERY_ROWandQUERY_ROWSretrieve single or multiple sales credit records for a given line. - Identifier translation:
GET_VALUESandGET_IDSconvert internal IDs to display values and vice versa, supporting the value/id mapping used throughout OM. - Business processing:
CREATE_CREDITis the principal business operation, creating a new line-level sales credit, whilePRE_WRITE_PROCESSperforms pre-write validation and preparation before persistence.
Tables Accessed
- OE_SALES_CREDITS — the primary transactional table storing sales credit assignments for both headers and lines. This package inserts, updates, and deletes line-level rows here.
- OE_SALES_CREDIT_HISTORY — the audit/history table capturing prior versions of sales credit records, written when credits are changed or superseded during change order processing.
- OE_SALES_CREDIT_TYPES — the setup table defining valid sales credit types (for example, quota or revenue credit categories). This package reads it for validation and defaulting.
- PLITBLM — the Oracle-supplied PL/SQL table API used for bulk collection handling within the utility logic.
The package also references the OE_AK_LINE_SCREDITS_V view, which exposes the sales credit data in the multi-language or forms-friendly format, and depends on companion utilities such as OE_HEADER_SCREDIT_UTIL for header-level credit handling.
Usage Notes
OE_LINE_SCREDIT_UTIL is invoked internally by core Order Management packages rather than being called directly by end users or typical custom integrations. Its dependency list shows direct references from OE_ORDER_PUB, OE_ORDER_PVT, OE_CHG_ORDER_PVT, and OE_HEADER_SCREDIT_UTIL, confirming it sits behind the public order APIs and the change order engine. It is referenced by 15 other packages in total.
Typical invocation contexts include the Sales Orders form (order entry, line-level Sales Credits tab), the Order Management change order workflow, delayed request processing, and order import or validation routines that populate sales credits programmatically. It relies on the standard OM toolkit — FND_API, FND_MESSAGE, FND_MSG_PUB, OE_MSG_PUB, and OE_DEBUG_PUB — for API return status, message publishing, and debug logging, so callers should follow the standard OM API error-handling pattern of inspecting the returned status and message list.
The package is not referenced by any database object outside this set, underlining its role as a private implementation helper. It is not an entry point for direct custom development; customizations requiring sales credit manipulation should use the supported public APIs, which in turn delegate to this utility.
-
PACKAGE BODY: APPS.OE_LINE_SCREDIT_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_LINE_SCREDIT_UTIL, status:VALID,
-
PACKAGE: APPS.OE_LINE_SCREDIT_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_LINE_SCREDIT_UTIL, status:VALID,
-
PACKAGE: APPS.OE_LINE_SCREDIT_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_LINE_SCREDIT_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_LINE_SCREDIT_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_LINE_SCREDIT_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_LINE_SCREDIT_CL_DEP_ATTR
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_LINE_SCREDIT_CL_DEP_ATTR, status:VALID,
-
PACKAGE: APPS.OE_CHG_ORDER_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_CHG_ORDER_PVT, status:VALID,
-
PACKAGE: APPS.OE_DEPENDENCIES
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_DEPENDENCIES, status:VALID,
-
SYNONYM: APPS.OE_SALES_CREDIT_HISTORY
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_SALES_CREDIT_HISTORY, status:VALID,
-
PACKAGE BODY: APPS.OE_DEFAULT_LINE_SCREDIT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_DEFAULT_LINE_SCREDIT, status:VALID,
-
PACKAGE BODY: APPS.OE_DEFAULT_LINE_SCREDIT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_DEFAULT_LINE_SCREDIT, status:VALID,
-
PACKAGE BODY: APPS.OE_OE_FORM_LINE_SCREDIT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_OE_FORM_LINE_SCREDIT, status:VALID,
-
PACKAGE: APPS.OE_DEPENDENCIES
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_DEPENDENCIES, status:VALID,
-
PACKAGE: APPS.OE_CHG_ORDER_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_CHG_ORDER_PVT, status:VALID,
-
PACKAGE BODY: APPS.OE_LINE_SCREDIT_CL_DEP_ATTR
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_LINE_SCREDIT_CL_DEP_ATTR, status:VALID,
-
PACKAGE BODY: APPS.OE_OE_MULTI_LINE_SCREDIT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_OE_MULTI_LINE_SCREDIT, status:VALID,
-
PACKAGE BODY: APPS.OE_LINE_SCREDIT_SECURITY
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_LINE_SCREDIT_SECURITY, status:VALID,
-
SYNONYM: APPS.OE_SALES_CREDIT_HISTORY
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_SALES_CREDIT_HISTORY, status:VALID,
-
PACKAGE BODY: APPS.OE_LINE_SCREDIT_SECURITY
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_LINE_SCREDIT_SECURITY, status:VALID,
-
PACKAGE: APPS.OE_VERSIONING_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_VERSIONING_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_VERSION_HISTORY_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_VERSION_HISTORY_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_OE_FORM_LINE_SCREDIT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_OE_FORM_LINE_SCREDIT, status:VALID,
-
PACKAGE BODY: APPS.OE_VERSION_HISTORY_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_VERSION_HISTORY_UTIL, status:VALID,
-
PACKAGE: APPS.OE_HEADER_SCREDIT_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_HEADER_SCREDIT_UTIL, status:VALID,
-
PACKAGE: APPS.OE_VALIDATE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_VALIDATE, status:VALID,
-
PACKAGE BODY: APPS.OE_CHG_ORDER_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CHG_ORDER_PVT, status:VALID,
-
PACKAGE BODY: APPS.OE_OE_MULTI_LINE_SCREDIT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_OE_MULTI_LINE_SCREDIT, status:VALID,
-
PACKAGE: APPS.OE_VERSIONING_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_VERSIONING_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_SPLIT_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_SPLIT_UTIL, status:VALID,
-
SYNONYM: APPS.OE_SALES_CREDITS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_SALES_CREDITS, status:VALID,
-
PACKAGE BODY: APPS.OE_ORDER_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ORDER_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_ORDER_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ORDER_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_SPLIT_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_SPLIT_UTIL, status:VALID,
-
PACKAGE: APPS.OE_VALUE_TO_ID
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_VALUE_TO_ID, status:VALID,
-
SYNONYM: APPS.OE_SALES_CREDIT_TYPES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_SALES_CREDIT_TYPES, status:VALID,
-
SYNONYM: APPS.OE_SALES_CREDITS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_SALES_CREDITS, status:VALID,
-
PACKAGE BODY: APPS.OE_ORDER_GRP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ORDER_GRP, status:VALID,
-
PACKAGE BODY: APPS.OE_CHG_ORDER_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CHG_ORDER_PVT, status:VALID,
-
VIEW: APPS.OE_AK_LINE_SCREDITS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_AK_LINE_SCREDITS_V, object_name:OE_AK_LINE_SCREDITS_V, status:VALID,
-
VIEW: APPS.OE_AK_LINE_SCREDITS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_AK_LINE_SCREDITS_V, object_name:OE_AK_LINE_SCREDITS_V, status:VALID,
-
PACKAGE BODY: APPS.OE_ORDER_GRP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ORDER_GRP, status:VALID,
-
PACKAGE: APPS.OE_VALIDATE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_VALIDATE, status:VALID,
-
PACKAGE: APPS.OE_VALUE_TO_ID
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_VALUE_TO_ID, status:VALID,
-
PACKAGE: APPS.OE_HEADER_SCREDIT_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_HEADER_SCREDIT_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_CNCL_ORDER_IMPORT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CNCL_ORDER_IMPORT_PVT, status:VALID,
-
PACKAGE: APPS.OE_ID_TO_VALUE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_ID_TO_VALUE, status:VALID,
-
PACKAGE: APPS.OE_ID_TO_VALUE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_ID_TO_VALUE, status:VALID,
-
PACKAGE BODY: APPS.OE_ORDER_COPY_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ORDER_COPY_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_CNCL_ORDER_IMPORT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CNCL_ORDER_IMPORT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OE_ORDER_COPY_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ORDER_COPY_UTIL, status:VALID,
-
SYNONYM: APPS.OE_SALES_CREDIT_TYPES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_SALES_CREDIT_TYPES, status:VALID,