Adding SQL Code To Check The Store Parameter To Improved Performance (Doc ID 2135735.1)

Last updated on MAY 01, 2017

Applies to:

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

Symptoms

RMS 13.0.7 version, Items

Actual Behavior
---------------
In the version of orpositemsdnld.sql currently included in the product restrictions that are referenced do not check the store
parameter, they potentially build a large inline view of all the items and all the locations.


Expected Behavior
-----------------------
By adding a line in this query that checks the store parameter that is passed into the .sql, this will improve performance.


Steps
-------
The issue can be reproduced at will with the following steps:
1. add line to base code
2. ps.store = decode(&p_store_val,0,ps.store,&p_store_val)
3. test


Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms