otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


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

OTM SIG
MavenWire


Data Loading Loading data into OTM / G-Log through CSVs, XML, and the UI.

Tags: , ,

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old May 25th, 2007, 18:11
Junior Member
 
Join Date: Jan 2007
Location: Andover, MN
Posts: 13
Thanks: 5
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
ebauchwitz is on a distinguished road
[SOLVED] Location Loading Sequence

Can someone explain to me what the sequential order is for a location csv upload where within the location consists both a Corporation ID and Contact ID. I'm assuming that there's at least three tables that need to be updated. Any help would be greatly appreciated.

Eric
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2 (permalink)  
Old May 25th, 2007, 18:49
Senior Member and Blogger
 
Join Date: May 2007
Posts: 170
Thanks: 4
Thanked 31 Times in 31 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
bmj_23 will become famous soon enough
Re: Location Loading Sequence

OK, so my take it on would be:

1. Load the corporation Id via the UI - just key it in, its probably easier. If you want to, you can load a new corporation in to the corporation table.

2. Load the location table
3. Load the location_address table (assuming you have address information for your locations)
4. Load the location_corporation table (this will link the location gid you have loaded with your corporation gid)
5. Load the location_role_profile table (you will probably want a location_role_gid of SHIPFROM/SHIPTO for each location you are loading.
6. Load the contact table with reference to the location_xid that you to relate the contacts to.

With all of these things, the easiest way of doing it is to key one example in to the application via the UI and then unload the relevant tables in CSV. That will give you all of the data maps you need to do a mass load of the data you have.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old June 1st, 2007, 14:15
Junior Member
 
Join Date: Jan 2007
Location: Andover, MN
Posts: 13
Thanks: 5
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
ebauchwitz is on a distinguished road
Re: Location Loading Sequence

I was able to successfully upload all of the following tables except for the Corporation.csv.

The following were sucessfully uploaded...
Location.csv
Location_Corporation.csv
Location_Role_Profile.csv
Contact.csv

Since we have over 400 locations to add into OTM, manually adding the Corporation ID's would be a very time consuming process. While loading the Corporation ID through a csv upload, I received the following error message.
- <Error>
<TableName>corporation</TableName>
<Exception>ORA-00921: unexpected end of SQL command</Exception>
<Data>AL.SVU070180528,SVU070180528,SVU070180528,N, AL</Data>
</Error>
<ProcessCount>0</ProcessCount>
<ErrorCount>1</ErrorCount>
<SkipCount>0</SkipCount>
</ProcessCSV>
</CSVUtil>
</CSVUtilServlet>

I wonder if there's another corporation table that I may be missing. Any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old June 1st, 2007, 17:12
Senior Member and Blogger
 
Join Date: Nov 2006
Location: San Diego, CA
Posts: 76
Blog Entries: 2
Thanks: 0
Thanked 18 Times in 17 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
AlejandroBarba is on a distinguished road
Re: Location Loading Sequence

Eric,

Sounds to me like the problem is within the construction of your Corporation table. Especially since you mentioned having 400 corporations and the ErrorCount is one. I would suggest checking your Corporation CSV file or even creating it from scratch again.

Hope this helps,

Alejandro Barba
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old June 2nd, 2007, 08:23
Senior Member and Blogger
 
Join Date: May 2007
Posts: 170
Thanks: 4
Thanked 31 Times in 31 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
bmj_23 will become famous soon enough
Re: Location Loading Sequence

Just from looking at that XML output you are getting back from the CSV upload process, you may have a space an unwanted space at the end of your file...

Your file looks like it has : SVU070180528,N, AL

and it probably should have: SVU070180528,N,AL

The upload process may be interpreting that as a blank domain name (or a domain name of with a leading space) when the Gid you are using references the AL domain.

Correct that error and re-try the upload process.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread



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
[SOLVED] Location of the Translator table for a Stylesheet AlejandroBarba Branding, Screen Sets, XSL/CSS and Translations 1 September 20th, 2007 19:19
[SOLVED] AIR FREIGHT data loading engyeowkee Data Loading 2 June 26th, 2007 10:45
[SOLVED] OTM data loading sequence malcolm Data Loading 4 May 29th, 2007 05:57
[SOLVED] How to make the integration in SEQUENCE? Sanju Integration and Data Mapping 2 January 22nd, 2007 04:06



All times are GMT. The time now is 01:24.
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