otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
 Follow New Posts:Twitter
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTM Wiki

OTM SIG
OTM Wiki
MavenWire


Planning Planning orders in OTM / G-Log - including bulk planning, itineraries, planning parameters, load configuration and optimization.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old September 4th, 2008, 15:04
Member
 
Join Date: Jun 2008
Posts: 64
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 5
Thanked 3 Times in 3 Posts
Rep Power: 2
Christopher Collins is on a distinguished road
Calendar Creation

We are having issues with calendar creation. The system gives us the following error:

ErrorUnable to update Calendar entity KING.NEED_TO_CREATE}The ACTIVITY_CALENDAR 291 cannot be created because a duplicate already existsCannot add the ACTIVITY_CALENDAR record. ACTIVITY_CALENDAR_ID must be unique.java.sql.SQLException: ORA-00001: unique constraint (GLOGOWNER.PK_ACTIVITY_CALENDAR) violated

We have verified that the ACTIVITY_CALENDAR_ID is unique. The only discrepancy that we see is that there are 2000 records indicated in the calendar counter but when we are creating them we are only at 290.

The calendars were CSV'd into this environment. Could that be the cause of this issue?

Chris
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old September 5th, 2008, 08:28
Member
 
Join Date: Mar 2007
Location: Bedfordshire England
Posts: 83
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 4
Thanked 15 Times in 12 Posts
Rep Power: 3
cunninghamg is on a distinguished road
Send a message via AIM to cunninghamg Send a message via MSN to cunninghamg Send a message via Skype™ to cunninghamg
Re: Calendar Creation

Christopher

Activity_calendar has an ID populated by an Oracle Sequence number.
This field is not a GID and therefore does not get prefixed with the Domain.

Chances are that if you've tried to load a csv with ID numbers that already exist in another domain (even PUBLIC) this will give the error you are seeing.

Though I have never tried it myself, I have always been warned against using csv upload to create calendars - but to do it manually - I think you are beginning to see why.

There are always round the issues - such as altering the sequence numbers (if you have the access and know how) but unless you have an awful lot to load I would suggest manual creation.

Gary
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to cunninghamg For This Useful Post:
Christopher Collins (September 5th, 2008)
  #3 (permalink)  
Old September 5th, 2008, 13:03
Member
 
Join Date: Jun 2008
Posts: 64
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 5
Thanked 3 Times in 3 Posts
Rep Power: 2
Christopher Collins is on a distinguished road
Re: Calendar Creation

Gary:

Thanks. We did determine that it is the sequencing. We have csv'd calendars before without any issue but this time a problem did occur. We will correct and going forward use the manual process for calendars.

Thanks,

Chris
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Planning considering both Source and destination calendar medhas Planning 1 February 24th, 2009 03:25
Calendar Issue joecallan Planning 0 September 10th, 2008 14:41
ground schedule overrules calendar? sascha.harlfinger Planning 0 April 10th, 2008 16:11
Calendar new_otm Planning 13 October 22nd, 2007 14:36
OTM SIG Calendar of Events chrisplough News and Events 0 May 7th, 2007 17:58



All times are GMT. The time now is 07:58.
Copyright © 2006-2009, Open Book Solutions LLC. All rights reserved.


Inactive Reminders By Icora Web Design

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40