Search Results oe_sales_can_util
Overview
OE_SALES_CAN_UTIL is a utility package owned by the APPS schema in Oracle E-Business Suite Release 12.1.1 and 12.2.2. It encapsulates the business logic required to cancel sales order lines, cancel remaining quantities on partially fulfilled orders, and manage the fulfillment and workflow consequences of those cancellations. The package is classified as a UTIL (utility) component within the Oracle Order Management (OM) module, meaning it provides reusable internal services consumed by higher-level order entry, scheduling, and configuration packages rather than exposing a formal public API. Its responsibilities span order line cancellation, canceled quantity computation, service line updates, workflow activity termination, and price adjustment cleanup.
The package forms part of the internal architecture supporting the Cancel Line and Cancel Order flows available from the Sales Orders form and related concurrent programs. It is not intended to be called directly by external integrations; Oracle's supported public interfaces remain OE_ORDER_PUB and its related APIs, one of which (OE_ORDER_PUB) this package itself depends on.
Key Procedures and Functions
The ETRM documentation identifies eleven documented program units within OE_SALES_CAN_UTIL. Their names and functions are as follows:
- PERFORM_CANCEL_ORDER — Orchestrates the cancellation of an entire order, driving the subsequent cancellation steps across its lines.
- CANCEL_REMAINING_ORDER — Cancels the unfilled remaining quantity of an order that has been partially shipped or fulfilled.
- CANCEL_WF — Terminates or otherwise handles the Oracle Workflow processes associated with the order or line being canceled.
- CALL_PROCESS_FULFILLMENT — Invokes fulfillment processing logic in the context of the cancellation, ensuring downstream fulfillment tasks are correctly resolved.
- CHECK_CONSTRAINTS — Validates business constraints that must be satisfied before a cancellation is permitted.
- UPDATE_SERVICE — Updates associated service lines or service references when a parent order line is canceled.
- CAL_CANCELLED_QTY and CAL_CANCELLED_QTY2 — Compute canceled quantities, providing the arithmetic basis used to determine how much of a line or order remains to be canceled.
- PERFORM_LINE_CHANGE — Applies the line-level changes required as part of the cancellation transaction.
- QUERY_ROWS — Retrieves the rows (lines, sets, or workflow records) that the cancellation logic must process.
The package depends on FND_API, STANDARD, and OE_ORDER_PUB, and is referenced by nine other packages, including OE_CONFIG_PVT, OE_CONFIG_SCHEDULE_PVT, OE_DELAYED_REQUESTS_PVT, OE_HEADER_UTIL, OE_INTERNAL_REQUISITION_PVT, OE_LINE_SECURITY, OE_LINE_UTIL, OE_OE_FORM_CANCEL_LINE, OE_SCHEDULE_UTIL, and itself.
Tables Accessed
Through APPS synonyms, the package reads and writes the core Order Management tables that define order structure and pricing:
- OE_ORDER_LINES / OE_ORDER_LINES_ALL — The primary order line records whose cancellation status, quantities, and flags are updated.
- OE_LINE_SETS / OE_SETS — Used to resolve line set (configuration) groupings affected by cancellation.
- OE_PRICE_ADJUSTMENTS / OE_PRICE_ADJ_ASSOCS — Price adjustments and their associations are cleaned up or recalculated when lines are canceled.
- OE_HOLD_DEFINITIONS / OE_HOLD_RELEASES — Holds applied to lines may need to be released or evaluated during cancellation.
- WF_ITEM_ACTIVITY_STATUSES / WF_PROCESS_ACTIVITIES — Oracle Workflow tables are accessed to identify and terminate the workflow activities tied to the canceled order or line.
- PLITBLM — The standard Oracle PL/SQL table used for in-memory collections during bulk processing.
Usage Notes
OE_SALES_CAN_UTIL is an internal utility and is not documented as a public API; Oracle does not support direct invocation from custom code. In practice it is invoked indirectly through the Sales Orders form (notably via OE_OE_FORM_CANCEL_LINE), through Order Management concurrent programs, and by peer packages such as OE_HEADER_UTIL, OE_LINE_UTIL, and OE_SCHEDULE_UTIL that manage order lifecycle events. When customizations must cancel lines, the supported approach is to call the public OE_ORDER_PUB APIs, which in turn reach this utility. Because the package manipulates workflow statuses and pricing associations directly, any changes to its behavior can affect order holds, fulfillment, and price adjustments, so it should be treated as Oracle-owned code and never modified. References to it in the data dictionary are useful primarily for dependency and impact analysis after patches or upgrades.
-
PACKAGE: APPS.OE_SALES_CAN_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_SALES_CAN_UTIL, status:VALID,
-
PACKAGE: APPS.OE_SALES_CAN_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_SALES_CAN_UTIL, status:VALID,
-
PACKAGE: APPS.OE_SALES_CAN_UTIL
12.2.2
-
PACKAGE: APPS.OE_SALES_CAN_UTIL
12.1.1
-
PACKAGE BODY: APPS.OE_SALES_CAN_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_SALES_CAN_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_SALES_CAN_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_SALES_CAN_UTIL, status:VALID,
-
PACKAGE: APPS.OE_LINE_FULLFILL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_LINE_FULLFILL, 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: APPS.OE_HOLD_SOURCES_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_HOLD_SOURCES_PVT, status:VALID,
-
SYNONYM: APPS.OE_LINE_SETS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_LINE_SETS, status:VALID,
-
PACKAGE: APPS.OE_OE_FORM_CANCEL_LINE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_OE_FORM_CANCEL_LINE, status:VALID,
-
PACKAGE: APPS.OE_LINE_FULLFILL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_LINE_FULLFILL, status:VALID,
-
SYNONYM: APPS.OE_LINE_SETS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_LINE_SETS, status:VALID,
-
PACKAGE: APPS.OE_OE_FORM_CANCEL_LINE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_OE_FORM_CANCEL_LINE, status:VALID,
-
PACKAGE: APPS.OE_PREPAYMENT_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_PREPAYMENT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OE_INTERNAL_REQUISITION_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_INTERNAL_REQUISITION_PVT, status:VALID,
-
PACKAGE: APPS.OE_PREPAYMENT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_PREPAYMENT_PVT, status:VALID,
-
PACKAGE: APPS.OE_OTA_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_OTA_UTIL, status:VALID,
-
PACKAGE: APPS.OE_HOLD_SOURCES_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_HOLD_SOURCES_PVT, status:VALID,
-
PACKAGE BODY: APPS.OE_OE_FORM_CANCEL_LINE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_OE_FORM_CANCEL_LINE, status:VALID,
-
PACKAGE BODY: APPS.OE_LINE_SECURITY
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_LINE_SECURITY, status:VALID,
-
SYNONYM: APPS.OE_HOLD_RELEASES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_HOLD_RELEASES, 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_PREPAYMENT_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_PREPAYMENT_UTIL, status:VALID,
-
PACKAGE: APPS.OE_VERSIONING_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_VERSIONING_UTIL, status:VALID,
-
PACKAGE: APPS.OE_OTA_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_OTA_UTIL, status:VALID,
-
SYNONYM: APPS.OE_HOLD_DEFINITIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_HOLD_DEFINITIONS, status:VALID,
-
SYNONYM: APPS.OE_PRICE_ADJ_ASSOCS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_PRICE_ADJ_ASSOCS, status:VALID,
-
SYNONYM: APPS.OE_PRICE_ADJ_ASSOCS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_PRICE_ADJ_ASSOCS, status:VALID,
-
PACKAGE: APPS.OE_SET_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_SET_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_OE_FORM_CANCEL_LINE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_OE_FORM_CANCEL_LINE, status:VALID,
-
PACKAGE BODY: APPS.OE_LINE_SECURITY
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_LINE_SECURITY, status:VALID,
-
PACKAGE: APPS.OE_HOLDS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_HOLDS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OE_CONFIG_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CONFIG_PVT, status:VALID,
-
PACKAGE BODY: APPS.OE_CONFIG_SCHEDULE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CONFIG_SCHEDULE_PVT, status:VALID,
-
SYNONYM: APPS.OE_HOLD_DEFINITIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_HOLD_DEFINITIONS, status:VALID,
-
PACKAGE BODY: APPS.OE_INTERNAL_REQUISITION_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_INTERNAL_REQUISITION_PVT, status:VALID,
-
SYNONYM: APPS.OE_HOLD_RELEASES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_HOLD_RELEASES, status:VALID,
-
PACKAGE: APPS.OE_PREPAYMENT_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_PREPAYMENT_UTIL, status:VALID,
-
PACKAGE: APPS.OE_SET_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_SET_UTIL, status:VALID,
-
PACKAGE: APPS.OE_HEADER_ADJ_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_HEADER_ADJ_UTIL, status:VALID,
-
PACKAGE: APPS.OE_VERSIONING_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_VERSIONING_UTIL, status:VALID,
-
PACKAGE: APPS.OE_HEADER_ADJ_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_HEADER_ADJ_UTIL, status:VALID,
-
PACKAGE: APPS.OE_HOLDS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_HOLDS_PVT, status:VALID,
-
SYNONYM: APPS.OE_SETS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_SETS, status:VALID,
-
PACKAGE BODY: APPS.OE_DELAYED_REQUESTS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_DELAYED_REQUESTS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OE_DELAYED_REQUESTS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_DELAYED_REQUESTS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OE_CONFIG_SCHEDULE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CONFIG_SCHEDULE_PVT, status:VALID,
-
SYNONYM: APPS.OE_SETS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_SETS, status:VALID,
-
PACKAGE BODY: APPS.OE_HEADER_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_HEADER_UTIL, status:VALID,