Search Results cs_orders_interface_s
Overview
APPS.OE_CANSRV is a valid PL/SQL package body in the Oracle E-Business Suite Order Management schema. Its name reflects its role as the Order Entry cancellation service package, responsible for orchestrating the cancellation of sales order lines and their associated service (RMA and service order) children. The package provides the procedural logic required to evaluate whether an order or line is eligible for cancellation, to detect interface records already in flight, to release or preserve holds, and to write cancellation history records. It is a supporting package rather than a standalone API: the metadata lists no other database object referencing it, so it is invoked internally by Order Management forms, concurrent processing, or other OE packages rather than being called from external custom code in a documented public interface.
Key Procedures and Functions
The ETRM metadata documents ten procedures and functions in this package body:
- CHECK_LINE_INTERFACED — Determines whether a given line has already been interfaced, guarding against duplicate or conflicting cancellation processing.
- CHECK_ORDER_INT_RECS_EXIST — Verifies whether order interface records exist for the order under consideration.
- CHECK_ORDER_INT_NOT_IN_PROG — Checks that order interface processing is not currently in progress, preventing cancellation from colliding with an active interface run.
- MAKE_DELETE_INT_RECS — Creates or flags interface records for deletion as part of the cancellation flow.
- CANCEL_SERVICE_CHILDREN — Handles cancellation of service-related child records, such as RMA or service order lines associated with the parent.
- CANCEL_LINE — Performs the cancellation of an individual order line, including hold evaluation and status updates.
- CANCEL_SERVICE — Drives cancellation at the service level, coordinating child processing and line-level cancellation.
- HISTORY — Records cancellation history, providing an audit trail of the cancellation action.
- HOLDS — Applies or evaluates holds relevant to the cancellation, including release logic.
- ALL_HOLDS — Retrieves or processes the complete set of holds affecting the order or line during cancellation.
Tables Accessed
The package reads and writes the following documented tables, accessed through APPS synonyms:
- CS_ORDERS_INTERFACE_S — The service orders interface sequence, referenced alongside the CS_ORDERS_INTERFACE table for service order interface processing. This is the object most closely associated with the user's search term "cs_orders_interface_s."
- MTL_SO_RMA_INTERFACE — Used to manage RMA interface records generated or removed during cancellation.
- MTL_SYSTEM_ITEMS — Provides item attribute information needed to validate or classify the items being cancelled.
- SO_HOLD_RELEASES and SO_HOLD_RELEASES_S — Support release of holds applied to the order or line.
- SO_ORDER_CANCELLATIONS — Stores the cancellation records produced by the package.
- SO_ORDER_HOLDS — Holds applied at the order level that must be evaluated during cancellation.
- DUAL — Used for single-row SQL expressions.
Usage Notes
OE_CANSRV is an internal Order Management utility. It is not referenced by any other database object per the ETRM metadata, indicating that it is invoked from within the Order Management application layer—typically from the Sales Orders form when a user cancels an order or line, or from concurrent programs that perform bulk cancellation. Because the package depends on FND_PROFILE, OE_MSG, SO_HOLD_SOURCES, SO_LINES, SO_LINES_CANCEL_V, and other OE objects, it should be treated as a private implementation detail rather than a supported public API. Customizations should avoid calling its procedures directly; instead, the supported Order Management APIs or the standard cancellation UI should be used so that hold release, interface cleanup, and history recording remain consistent. Any direct invocation risks leaving interface records, holds, or cancellation history in an inconsistent state.
-
SEQUENCE: CS.CS_ORDERS_INTERFACE_S
12.1.1
owner:CS, object_type:SEQUENCE, object_name:CS_ORDERS_INTERFACE_S, status:VALID,
-
SEQUENCE: CS.CS_ORDERS_INTERFACE_S
12.2.2
owner:CS, object_type:SEQUENCE, object_name:CS_ORDERS_INTERFACE_S, status:VALID,
-
SYNONYM: APPS.CS_ORDERS_INTERFACE_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CS_ORDERS_INTERFACE_S, status:VALID,
-
SYNONYM: APPS.CS_ORDERS_INTERFACE_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CS_ORDERS_INTERFACE_S, status:VALID,
-
PACKAGE BODY: APPS.OE_CANSRV
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CANSRV, status:VALID,
-
PACKAGE BODY: APPS.OE_CANSRV
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CANSRV, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.OE_CANSRV dependencies on CS_ORDERS_INTERFACE_S
12.1.1
-
APPS.OE_CANSRV dependencies on CS_ORDERS_INTERFACE_S
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1