Re: Users - Entity fundamentals

Posted by Si Chen-2 on
URL: http://ofbiz.116.s1.nabble.com/Users-Entity-fundamentals-tp136935p136938.html

So...hold it right there.  Why are you making an Appointment entity when
there is the WorkEffort entity already?

Charles Johnson wrote:

>That's what i thought. I hope (assume) this can be done without altering
>the Person entity definition in any way? If so, i've been having
>difficulty doing so. I'm just trying to create a one-to-many relation
>(unlike the many-to-many relation in the tutorial) between Person and my
>entity Appointment respectively. I'm also assuming that this doesn't
>need the same kind of joining entity as HelloPersonHobby ...
>
>CJ
>
>Si Chen wrote:
>
>  
>
>>You mean the OFBIZ Person entity?  Yes, it would.  The tutorial was to
>>create a completely self-contained example, so that's why it didn't use
>>the existing OFBIZ entities.  In reality, of course, you should try to
>>do the exact opposite: reuse as many existing entities as possible.
>>
>>I should make a note of this in the tutorial.  Thanks for pointing it out.
>>
>>Si
>>
>>Charles Johnson wrote:
>>
>>
>>
>>    
>>
>>>In the tutorials we are shown examples of a Party/Person-like entity
>>>(HelloPerson). Would it not be possible to join HelloHobby with Person?
>>>
>>>CJ
>>>
>>>_______________________________________________
>>>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