Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 22, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Data & Imports Forums - SalesLogix Imports
Forum to discuss general SalesLogix import and data migration topics. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Imports | New ThreadView:  Search:  
 Author  Thread: Importing date fields
Pat S
Posts: 5
 
Importing date fieldsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Apr 06 3:28 AM

buy duloxetine

duloxetine buy online uk hikebikeclimb.net
fiogf49gjkf0d
Hi there, I'm having a problemwith something fairly straightforward - importing date fields into SLX...

I've formatted the field in my csv to be YYYY-MM-DD, this being the standard format in my experience for SQL (well, MySQL)... is this the same for MS SQL?

I have attempted mapping the field directly and also tried running it through the various functions available in the import wizard (StringAsTime, GMCreateDate and IntegerAsTime) just to see if they would work - to no avail.

Has anyone got experience with this before? Any help much appreciated!
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Importing date fieldsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Apr 06 4:42 PM
fiogf49gjkf0d
What are you using the do the import? (which tool?)

Also, what exactly is going wrong? What is the problem you're having with the imported dates? (ie: error, invalid date value once imported, etc - please describe the problem)
[Reply][Quote]
Pat S
Posts: 5
 
Re: Importing date fieldsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Apr 06 7:28 PM

abortion clinics near metairie la

abortion clinics near metairie la go
fiogf49gjkf0d
Hi Ryan, thanks for the reply.

I'm using the SLX Import Wizard which is run through ImportWiz.exe in the Program Files\SalesLogix folder. When I attempt to import the dates in the methods described above through the wizard, they simply do not appear in the date fields they are mapped to - the field is blank. Inspecting the database directly yields the same result - the field is simply blank.

Cheers

Pat
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Importing date fieldsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Apr 06 11:02 AM
fiogf49gjkf0d
While I don't use the import wizard often, I have imported data with dates before using that and never had to do anything special with the values. Just left them as they were and dumped them in.

You don't get any errors listed in the log?
[Reply][Quote]
Pat S
Posts: 5
 
Re: Importing date fieldsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Apr 06 2:54 AM
fiogf49gjkf0d
Nothing in the log at all - simply disappears from what I can tell... bit mysterious really. Would the YYYY-MM-DD format be a problem (ie, should there also be hours, minutes, seconds)? My experience with MySQL suggests not, but I'm not sure how translatable that is.
[Reply][Quote]
Deb R
Posts: 14
 
Re: Importing date fieldsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Apr 06 2:21 PM
fiogf49gjkf0d
Do try adding the time to the date field. It does seem to work more consistantly that way.
Also, keep in mind that SalesLogix defaults to Greenwich Mean Time.
Instead of importing the time at 0 you may want to use the following format: '2006-04-14 06:01:00.000'.
We have had the datetime import correctly to the SalesLogix database field and then display the previous days date on screen.
[Reply][Quote]
Pat S
Posts: 5
 
Re: Importing date fieldsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Apr 06 3:29 AM

effexor

effexor go
fiogf49gjkf0d
Thanks for that Deb - based on your suggestion I have finally managed to get a date into the database via the import wizard in the format you suggested... however, would you believe that from an input field of '2005-11-10 10:01:00.000' it is displaying '30/12/1899' ?!? This seems to suggest that it is close but that I am doing something not quite right.

One thing to note is that the data being imported is delimited only by the comma character, there are no inverted comma delimiters.

Cheers, PS
[Reply][Quote]
Deb R
Posts: 14
 
Re: Importing date fieldsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Apr 06 9:14 AM
fiogf49gjkf0d
Does it give you that on all of the dates or just some of them?
It looks as if you are getting the display format of dd/mm/yyyy and your import is changing 11/10/2005 to 12/30/1899. This could be a SQL thing. We got that error when we imported our original Progress database into SQL. (Before SalesLogix.) We had an Access database that also did that. They did not change every date.

We saw this most commonly if there was an empty field coming into the table. It also would occur when there was invalid data in the field. There may be a character that SQL does not understand and rather than leave the the field blank it sets the value to a default date. We discovered there were some records with incorrect / invalid data in the date field.

We looked for what was common to the dates that were changed and fixed them. So our data was OK by the time we imported it into SalesLogix.

I have never used the SalesLogix import wizard. I looked at it once and it did not appear to be able to do the maintenance imports we needed. We used Scribe software to do our original import into SalesLogix. I created SQL procedures to import the data that did not fit into the Scribe imports and for the maintenance imports we do.
[Reply][Quote]
Pat S
Posts: 5
 
Re: Importing date fieldsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Apr 06 6:03 PM

venlafaxine alcohol interaction

venlafaxine alcohol
fiogf49gjkf0d
Thanks again Deb, that's done it - formatting the dates to dd-mm-yyyy hh:mm:ss:000 did the trick. Cheers, Pat.
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/22/2024 3:56:23 PM