Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, May 19, 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!
 Off Topic Forums - General & Off Topic
Forum for off topic and general discussion. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to General & Off Topic | New ThreadView:  Search:  
 Author  Thread: Change data in system
20pippo05
Posts: 46
 
Change data in system Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Mar 09 2:19 AM
How can i change the system data in saleslogix?
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Change data in system Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Mar 09 8:54 PM
What data, exactly, and what do you want to change it to?
[Reply][Quote]
20pippo05
Posts: 46
 
Re: Change data in system Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Apr 09 1:54 AM
For example:when i change the opportunity record,the saleslogix write in MODIFYDATE field (table OPPORTUNITY) the data on GMT.I want the data in GMT+01.00.
Now,the data of saleslogix is two hours back because we use the DST
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Change data in system Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Apr 09 2:04 AM
Ah - you meant 'date', not 'data'.

As far as I know, the updating of those special fields is done within the SLX OLEDB Provider and I really do not think it is a good idea to interfere with this - even if you could.

Better to leave the datetimes as GMT and work out why your computers are not performing the translation from GMT to your timezone correctly. Have you got the Automatically Adjust for Daylight Savings (or whatever it is called) setting turned on?


[Reply][Quote]
20pippo05
Posts: 46
 
Re: Change data in system Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Apr 09 3:10 AM
yes,automatically adjust.thank you
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Change data in system Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Apr 09 3:14 AM
What version of SLX?

What timezone are you in?

Are all users having the same problem?

Sorry for all the questions ...
[Reply][Quote]
20pippo05
Posts: 46
 
Re: Change data in system Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Apr 09 5:01 AM
version 7.2
timezone is 105 (GMT +1)
I work in saleslogix for integrate with erp and i compare the date for update the data
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Change data in system Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Apr 09 5:35 AM
So you problem is not with SLX, but with the fact that timed data is always stored in GMT format - and when you compare it with the dates on your ERP system, which, presumably, are not in GMT format, the comparison sometimes gives inaccurate results?

In your integration module, are you connecting to SLX using the SLX OLEDB Provider? That should take care of the whole thing for you. If you cannot do this and you have to connect using the SQL Server provder, I suggest that you write a SQL Server UDF which takes as its argument a GMT datetime and returns a datetime adjusted for your timezone and use this for your ERP comparisons.

Phil
[Reply][Quote]
Trent Haynes
Posts: 32
 
Re: Change data in system Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 02 Apr 09 7:52 AM
I'm glad I watch these forums...

We ran into this same issue. Ended up doing exactly what you've suggested (working around it in our sql code) because we are using the SQL Native client to connect.

We did all this long before we really knew anything about SLX, so...

Quote:
...are you connecting to SLX using the SLX OLEDB Provider? That should take care of the whole thing for you.


...this certainly clears up the issue for me.


Quote:
...If you cannot do this and you have to connect using the SQL Server provder, I suggest that you write a SQL Server UDF which takes as its argument a GMT datetime and returns a datetime adjusted for your timezone and use this for your ERP comparisons.


Now that someone has clearly stated how it works, as we transition to services based processes for our integration (replacing the hard coded ties that we used for expedience) - I know that I can switch to using the SLX OLEDB provider and won't have to include the "adjustment" anymore.
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Change data in system Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 02 Apr 09 8:13 AM
Cool - sounds like you completely grasped the ramifications & good luck.

I suggest that you do some testing with the SLX OLEDB Provider to ensure that:

a) You can connect OK - should be a non-issue, but you'll have to store username (use ADMIN) and associated password somewhere to be able to connect.
b) The commands which you are executing over the SQL Native Client connection work OK via the SLX Provider, which implements only a subset of the SQL available via a native connection. Fancy modern T-SQL is not implemented.

Phil
[Reply][Quote]
Dan Carvin
Posts: 227
 
Re: Change data in system Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Apr 09 4:15 PM
While writing to SLX through the SLX OLEDB providor is recommended, if you must set createdates, etc with T-SQL, GETUTCDATE() will return the current UTC date/time.
[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): 5/19/2024 6:26:25 AM