Hello, I had the same problem, it could be because you had add a field to the journaltrans-record of the extended-data-type linenum. When checking the journal lines, the first field with the extended-data-type linenum is inserted in a map. If this is 0, then this is the key. When inserting the following line also with this field-value 0, this is inserted as key in the map, with a throw of the error "key 0 already exists".
A solution is to create a new extended data type witch extends from linenum and insert this into your journal-trans-table. Regards Andie ----- Original Message ----- From: "lourens1210" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 03, 2004 9:23 AM Subject: [Axapta-Knowledge-Village] Re: Error: Key Already Exists > > > Hi Dick > > We are experiencing the same problem at intervals. I have checked on > the Project journals, GL Journals, AR Journals but cannot see the > Renumber Lines option anywhere. Does it only appear when there is a > problem, is it necessary to activate the option or what is the story > behind it? At the moment we are solving the problem in a test > environment by recompiling the database. This will get us killed or > at least seriously injured in the real world!! > > Lourens > > > --- In [EMAIL PROTECTED], "Dick Howard" > <[EMAIL PROTECTED]> wrote: >> On the journal header Functions button use the Renumber Lines > option. >> >> -----Original Message----- >> From: k_otickashka [mailto:[EMAIL PROTECTED] >> Sent: Thursday, December 02, 2004 11:15 AM >> To: [EMAIL PROTECTED] >> Subject: [Axapta-Knowledge-Village] Error: Key Already Exists >> >> >> >> Whenever I am trying to validate a journal that is the hours > journal >> in the Projects Module, I always get the error message "Key 0.00 >> already exists". What could of cause this error and how can I fix > it? >> >> >> >> >> >> Sharing the knowledge on Axapta. >> >> >> >> Yahoo! Groups Sponsor >> >> ADVERTISEMENT >> >> > <http://us.ard.yahoo.com/SIG=1296n5q7h/M=298184.5639630.6699735.300117 > 6/ >> > D=groups/S=1705001380:HM/EXP=1102090512/A=2434971/R=0/SIG=11eeoolb0/*h > tt >> p://www.netflix.com/Default?mqso=60185400> click here >> >> <http://us.adserver.yahoo.com/l? > M=298184.5639630.6699735.3001176/D=group >> s/S=:HM/A=2434971/rand=782335789> >> >> >> _____ >> >> Yahoo! Groups Links >> >> >> * To visit your group on the web, go to: >> http://groups.yahoo.com/group/Axapta-Knowledge-Village/ >> >> >> * To unsubscribe from this group, send an email to: >> [EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED] > subject=Uns >> ubscribe> >> >> >> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of >> Service <http://docs.yahoo.com/info/terms/> . > > > > > > > Sharing the knowledge on Axapta. > Yahoo! Groups Links > > > > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/kGEolB/TM --------------------------------------------------------------------~-> Sharing the knowledge on Axapta. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Axapta-Knowledge-Village/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/