Search Results populate_extension_items




Overview

APPS.ECE_SPSO_X is a stub extension package body belonging to the ECE (e-Commerce Gateway / Electronic Commerce Exchange) family of PL/SQL objects in Oracle E-Business Suite. It is associated with the Service Provider Shipping Outbound (SPSO) extension mechanism, which allows implementers to inject custom logic into the standard e-Commerce Gateway outbound processing flow without modifying Oracle-owned code. The package is deliberately delivered as an empty shell: every procedure body contains only a NULL; statement, so the package compiles cleanly and executes without effect until a customer or partner supplies an implementation.

The extension points it exposes cover the four principal stages of an outbound shipping transaction — header level, item level, item detail level, and shipment detail level. Each routine receives a foreign key or identifier describing the transaction, schedule, or schedule item being processed, together with a PL/SQL table representing the flat-file interface records. Custom code placed in these hooks can enrich, validate, or transform the outbound payload before it is written to the ECE interface tables and ultimately to the trading-partner-facing flat file.

Key Procedures and Functions

The documented package metadata records four procedures, all of which are no-op stubs in the shipped release (version 115.4, per the header comment):

  • populate_extension_headers — Extension hook at the transaction header level. Invoked with a foreign key and the flat-file interface PL/SQL table so that custom code can populate or adjust header-level extension data.
  • populate_extension_items — Extension hook at the item (line) level, receiving the same foreign key and interface table parameters. This is the routine most frequently targeted by searches for populate_extension_items, since it is the natural insertion point for line-level attribute mapping.
  • populate_extension_item_det — Extension hook for item detail data. A comment referencing Bug 1742567 documents that the parameter list was modified to the correct form, taking transaction, schedule, and schedule item identifiers.
  • populate_extension_ship_det — Extension hook for shipment detail data, taking transaction, schedule, schedule item, and schedule item detail sequence identifiers.

The earlier version of populate_extension_item_det, which accepted the foreign key and interface table, is preserved in the source as a commented-out block beneath the Bug 1742567 note.

Tables Accessed

The ETRM metadata for APPS.ECE_SPSO_X records no direct table references through APPS synonyms. This is consistent with the stub implementation: because every procedure body is NULL;, no SQL statements are issued and no ECE interface or base tables are read or written by the delivered package. Any tables accessed at runtime are those introduced by customer-supplied extension code, which typically references the ECE interface tables (for example, the ECE flat-file and outbound interface tables) and the underlying order, schedule, and shipment tables used to derive header, item, and shipment detail values.

Usage Notes

APPS.ECE_SPSO_X is not invoked directly by end users. Its procedures are called from within the standard e-Commerce Gateway outbound processing logic at predefined extension points, and the package is referenced by two other packages within the ECE schema, confirming its role as a callback target rather than a standalone driver. Typical usage patterns are:

  • Implementers copy the shipped stub body into a custom package (or overlay it under a custom naming convention) and add site-specific logic to one or more of the four extension procedures.
  • Invocation occurs during outbound transaction generation, triggered by the ECE concurrent programs that build the flat-file output for shipping transactions.
  • Because the procedures accept PL/SQL table parameters of type ece_flatfile_pvt.Interface_tbl_type, extension code must respect that structure when writing rows.
  • In EBS 12.1.1 and 12.2.2, the package remains a stub in the standard delivery; any functional behaviour observed in production is the result of a customer extension applied on top of it.