My Oracle Support Banner

Specific Date Is Hardcoded in Procedure SDE_RetailETLRefreshGeneral_ra_src_curr_param_g to Update PRIME_EXCHNG_RATE (Doc ID 1420784.1)

Last updated on JANUARY 15, 2020

Applies to:

Oracle Retail Merchandising Insights - Version 13.2 and later
Information in this document applies to any platform.

Symptoms

In the Retail Analytics procedure SDE_RetailETLRefreshGeneral_ra_src_curr_param_g, which updates PRIME_EXCHNG_RATE,  a hardcoded date ("12/19/2008") is present in the final line of the following query:

SELECT COALESCE(cr.EXCHANGE_RATE, 1.0) PRIME_EXCHNG_RATE FROM <%=odiRef.getObjectName("L","CURRENCY_RATES","D")%> cr, <%=odiRef.getObjectName("L","RA_SRC_CURR_PARAM_G","RETAIL_SOURCETEMP","D")%> scpg
WHERE cr.CURRENCY_CODE = scpg.PARAM_VALUE
AND scpg.PARAM_NAME ='PRIME_CURRENCY_CODE'
AND cr.EXCHANGE_TYPE = 'C'
AND cr.EFFECTIVE_DATE = (SELECT MAX(c2.EFFECTIVE_DATE) FROM <%=odiRef.getObjectName("L","CURRENCY_RATES","D")%> c2
WHERE c2.CURRENCY_CODE = cr.CURRENCY_CODE
AND c2.EXCHANGE_TYPE = 'C'
AND c2.EFFECTIVE_DATE <= TO_DATE('12/19/2008','MM/DD/YYYY'))



Steps to Reproduce:

1. Run the package SDE_RetailETLRefreshGeneral
2. Check the operator log for SDE_RetailETLRefreshGeneral_ra_src_curr_param_g.
3. Execution used the hardcoded date value for updating the default PRIME_EXCHNG_RATE.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.