Search Results c_debug
Overview
RLM_XML_API is a public API package in the Oracle E-Business Suite Release Management (RLM) module, classified by ETRM as an API. It provides the procedural foundation for generating and interpreting the XML messages that flow between Oracle EBS and external trading partners through the EDI/e-Commerce Gateway infrastructure. In the RLM context, the package supports the exchange of return material authorization (RMA) and repair/replenishment transaction data, translating database records into standards-conformant XML payloads and validating inbound XML content against Oracle validation rules.
A defining characteristic of the package is its pervasive debug instrumentation. The package-level variable l_DEBUG is initialized at load time from the profile option RLM_DEBUG_MODE, defaulting to -1 (disabled) when the profile is null. Every procedure wraps its body in conditional blocks that call rlm_core_sv.start_debug, rlm_core_sv.dpush, rlm_core_sv.dlog, and rlm_core_sv.dpop only when debugging is enabled. The user search term "c_debug" refers to the internal constant passed to dlog to categorize log entries, alongside C_SDEBUG used to mark stack push/pop boundaries. This design imposes negligible overhead in production while allowing full trace capture during partner on-boarding and troubleshooting.
Key Procedures and Functions
Twelve procedures and functions are documented in the ETRM metadata. Two representative examples follow from the source excerpt:
- ValidateScheduleType — Confirms that an inbound schedule type value equals the constant
k_DEMAND; returnsk_SUCCESSork_ERRORthrough an OUT parameter. It captures av$timertimestamp to correlate debug entries with elapsed execution time. - SetSSSILineDetails — Derives supplier-scheduled line attributes (start date, quantity, subtype, date code, quantity UOM) from raw interface inputs such as line type, required/received/shipped dates, quantities, and UOMs. It declares custom exceptions
e_IncompleteDataande_UnknownDataand returns error code and message through IN OUT parameters.
The remaining documented units cover companion validation and payload-construction duties, including header-level processing and XML element assembly. No parameter lists beyond those shown in the excerpt should be assumed; callers should confirm signatures against the deployed package specification.
Tables Accessed
- RLM_INTERFACE_HEADERS_ALL / RLM_INTERFACE_LINES_ALL — Staging tables holding inbound and outbound RLM transaction data.
- RLM_INTERFACE_LINES — Working view or table for line-level processing.
- ECX_EXT_PROCESSES, ECX_STANDARDS_B, ECX_TP_HEADERS, ECX_TP_DETAILS — e-Commerce Gateway configuration: transaction standards, external processes, and trading partner definitions used to determine XML formatting and routing.
- HZ_CUST_ACCT_SITES_ALL — Customer account site data required to resolve trading partner ship-to and bill-to locations.
- PLITBLM — The PL/SQL table used by the debug/logging infrastructure.
- V$TIMER — Read via
SELECT hsecsfor high-resolution timing of debug output.
Usage Notes
RLM_XML_API is invoked by e-Commerce Gateway concurrent programs and inbound/outbound transaction workflows rather than by forms directly, and ETRM records zero dependent packages, indicating a relatively self-contained API surface. Administrators enable tracing by setting the RLM_DEBUG_MODE profile option to a non-null value; the package then emits tagged entries through rlm_core_sv.dlog(C_DEBUG, ...). Custom extensions should call this API only through its public specification, respect the IN OUT error-handling parameters, and disable debug logging before promoting code to production.
-
PACKAGE BODY: APPS.RLM_XML_API
12.2.2
-
PACKAGE BODY: APPS.RLM_XML_API
12.1.1
-
PACKAGE BODY: APPS.RLM_REPLACE_SV
12.2.2
-
PACKAGE BODY: APPS.RLM_BLANKET_SV
12.2.2
-
PACKAGE BODY: APPS.RLM_REPLACE_SV
12.1.1
-
PACKAGE BODY: APPS.RLM_BLANKET_SV
12.1.1
-
PACKAGE BODY: APPS.RLM_MANAGE_DEMAND_SV
12.1.1
-
PACKAGE BODY: APPS.RLM_WF_SV
12.2.2
-
PACKAGE BODY: APPS.RLM_VALIDATEDEMAND_SV
12.1.1
-
PACKAGE BODY: APPS.RLM_MANAGE_DEMAND_SV
12.2.2
-
PACKAGE BODY: APPS.RLM_WF_SV
12.1.1
-
PACKAGE BODY: APPS.RLM_VALIDATEDEMAND_SV
12.2.2
-
PACKAGE BODY: APPS.RLM_CUM_SV
12.2.2
-
PACKAGE BODY: APPS.RLM_CUM_SV
12.1.1
-
PACKAGE BODY: APPS.FTE_WSH_TRIPS_PVT
12.2.2
-
PACKAGE BODY: APPS.RLM_DP_SV
12.2.2
-
PACKAGE BODY: APPS.FTE_WSH_TRIPS_PVT
12.1.1
-
PACKAGE BODY: APPS.RLM_DP_SV
12.1.1
-
PACKAGE BODY: APPS.RLM_PS_SV
12.2.2
-
PACKAGE BODY: APPS.RLM_PS_SV
12.1.1
-
APPS.RLM_DP_SV SQL Statements
12.2.2
-
APPS.RLM_DP_SV SQL Statements
12.1.1
-
PACKAGE BODY: APPS.RLM_SETUP_TERMS_SV
12.2.2
-
PACKAGE BODY: APPS.RLM_SETUP_TERMS_SV
12.1.1
-
APPS.RLM_PS_SV SQL Statements
12.2.2
-
APPS.RLM_PS_SV SQL Statements
12.1.1
-
PACKAGE BODY: APPS.FTE_TRIPS_PVT
12.1.1
-
PACKAGE BODY: APPS.FTE_TRIPS_PVT
12.2.2
-
APPS.RLM_MANAGE_DEMAND_SV SQL Statements
12.1.1
-
APPS.RLM_MANAGE_DEMAND_SV SQL Statements
12.2.2
-
PACKAGE BODY: APPS.MSD_BOM_COLLECTIONS
12.1.1
-
PACKAGE BODY: APPS.MSD_BOM_COLLECTIONS
12.2.2
-
PACKAGE: APPS.WSH_TRANSACTIONS_FORM_PKG
12.1.1
-
PACKAGE: APPS.WSH_TRANSACTIONS_FORM_PKG
12.2.2
-
PACKAGE: APPS.WSH_INBOUND_SHIP_REQUEST_PKG
12.1.1
-
PACKAGE: APPS.WSH_INBOUND_SHIP_REQUEST_PKG
12.2.2
-
PACKAGE: APPS.WSH_INBOUND_SHIP_ADVICE_PKG
12.1.1
-
PACKAGE: APPS.WSH_INBOUND_SHIP_ADVICE_PKG
12.2.2
-
PACKAGE BODY: APPS.RLM_AD_SV
12.2.2
-
PACKAGE: APPS.RLM_CUM_UPGRADE_SV
12.1.1
-
PACKAGE: APPS.WSH_INTERFACE_PUB
12.2.2
-
PACKAGE: APPS.RLM_CUM_UPGRADE_SV
12.2.2
-
PACKAGE BODY: APPS.RLM_AD_SV
12.1.1
-
PACKAGE: APPS.WSH_INTERFACE_PUB
12.1.1
-
PACKAGE: APPS.WSH_PROCESS_INTERFACED_PKG
12.1.1
-
APPS.FTE_TRIPS_PVT SQL Statements
12.1.1
-
APPS.FTE_TRIPS_PVT SQL Statements
12.2.2
-
APPS.RLM_CUM_SV SQL Statements
12.1.1
-
PACKAGE BODY: APPS.RLM_CUM_UPGRADE_SV
12.2.2
-
PACKAGE BODY: APPS.RLM_CUM_UPGRADE_SV
12.1.1