Search Results create_eventoffer_post




Overview

APPS.AMS_EVENTOFFER_VUHK is a vertical-industry user hook package belonging to the Oracle Marketing (AMS) module of Oracle E-Business Suite. It forms part of the Event Offer object's processing framework, which is orchestrated by the central business logic package AMS_EventOffer_PVT. The suffix "VUHK" denotes a Vertical User Hook, a deliberately separated extension point that allows industry-vertical code to inject custom pre-processing and post-processing behaviour into the standard Event Offer lifecycle without modifying Oracle's seeded application code. The package is declared with AUTHID CURRENT_USER and, per its header comment, originated in the amsievos.pls script shipped in 2002, indicating it is a long-standing, stable component of the AMS schema. Its business purpose is to permit organisations (particularly those running industry-vertical solutions) to add validation, defaulting, derived-column maintenance, or integration logic that executes immediately before or after the core create, delete, lock, update, and validate operations on an Event Offer record. Because the procedures are stubs by default, the package is functionally inert in a standard installation until a customer or partner layers vertical-specific logic on top of it.

Key Procedures and Functions

The package exposes ten documented procedures, organised as five matched pre/post pairs corresponding to the standard Event Offer API operations:

  • CREATE_EVENTOFFER_PRE — Vertical pre-processing executed before a new Event Offer is created; used to default or enrich the incoming event-offer record.
  • CREATE_EVENTOFFER_POST — Vertical post-processing executed after creation, once the new event offer identifier is available; suited to downstream propagation tasks.
  • DELETE_EVENTOFFER_PRE — Vertical pre-processing before an Event Offer deletion; may inspect identifiers and object versions prior to removal.
  • DELETE_EVENTOFFER_POST — Vertical post-processing after deletion, typically for cleanup of related custom data.
  • LOCK_EVENTOFFER_PRE — Vertical pre-processing before an Event Offer record is locked for update.
  • LOCK_EVENTOFFER_POST — Vertical post-processing after locking completes.
  • UPDATE_EVENTOFFER_PRE — Vertical pre-processing before an Event Offer update is applied; the hook relevant to the search term "update_eventoffer".
  • UPDATE_EVENTOFFER_POST — Vertical post-processing after an update is committed.
  • VALIDATE_EVENTOFFER_PRE — Vertical pre-processing before Event Offer validation runs.
  • VALIDATE_EVENTOFFER_POST — Vertical post-processing after validation completes.

Each procedure follows the naming convention prefixed with the operation, and per the documented signature excerpts carries the relevant event-offer record, identifier, or object version along with an x_return_status output parameter used to signal success or failure back to the caller.

Tables Accessed

The ETRM metadata records no direct table references for this package via APPS synonyms. This is expected behaviour for a user hook: its design intent is to hold only conditional vertical logic, and any table access is performed indirectly through the parent business logic in AMS_EventOffer_PVT or through custom code added by implementers. Consequently, no documented reads or writes against AMS_EVENT_OFFERS or associated entities are attributed to this package itself.

Usage Notes

AMS_EVENTOFFER_VUHK is not intended to be called directly by applications, forms, or concurrent programs. It is invoked indirectly by AMS_EventOffer_PVT, which calls the corresponding pre and post hook at each stage of the create, delete, lock, update, and validate flows. The metadata notes that this package is referenced by one other package, consistent with that orchestration model. Standard Oracle EBS forms and concurrent programs that manipulate Event Offers therefore exercise these hooks automatically whenever the underlying API is called. Customisation normally consists of editing or extending the body of the relevant hook procedure to add vertical-specific logic, with careful attention to the x_return_status convention so that a hook failure properly propagates an error rather than allowing the transaction to proceed silently. Because the procedures are defined as stubs, the package remains a safe, no-op participant in the Event Offer lifecycle out of the box, and it is particularly relevant to implementers searching for update_eventoffer behaviour, as UPDATE_EVENTOFFER_PRE and UPDATE_EVENTOFFER_POST are the documented extension points for that operation in both 12.1.1 and 12.2.2.