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!
|
|
To Use or Not To Use the Provider
Posted: 27 Jun 07 10:57 AM
|
We are looking to create a data store/warehouse of opportunity stats (changes to amounts, close dates, etc...) Is there any need to use the provider? Is GMT going to be an issue if I don't use the provider?
Thanks, John G. |
|
|
| |
|
Re: To Use or Not To Use the Provider
Posted: 27 Jun 07 12:48 PM
|
Currently a skeleton table is residing in the SalesLogix database. Hmm.. now thinking about it I'm wondering if using the provider would be best for security purposes. If I have the seccodeid and accountmanagerid in the custom table, will the provider automatically filter the data based on the logged in user?
Thanks, John G. |
|
|
| |
|
Re: To Use or Not To Use the Provider
Posted: 27 Jun 07 1:54 PM
|
I think you're right, the seccodeid is the only field necessary to apply security.
Would datetime fields be an issue if the provider weren't used?
Thanks, John G. |
|
|
|
Re: To Use or Not To Use the Provider
Posted: 27 Jun 07 7:20 PM
|
If users are going to view date information from the custom table via a SalesLogix screen then you should use the provider. However, if that is not the case then don’t use the provider.
In essence, the provider stores date/time information as if the user was sitting in TZ GMT-0. When dates are displayed in the UI the provider adjust the dates based on the TZ on the displaying PC.
|
|
|
|
Re: To Use or Not To Use the Provider
Posted: 28 Jun 07 6:12 AM
|
the provider stores date/time information as if the user was sitting in TZ GMT-0 If I were to pull the data without using the provider the date/time would be GMT 0 and unadjusted. Any reporting on that data would have to account for the TZ of the PC it is being run on.
Using the provider is sounding more and more likely.
Thanks, John G. |
|
|
|
Re: To Use or Not To Use the Provider
Posted: 28 Jun 07 9:04 AM
|
If you store the date/time information without going throught the provider and view the date/time information without using the provider would will see whatever value you stored.
I am in EST (GMT -5), If it is 6:01:30 AM and I store the current time through the provider what gets written to the database in 11:01:30 AM. When I view the date/time in the UI I will see 6:01:30 AM. Someone setting in PST (GMT -8) will see 3:01:30 AM. |
|
|
|