Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic lookup cache error

Status
Not open for further replies.

smajay

Programmer
May 15, 2003
26
US
hi,
Getting following error when I run a session that uses dynamic lookup cache.

CMN_1650 A duplicate row was attempted to be inserted into a dynamic lookup cache [LKP_PART_RATE]. The dynamic lookup cache only supports unique condition keys.


Pls. let me know if any one has the answer.

Thanks
Ajay
 
The error pretty much says it. You've got to make sure that the key values in your dynamic cache are unique. Unlike static caches, dynamic caches don't support duplicate key values. You need to make sure the statement building the cache produces unique values for the key you're looking up on. Try doing a lookup override with a select distinct in it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top