View Full Version: Storedbrec Error Is Duplicate Record

LawsonTalk > Coding, Program Errors and Bugs > Storedbrec Error Is Duplicate Record


Title: Storedbrec Error Is Duplicate Record


ssun - June 27, 2007 03:06 PM (GMT)
I'm getting this error eventhough the record does not exist in the table. I'm also displaying each record before the 820-STORE and I don't see any duplicates. Any ideas?

mivankovich - June 27, 2007 03:50 PM (GMT)
The record may exist in a related table. What is it? INvoice, asset record??

What program are your running?

You could use the lawson debugger as well to set up a break point after the 820 and use the query function to see what the field values were brought in when it errors.

ssun - June 27, 2007 04:08 PM (GMT)
It's the EMTATRANS table. I'm running TA170

ssun - June 27, 2007 07:38 PM (GMT)
Found it. The duplicate record is another record different from what was displayed in the ladb.log. Strange.

Keith_G_Thompson - July 6, 2007 05:30 PM (GMT)
I have run into problems in the past where the error shows only the "primary key" as the error, but it actually duplicating on a different / secondary index.



Hosted for free by InvisionFree