otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
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, 16:04
Junior Member
 
Join Date: Jun 2008
Posts: 25
Thanks: 2
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
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, 09:28
Member
 
Join Date: Mar 2007
Location: Bedfordshire England
Posts: 58
Thanks: 3
Thanked 10 Times in 9 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
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, 14:03
Junior Member
 
Join Date: Jun 2008
Posts: 25
Thanks: 2
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
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
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
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
ground schedule overrules calendar? sascha.harlfinger Planning 0 April 10th, 2008 17:11
Calendar new_otm Planning 13 October 22nd, 2007 15:36
[SOLVED] rates based on calendar in 5.0 soujanya Rating 1 July 9th, 2007 15:52
[SOLVED] Chinese Translation - Calendar Issues chrisplough Branding, Screen Sets, XSL/CSS and Translations 0 July 3rd, 2007 02:19
OTM SIG Calendar of Events chrisplough News and Events 0 May 7th, 2007 18:58



All times are GMT. The time now is 04:11.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


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