Search Results hold_entity_code2




Overview

OE_HOLD_SOURCES_V is a seeded Oracle E-Business Suite view owned by the APPS schema and delivered with the Order Management (ONT) product family. Its stated purpose is to support the Holds form, where it displays all hold sources applied to order management entities. In EBS 12.1.1 and 12.2.2 the view is a denormalized, presentation-oriented projection over OE_HOLD_SOURCES, enriched with descriptive names and lookup meanings so that end users and downstream reports do not need to resolve foreign keys manually. The view carries status VALID in the ETRM reference for 12.2.2.

Because it exposes release status, hold definitions, and both primary and secondary hold entity attributions, OE_HOLD_SOURCES_V is frequently used as a reporting and integration surface for order holds — for example, feeding operational dashboards or interfaces that must identify which hold is active on an order, line, or fulfillment entity.

Underlying Base Objects

The view text joins OE_HOLD_SOURCES (HS) to several supporting objects:

Note that the view restricts output with HS.HOLD_RELEASE_ID IS NULL, so released hold sources are excluded from the result set.

Key Columns

Common Use Cases and Queries

Typical scenarios include identifying all active holds on a specific order or line, reporting on holds by definition name or entity, and exposing both the primary and secondary entity attributions for integration.

List active holds with resolved entity meanings:

SELECT hold_source_id, hold_na, held_by,
       hold_entity_code, hold_entity_id_value,
       hold_entity_code2, hold_entity_id2_value,
       hold_until_date, hold_comment
FROM   apps.oe_hold_sources_v
WHERE  org_id = :p_org_id;

Retrieve the secondary entity description for a given order:

SELECT hold_source_id, hold_na,
       hold_entity_code2, hold_entity_id2_value
FROM   apps.oe_hold_sources_v
WHERE  hold_entity_code  = 'ORDER'
AND    hold_entity_id    = :p_header_id;

Aggregate hold counts by definition:

SELECT hold_na, COUNT(*)
FROM   apps.oe_hold_sources_v
GROUP  BY hold_na
ORDER  BY 2 DESC;