Login  Register

Re: Users - Party and Timezones

Posted by David E. Jones on Jan 22, 2006; 6:02pm
URL: http://ofbiz.116.s1.nabble.com/Users-Party-and-Timezones-tp137002p137008.html


Why Person? This would imply that the timezone doesn't apply to other types of parties, for example the party group type. Is that what is intended? If so, why?

-David


-----Original Message-----
   >From: "Charles Johnson"<[hidden email]>
   >Sent: 1/22/06 4:29:45 AM
   >To: "OFBiz Users / Usage Discussion"<[hidden email]>
   >Subject: Re: [OFBiz] Users - Party and Timezones
   >
   >What about joining Person to timezone?
   >
   >CJ
   >
   >David E. Jones wrote:
   >
   >>
   >> 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
   >>
   >>------------------------------------------------------------------------
   >>
   >>No virus found in this incoming message.
   >>Checked by AVG Free Edition.
   >>Version: 7.1.375 / Virus Database: 267.14.21/236 - Release Date: 20/01/2006
   >>
   >>  
   >>
   >
   >_______________________________________________
   >Users mailing list
   >[hidden email]
   >http://lists.ofbiz.org/mailman/listinfo/users

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