Chris, You seem to be using the correct pattern, a "Risk" would have a "RiskType" just the same a a "Product" has a "ProductType" or a "ProductAssoc" has a "ProdAssocType"
- Andrew On Wed, 2007-02-07 at 11:13 +0000, Christopher Snow wrote: > I have an entity for storing type data. Would this data be better > placed in the EnumerationType entity? > > <entity entity-name="RiskType" package-name="org.ofbiz" title="Risk > Type Entity"> > <field name="riskTypeId" type="id-ne"></field> > <field name="description" type="description"></field> > <prim-key field="riskTypeId"/> > </entity> > > <RiskType riskTypeId="PROJECT" description="Project" parentTypeId=""/> > <RiskType riskTypeId="BAU" description="Business As Usual" > parentTypeId=""/> > <RiskType riskTypeId="CORPORATE" description="Corporate" > parentTypeId=""/> > <RiskType riskTypeId="FINANCE" description="Finance" parentTypeId=""/> > <RiskType riskTypeId="LEGAL" description="Legal" parentTypeId=""/> > ... > > > Many thanks, > > Chris -- Kind Regards Andrew Sykes <[EMAIL PROTECTED]> Sykes Development Ltd http://www.sykesdevelopment.com
