Search Results update_rma_ro_line_id




Overview

CSD_SOO_PVT is a private PL/SQL package in the Oracle E-Business Suite Applications (APPS) schema that implements the Service Order Orchestration (SOO) engine within the Enterprise Asset Management / Depot Repair and Service family of modules. Its central responsibility is to synchronize the transactional state of "source" business documents—service requests, service request tasks, purchase requisitions, internal requisitions, internal sales orders, RMAs, shipments, and deliveries—into the CSD_SO_ORCHESTRATION table and its associated Depot repair structures. In other words, the package acts as the orchestration driver that reads the current state of feeder transactions, determines what has changed, and merges or refreshes the corresponding orchestration records used by downstream Depot and Service processes.

A secondary responsibility is the maintenance of cross-reference identifiers. Through its global hashtables (g_updated_ids, g_rma_ro_line_ids, g_ship_ro_line_ids, g_int_order_header_ids) and their associated UPDATE_* routines, the package records the primary keys of rows affected by MERGE/UPDATE statements so that related Depot tables can be updated in the same logical unit of work. This gives the package the character of an internal orchestration engine rather than a user-facing API.

Key Procedures and Functions

Tables Accessed

Usage Notes

CSD_SOO_PVT is classified as a PVT (private) package, meaning its interface is intended for internal consumption by other CSD/Depot components rather than direct customer calls. The ETRM metadata indicates it is referenced by one other package, which is the expected entry point for orchestration execution. In practice, SOO_DRIVER_MAIN is invoked from that calling component, a concurrent program, or a scheduled job to run a full refresh cycle, which then delegates to the individual REFRESH_* routines. REFRESH_DELIVERY and its sibling routines are not intended to be called independently from a form; they rely on shared global state (g_updated_ids and the ro_line_ids hashtables) whose lifecycle is managed by the driver. Custom code should therefore call the documented entry-point driver or the calling package rather than the individual refresh procedures directly, since invoking a leaf routine in isolation may leave the identifier-tracking collections incomplete and cause orphaned Depot updates.