Search Results setup_bulkload_intf




Overview

APPS.RRS_BULKLOAD_ENTITIES is a PL/SQL package that supports the bulk loading of Oracle E-Business Suite entity and user attribute data. It belongs to the Oracle Advanced Product Catalog / Results Management family of objects, as indicated by the RRS prefix and its interaction with the EGO_BULKLOAD_INTF interface table and the EGO_RESULTS_FMT_USAGES results format usage repository. The package provides the server-side engine that imports attribute values and site, trade area, and location user attributes from staging interfaces into the EBS data model, typically as part of a bulk data load or setup migration flow. The package header carries the identifier RRSSBLKS.pls 120.3, dated 2005/10/26, and is marked noship in the source control comment, reflecting an internal implementation package that is not intended for direct custom invocation.

Key Procedures and Functions

  • SETUP_BULKLOAD_INTF — The primary setup entry point, and the object referenced by the user search term "setup_bulkload_intf". It prepares the bulk load interface for a given results format usage identifier, returning error buffer, return code, and the name of an error file through its OUT parameters. This procedure is the public-facing driver for initiating an interface load.
  • OPEN_DEBUG_SESSION and OPEN_DEBUG_SESSION_INTERNAL — Establish a debug session for the package. The internal variant performs the underlying initialization, while OPEN_DEBUG_SESSION is the caller-facing wrapper.
  • DEVELOPER_DEBUG — Emits a debug message to the active debug session, used for diagnostic tracing during troubleshooting.
  • CLOSE_DEBUG_SESSION — Terminates the open debug session and releases associated resources.
  • WRITE_CONCLOG — Writes messages to the concurrent program log, integrating package-level diagnostics with the standard concurrent manager output.
  • LOAD_USERATTR_INTF — Loads user attribute data for a specified result format usage and data set, accepting an entity name to scope the load.
  • PROCESS_USER_ATTRS_DATA — Processes staged user attribute records for a data set, with an optional flag to purge successful lines after processing.
  • GET_SITE_SECURITY_PREDICATE — Returns a security predicate used to restrict site-level data access during the load.
  • BULKLOADENTITIES — The main orchestrating procedure, accepting the results format usage identifier, user, language, responsibility, and application identifiers so that the load executes under the correct security and language context.

Tables Accessed

The package reads and writes several interface and repository tables through APPS synonyms. EGO_BULKLOAD_INTF serves as the staging table for bulk load records, while EGO_RESULTS_FMT_USAGES supplies the results format usage definition that drives each load. FND_USER is queried for user context and validation. The RRS-specific interface tables — RRS_LOCATION_UA_INTF, RRS_SITE_INTF_SETS_S, RRS_SITE_UA_INTF, and RRS_TRADEAREA_UA_INTF — hold location, site, and trade area user attribute data awaiting processing. Utility access to DUAL, dynamic SQL via DBMS_SQL, PLITBLM for line buffer handling, and V$PARAMETER for instance settings complete the dependency list.

Usage Notes

RRS_BULKLOAD_ENTITIES is a server-side implementation package, not an end-user API. It is referenced by zero other packages, indicating that callers reach it through Oracle Applications concurrent programs, Oracle Forms, or internal framework code rather than through a documented public interface. The WRITE_CONCLOG procedure confirms that loads are typically launched as concurrent programs, with diagnostics routed to the request log. The user_id, language, resp_id, and appl_id parameters on BULKLOADENTITIES indicate the package must be invoked within an initialized session that supplies the correct responsibility and current application context. Customers performing bulk attribute loads should use the supported concurrent program or form that internally invokes this package rather than calling it directly, since the header is noship and its interface may change without notice across releases such as 12.1.1 and 12.2.2.