Search Results oe_cncl_validate_header
Overview
OE_CNCL_VALIDATE_HEADER is an Oracle E-Business Suite package body owned by the APPS schema and classified under the OTHER API category. It participates in the Order Management cancellation validation framework, providing server-side validation logic that determines whether an order header is eligible for cancellation before the cancellation request is processed. The package operates in conjunction with OE_CNCL_VALIDATE, OE_ORDER_PUB, and OE_ORDER_UTIL, forming a layered validation architecture in which header-level checks are separated from line-level checks. In Oracle EBS 12.1.1 and 12.2.2, the Order Management cancellation flow invokes this validation logic to enforce business rules around open orders, booked status, purchasing dependencies, and customer relationships, ensuring that only cancellable orders proceed to the cancellation transaction. The package relies on the FND_API framework for standardized message handling and on OE_MSG_PUB and FND_MESSAGE for seeded error and warning messages.
Key Procedures and Functions
The documented package exposes four procedures and functions:
- CHECK_BOOK_REQD_ATTRIBUTES — Verifies that attributes required for booking-related validation are present and consistent on the order header. This check supports the rule that an order cannot be cancelled if mandatory booking attributes would be invalidated or are incomplete, returning validation results to the calling cancellation logic.
- IS_DUPLICATE_PO_NUMBER — Evaluates whether the customer purchase order number on the header duplicates an existing value according to Order Management configuration. This function supports duplicate PO validation rules controlled through OE_SYS_PARAMETERS, preventing cancellation or cancellation reversal when duplicate PO handling would be inconsistent.
- ENTITY — Returns or resolves the entity identifier associated with the header validation context. This function is used by the broader validation framework, including OE_CNCL_VALIDATE, to identify the business object instance under validation, typically the order header.
- ATTRIBUTES — Retrieves or evaluates the set of header attributes relevant to cancellation validation. The results feed downstream checks that determine whether the header state permits cancellation.
These routines collectively supply header-level facts consumed by OE_CNCL_VALIDATE, which orchestrates the complete cancellation validation sequence.
Tables Accessed
The package references core Order Management and Trading Community Architecture tables through APPS synonyms:
- OE_ORDER_HEADERS and OE_ORDER_LINES — Source of order header and line data evaluated during validation, including order status, cancellation flags, and booking attributes.
- HZ_CUST_ACCOUNTS, HZ_CUST_ACCOUNTS_ALL, HZ_CUST_ACCOUNT_ROLES, HZ_CUST_ACCT_RELATE, HZ_CUST_ACCT_RELATE_ALL — Customer account, role, and relationship data used to validate customer context for the order.
- HZ_CUST_ACCT_SITES, HZ_CUST_ACCT_SITES_ALL, HZ_CUST_SITE_USES, HZ_CUST_SITE_USES_ALL, HZ_PARTY_SITES — Account site, site use, and party site information supporting ship-to, bill-to, and deliver-to validation.
- DUAL — Utility queries, including parameter or code resolution.
Views such as OE_DELIVER_TO_ORGS_V, OE_INVOICE_TO_ORGS_V, OE_SHIP_TO_ORGS_V, OE_ORDER_TYPES_V, OE_AGREEMENTS_V, QP_LIST_HEADERS_VL, and ZX_EXEMPTIONS_V are also referenced, along with OE_SYS_PARAMETERS for profile-driven rule configuration, OE_ORDER_CACHE for performance, and OE_DEBUG_PUB for diagnostic output.
Usage Notes
OE_CNCL_VALIDATE_HEADER is not referenced by any database object directly; instead, it is invoked programmatically by the Order Management cancellation flow and is referenced by two other packages, including OE_CNCL_VALIDATE. Typical invocation paths include the Order Organizer and Sales Orders forms when a user selects Cancel, the Order Management concurrent programs that process mass cancellation, and custom PL/SQL extensions that call OE_ORDER_PUB or OE_CNCL_VALIDATE. Because validation depends on FND_API message stacking, callers should inspect the returned validation status and retrieve messages through OE_MSG_PUB or FND_MESSAGE rather than assuming success. Customizations should never modify this package body; extensions should wrap it or call the public OE_ORDER_PUB cancellation APIs to preserve upgrade safety across 12.1.1 and 12.2.2.
-
PACKAGE BODY: APPS.OE_CNCL_VALIDATE_HEADER
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CNCL_VALIDATE_HEADER, status:VALID,
-
PACKAGE: APPS.OE_CNCL_VALIDATE_HEADER
12.2.2
-
PACKAGE: APPS.OE_CNCL_VALIDATE_HEADER
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_CNCL_VALIDATE_HEADER, status:VALID,
-
PACKAGE: APPS.OE_CNCL_VALIDATE_HEADER
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_CNCL_VALIDATE_HEADER, status:VALID,
-
PACKAGE BODY: APPS.OE_CNCL_VALIDATE_HEADER
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CNCL_VALIDATE_HEADER, status:VALID,
-
PACKAGE: APPS.OE_CNCL_VALIDATE_HEADER
12.1.1
-
PACKAGE: APPS.OE_CNCL_VALIDATE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_CNCL_VALIDATE, status:VALID,
-
PACKAGE: APPS.OE_CNCL_VALIDATE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_CNCL_VALIDATE, status:VALID,
-
PACKAGE BODY: APPS.OE_CNCL_VALIDATE_LINE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CNCL_VALIDATE_LINE, status:VALID,
-
VIEW: APPS.ZX_EXEMPTIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.ZX_EXEMPTIONS_V, object_name:ZX_EXEMPTIONS_V, status:VALID,
-
PACKAGE: APPS.QP_UTIL_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:QP_UTIL_PUB, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCT_RELATE_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCT_RELATE_ALL, status:VALID,
-
VIEW: APPS.ZX_EXEMPTIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.ZX_EXEMPTIONS_V, object_name:ZX_EXEMPTIONS_V, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCT_RELATE_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCT_RELATE_ALL, status:VALID,
-
PACKAGE BODY: APPS.OE_CNCL_VALIDATE_LINE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CNCL_VALIDATE_LINE, 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,
-
SYNONYM: APPS.HZ_CUST_ACCT_RELATE
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCT_RELATE, 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,
-
SYNONYM: APPS.HZ_CUST_ACCT_RELATE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCT_RELATE, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCOUNTS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCOUNTS_ALL, status:VALID,
-
VIEW: APPS.OE_AGREEMENTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QP.OE_AGREEMENTS_V, object_name:OE_AGREEMENTS_V, status:VALID,
-
PACKAGE: APPS.OE_ORDER_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_ORDER_UTIL, status:VALID,
-
PACKAGE: APPS.OE_ORDER_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_ORDER_UTIL, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCOUNTS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCOUNTS_ALL, status:VALID,
-
VIEW: APPS.OE_AGREEMENTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QP.OE_AGREEMENTS_V, object_name:OE_AGREEMENTS_V, status:VALID,
-
PACKAGE: APPS.OE_ORDER_CACHE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_ORDER_CACHE, status:VALID,
-
PACKAGE: APPS.OE_ORDER_CACHE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_ORDER_CACHE, status:VALID,
-
VIEW: APPS.OE_INVOICE_TO_ORGS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_INVOICE_TO_ORGS_V, object_name:OE_INVOICE_TO_ORGS_V, status:VALID,
-
SYNONYM: APPS.OE_ORDER_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_ORDER_HEADERS, status:VALID,
-
SYNONYM: APPS.OE_ORDER_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_ORDER_HEADERS, status:VALID,
-
VIEW: APPS.OE_INVOICE_TO_ORGS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_INVOICE_TO_ORGS_V, object_name:OE_INVOICE_TO_ORGS_V, status:VALID,
-
SYNONYM: APPS.OE_ORDER_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_ORDER_LINES, status:VALID,
-
VIEW: APPS.QP_LIST_HEADERS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_LIST_HEADERS_VL, object_name:QP_LIST_HEADERS_VL, status:VALID,
-
VIEW: APPS.OE_DELIVER_TO_ORGS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_DELIVER_TO_ORGS_V, object_name:OE_DELIVER_TO_ORGS_V, status:VALID,
-
VIEW: APPS.QP_LIST_HEADERS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_LIST_HEADERS_VL, object_name:QP_LIST_HEADERS_VL, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCOUNT_ROLES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCOUNT_ROLES, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCOUNT_ROLES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCOUNT_ROLES, status:VALID,
-
VIEW: APPS.OE_DELIVER_TO_ORGS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_DELIVER_TO_ORGS_V, object_name:OE_DELIVER_TO_ORGS_V, status:VALID,
-
SYNONYM: APPS.OE_ORDER_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_ORDER_LINES, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCT_SITES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCT_SITES, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCT_SITES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCT_SITES, status:VALID,
-
SYNONYM: APPS.HZ_CUST_SITE_USES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_SITE_USES, status:VALID,
-
PACKAGE: APPS.OE_SYS_PARAMETERS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_SYS_PARAMETERS, status:VALID,
-
PACKAGE: APPS.OE_ORDER_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_ORDER_PUB, status:VALID,
-
PACKAGE: APPS.OE_SYS_PARAMETERS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_SYS_PARAMETERS, status:VALID,
-
VIEW: APPS.OE_SHIP_TO_ORGS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_SHIP_TO_ORGS_V, object_name:OE_SHIP_TO_ORGS_V, status:VALID,
-
VIEW: APPS.OE_SHIP_TO_ORGS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_SHIP_TO_ORGS_V, object_name:OE_SHIP_TO_ORGS_V, status:VALID,
-
PACKAGE: APPS.OE_ORDER_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_ORDER_PUB, status:VALID,
-
APPS.OE_CNCL_VALIDATE_LINE dependencies on OE_CNCL_VALIDATE_HEADER
12.1.1
-
SYNONYM: APPS.HZ_CUST_SITE_USES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_SITE_USES, status:VALID,