Search Results ece_spso_x




Overview

ECE_SPSO_X is a PL/SQL package in the APPS schema that belongs to the Oracle E-Business Suite e-Commerce Gateway (ECE) module. The suffix "SPSO" identifies the package as part of the Supplier-Scheduled Purchase Order processing stream, while the "_X" naming convention indicates an extension or wrapper package that augments standard processing logic. In EBS 12.1.1 and 12.2.2, this package supports the outbound flat-file generation of supply-chain documents, specifically purchase order (PO) headers, line items, item detail, and shipment detail records transmitted to suppliers through the ECE Flat File architecture.

The package is classified as OTHER in the ETRM metadata, indicating that it is not a published public API but an internal supporting object invoked within the ECE flat-file generation framework. It depends on ECE_FLATFILE_PVT, the private package that encapsulates the core flat-file construction logic, and on the SYS.STANDARD package. Its placement in the "X" tier confirms it operates as an extension layer that assembles supplier-facing output structures before serialization.

Key Procedures and Functions

The package exposes four documented procedures, all concerned with populating extension segments of an outbound message:

  • POPULATE_EXTENSION_HEADERS — Populates extension-level data at the document header tier, covering information such as supplier and ordering-party details, PO identifiers, and effective dates associated with the supply-chain message.
  • POPULATE_EXTENSION_ITEMS — Populates extension attributes at the line-item tier, addressing item-level identifiers, quantities, and other per-line attributes that must accompany the standard item segment.
  • POPULATE_EXTENSION_ITEM_DET — Populates finer-grained item detail extension data, supplementing the item segment with additional descriptive or attribute-level values required by the recipient.
  • POPULATE_EXTENSION_SHIP_DET — Populates shipment detail extension data, assembling schedule, delivery, and shipment-level information associated with scheduled supply documents.

The procedures follow a consistent convention: each takes pre-assembled standard segment data and augments it with extension values before the record set is written to the outbound flat file. No parameter lists are documented in the ETRM metadata.

Tables Accessed

The ETRM metadata does not enumerate the base tables referenced by ECE_SPSO_X through APPS synonyms. At runtime the package derives its working data from the ECE flat-file public views and ECE interface tables exposed under the APPS schema, which supply the trading-partner, document, and transaction records for outbound generation. These records are read by the populate procedures, augmented with extension attributes, and passed to ECE_FLATFILE_PVT for final assembly and output. The package does not appear to perform direct DML against core transactional tables; its role is read-and-assemble within the ECE outbound pipeline.

Usage Notes

ECE_SPSO_X is not intended for direct invocation by end users or custom code. It is referenced by two other packages, ECE_SPSO_TRANS1 and ECE_SPSO_TRANS2, which act as the transaction-level drivers for supplier-scheduled purchase order output. The package also references itself in the dependencies, a pattern common in ECE extension layers where shared helper logic is reused across tiers. Typical invocation occurs when the ECE Gateway outbound concurrent program executes for the supplier-scheduled PO document type: the transaction packages call the corresponding POPULATE_EXTENSION_* procedures at each segment tier to enrich the standard output. Customization projects that require additional outbound attributes for supplier-scheduled purchase orders should extend behavior through the documented ECE extension hooks rather than modifying this package directly.