Hi Ashish,

From: "Ashish Vijaywargiya" <[EMAIL PROTECTED]>
Thanks Jacopo for your comments.
Let's see what other has to say about workEffortParentId field.

It's crystal clear to me : I agree with Jacopo. Maybe we should even add a comment at each denormalised field (in model) to explain and make this more clear (maybe it's ealready done I did not check)

Jacques


On Tue, Jul 15, 2008 at 3:51 PM, Jacopo Cappellato <
[EMAIL PROTECTED]> wrote:

I have to admit that I don't like very much the workEffortParentId field
and the way it is used; it would be better if the WorkEffortAssoc entity was
used every time you have to specify an association between work effort: in
this way you'll have the ability to set the type ofassociation and also
validity dates.
Sometimes having denormalized fields is useful (to speed up queries and
simplify code) but unfortunately the workEffortParentId field is not used
only for this and it is used a lot, especially by the manufacturing
component, ven when the WorkEffortAssoc would do much more sense.

My general suggestion would be that of using WorkEffortAssoc as much as
possible (especially for new code/features).

Jacopo



On Jul 15, 2008, at 11:46 AM, Ashish Vijaywargiya wrote:

 Can anybody having good insight on WorkEffort module put some comments to
understand this scenario ?
I am also interested to know about it.

Thanks !!!


On Sat, Jun 14, 2008 at 8:46 PM, Rishi Solanki <[EMAIL PROTECTED]>
wrote:

 Hello All,

We have *WorkEffort* Entity in OFBiz in which we maintain a recursive
relation ship using attribute *parentWorkEffortId.*
Here we again have the *WorkEffortAssoc *in which we again relate two
workeffort by using the *workEffortFrom *and* workEffortTo.*
Now my question is like that, if we have a relationship to relate the
workEffortId by it self ( i.e by an another workEffortId ), then why we
need
the
*WorkEffortAssoc *for the same purpose.

*Or it is for handeling a different scenario in (OFBiz Work Effort Data
Modeling).
**
*
*Thanks and Regards
[Rishi Solanki]*




--
Ashish Vijaywargiya
Indore, India
http://en.wikipedia.org/wiki/Indore





--
Ashish Vijaywargiya
Indore, India
http://en.wikipedia.org/wiki/Indore


Reply via email to