Login  Register

Re: Users - Party and Timezones

Posted by David E. Jones on Jan 22, 2006; 1:59am
URL: http://ofbiz.116.s1.nabble.com/Users-Party-and-Timezones-tp137002p137009.html


No, I think Party would actually be better than UserLogin. From a  
modeling perspective and considering the intent of the different  
entities UserLogin doesn't make much sense, unless I really mis-
understand what you intend to use this for and what it would mean.  
The UserLogin entity is part of the security data model and the only  
reasons a Party would have multiple UserLogin records would be for  
different permission sets or to change the UserLogin but still  
reserve the old one for tracking/auditing purposes and such.

-David


On Jan 21, 2006, at 6:09 PM, Vinay Agarwal wrote:

> On second thought, it may be better to associate timezone with a  
> UserLogin
> considering a party may have users in different locations. This of  
> course,
> assumes that a single login is used by a single user who would have a
> preferred timezone. Would this be better than assigning it to a party?
>
> Regards,
> Vinay Agarwal
>
> -----Original Message-----
> From: [hidden email] [mailto:users-
> [hidden email]]
> On Behalf Of David E. Jones
> Sent: Friday, January 20, 2006 7:11 PM
> To: OFBiz Users / Usage Discussion
> Subject: Re: [OFBiz] Users - Party and Timezones
>
>
> This is a tricky one since it may be correct to say that a given
> Party corresponds to a single time zone. On the other hand, I guess
> it depends on what you want to do with it... it may be that having
> more than one time zone would mess up what you are trying to do. In
> general the time zone probably goes along best with the Postal
> Address, or perhaps even the Telecom Number. If you need a single
> field, or call it a "preferredTimeZone" or something along those
> lines to make it clear that it isn't supposed to be the only one,
> then putting it right on the Party entity is not a bad way to go.
>
> -David
>
>
> On Jan 20, 2006, at 1:44 PM, Vinay Agarwal wrote:
>
>> Hello,
>>
>> My application needs timezone setting for each party. I haven't
>> been able to
>> find any timezone setting for the party--is there one? If not,
>> what's the
>> preferred way for adding it? I assume modifying the party entity is
>> NOT the
>> preferred way. Any suggestions?
>>
>> Regards,
>> Vinay Agarwal
>>
>> _______________________________________________
>> Users mailing list
>> [hidden email]
>> http://lists.ofbiz.org/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

smime.p7s (3K) Download Attachment