Search Results oe_cansrv
Overview
APPS.OE_CANSRV is a server-side PL/SQL package in Oracle Order Management (Oracle E-Business Suite 12.1.1 / 12.2.2) that encapsulates the cancellation logic for service-related order lines and their associated children. The package is declared AUTHID CURRENT_USER, meaning its SQL executes with the privileges of the invoking schema rather than the defining owner. Its source header ($Header: OECANSVS.pls 115.2 99/07/16 08:10:40) indicates a long-standing, stable code base that has seen minimal revision since the original 11i release.
The central business problem the package addresses is determining whether an order line is eligible for cancellation, coordinating the removal of dependent service lines, and maintaining the integrity of order interface records and holds during the cancellation transaction. In the ETRM 12.2.2 inventory it is classified as API of type OTHER, with ten documented procedures; it is not referenced by any other packaged API, indicating it is typically called directly rather than as a dependency of a higher-level framework routine.
Key Procedures and Functions
- CHECK_LINE_INTERFACED — Determines whether the specified line has already been interfaced to downstream systems, returning a result indicator used to block or permit cancellation.
- CHECK_ORDER_INT_RECS_EXIST — Verifies the presence of order interface records for the line and communicates the associated concurrent process identifier.
- CHECK_ORDER_INT_NOT_IN_PROG — Confirms that no order interface process is currently executing for the line, with an optional error-message flag; returns the concurrent process identifier and a result code.
- MAKE_DELETE_INT_RECS — Creates delete records in the order interface so that previously interfaced service lines are correctly backed out, taking customer product, service, and temporary mass-transaction identifiers.
- CANCEL_SERVICE_CHILDREN — Propagates cancellation to dependent service child lines, carrying cancellation code, comment, full-cancel indicator, status, requested quantity, and concurrent process context.
- CANCEL_LINE — Performs the core cancellation of an individual order line, receiving requested, ordered, and received quantities plus source and line-type codes and returning a result.
- CANCEL_SERVICE — Cancels a service line itself, taking quantity context, header identifier, cancellation code and comment, and returning a result.
- HISTORY — Records or retrieves cancellation history for the affected line.
- HOLDS — Applies or manages holds in connection with the cancellation.
- ALL_HOLDS — Processes the complete set of holds relevant to the line, ensuring hold state remains consistent after cancellation.
Tables Accessed
- CS_ORDERS_INTERFACE_S — Service order interface staging rows inspected and updated to determine interfaced status and to write delete records.
- MTL_SO_RMA_INTERFACE — RMA interface rows relevant when cancelling return-related service lines.
- MTL_SYSTEM_ITEMS — Item definition attributes consulted for validation of the service item being cancelled.
- SO_ORDER_CANCELLATIONS — The primary audit table where cancellation reason codes and comments are stored.
- SO_ORDER_HOLDS and SO_HOLD_RELEASES / SO_HOLD_RELEASES_S — Hold and hold-release records read and maintained so that cancellation does not leave orphaned holds.
- DUAL — Used for single-row computations and validation checks.
Usage Notes
OE_CANSRV is ordinarily invoked indirectly: the Order Management cancellation form and related concurrent programs call the higher-level cancellation framework, which in turn relies on routines of this package. Customizations that need to cancel service lines programmatically — for example, mass cancellation of service subscriptions or cleanup of partially interfaced orders — may call CANCEL_SERVICE or CANCEL_LINE directly, but must first satisfy the interface and progress checks through CHECK_LINE_INTERFACED, CHECK_ORDER_INT_RECS_EXIST, and CHECK_ORDER_INT_NOT_IN_PROG. All procedures communicate outcome through OUT result parameters, so callers must inspect the returned result code rather than relying on exceptions. Because the package is AUTHID CURRENT_USER, execution privileges derive from the calling schema, and direct invocation should generally be restricted to APPS or equivalent responsibility-owning users.
-
PACKAGE: APPS.OE_CANSRV
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_CANSRV, 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,
-
PACKAGE: APPS.OE_CANSRV
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_CANSRV, status:VALID,
-
SYNONYM: APPS.CS_ORDERS_INTERFACE_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CS_ORDERS_INTERFACE_S, status:VALID,
-
SYNONYM: APPS.SO_HOLD_RELEASES_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:SO_HOLD_RELEASES_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.SO_HOLD_RELEASES_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:SO_HOLD_RELEASES_S, status:VALID,
-
SYNONYM: APPS.SO_HOLD_RELEASES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:SO_HOLD_RELEASES, status:VALID,
-
SYNONYM: APPS.SO_HOLD_RELEASES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:SO_HOLD_RELEASES, status:VALID,
-
SYNONYM: APPS.SO_ORDER_HOLDS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:SO_ORDER_HOLDS, status:VALID,
-
SYNONYM: APPS.SO_ORDER_CANCELLATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:SO_ORDER_CANCELLATIONS, status:VALID,
-
SYNONYM: APPS.SO_ORDER_HOLDS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:SO_ORDER_HOLDS, status:VALID,
-
SYNONYM: APPS.MTL_SO_RMA_INTERFACE
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_SO_RMA_INTERFACE, status:VALID,
-
SYNONYM: APPS.MTL_SO_RMA_INTERFACE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_SO_RMA_INTERFACE, status:VALID,
-
PACKAGE: APPS.OE_CANSRV
12.1.1
-
SYNONYM: APPS.SO_ORDER_CANCELLATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:SO_ORDER_CANCELLATIONS, status:VALID,
-
PACKAGE: APPS.OE_MSG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_MSG, status:VALID,
-
PACKAGE: APPS.OE_CANSRV
12.2.2
-
PACKAGE: APPS.OE_MSG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_MSG, status:VALID,
-
VIEW: APPS.CS_ORDERS_INTERFACE
12.2.2
owner:APPS, object_type:VIEW, object_name:CS_ORDERS_INTERFACE, status:VALID,
-
VIEW: APPS.CS_ORDERS_INTERFACE
12.1.1
owner:APPS, object_type:VIEW, object_name:CS_ORDERS_INTERFACE, status:VALID,
-
VIEW: APPS.SO_HOLD_SOURCES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OE.SO_HOLD_SOURCES, object_name:SO_HOLD_SOURCES, status:VALID,
-
VIEW: APPS.SO_HOLD_SOURCES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OE.SO_HOLD_SOURCES, object_name:SO_HOLD_SOURCES, status:VALID,
-
VIEW: APPS.SO_LINES_CANCEL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OE.SO_LINES_CANCEL_V, object_name:SO_LINES_CANCEL_V, status:VALID,
-
VIEW: APPS.SO_LINES_CANCEL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OE.SO_LINES_CANCEL_V, object_name:SO_LINES_CANCEL_V, status:VALID,
-
VIEW: APPS.SO_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OE.SO_LINES, object_name:SO_LINES, status:VALID,
-
VIEW: APPS.SO_LINES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OE.SO_LINES, object_name:SO_LINES, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.OE_CANSRV dependencies on OE_CANSRV
12.2.2
-
APPS.OE_CANSRV dependencies on OE_CANSRV
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.OE_CANSRV
12.2.2
-
PACKAGE BODY: APPS.OE_CANSRV
12.1.1
-
eTRM - OE Tables and Views
12.1.1
description: Temporary table ,
-
SYNONYM: APPS.MTL_SYSTEM_ITEMS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_SYSTEM_ITEMS, status:VALID,
-
SYNONYM: APPS.MTL_SYSTEM_ITEMS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_SYSTEM_ITEMS, status:VALID,
-
eTRM - OE Tables and Views
12.1.1
description: Temporary table ,
-
PACKAGE: APPS.FND_PROFILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
PACKAGE: APPS.FND_PROFILE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
SYNONYM: PUBLIC.DUAL
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, status:VALID,
-
SYNONYM: PUBLIC.DUAL
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, 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: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,