You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by BJ Freeman <bj...@free-man.net> on 2010/06/28 01:03:05 UTC

hasTable usage

going through the data I have noticed that hasTable does not have any 
constitency.
when it is Y there are no other data with that one as parent.
when N there is other data that have that one as parent.

Now I found
     <PartyRelationshipType description="" hasTable="Y" parentTypeId="" 
partyRelationshipName="Employee" partyRelationshipTypeId="EMPLOYMENT" 
roleTypeIdValidFrom="" roleTypeIdValidTo=""/>

but no other enteries for partyRelationshipTypeId="EMPLOYMENT"

I have not found any code that deals with hasTable, outside of UI that 
displays it.

from
https://cwiki.apache.org/confluence/display/OFBTECH/General+Entity+Overview

EntityType is used to describe an Entity. A given EntityType can inherit 
features from a parent EntityType if one is specified in the 
parentTypeId field of a given EntityType instance. If a table is 
associated with a given EntityType instance that has the same name as 
the entityTypeId field value then the hasTable field should have the 
value 'Y', otherwise it should have the value 'N'. A description field 
is provided for a short description of an EntityType instance.

is there code I missed that uses this?
How does the Entity Inherit, what code checks this?
why have not the inconsistencies been found by code?

=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin 
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>