Re: Food nutrition database

2019-02-20 Thread Wolfgang Paul Rauchholz
Thanks for pointing me to this solution. That works really great!

Quesiton I still have; what is the best usage of the tab 'Attributes'?

Wolfgang



On Mon, 2019-02-18 at 09:39 -0600, Paul Mandeltort wrote:
> You’ll want to use Features which already has units support built
> in. 
> 
> Add a broad feature Type for Nutrition
> https://demo-trunk.ofbiz.apache.org/catalog/control/EditFeatureTypes
>  trunk.ofbiz.apache.org/catalog/control/EditFeatureTypes>
> 
> And define the specific Nutrition things as features which live in
> Feature Categories:
>  
> https://demo-trunk.ofbiz.apache.org/catalog/control/EditFeatureCategories
>  <
> https://demo-trunk.ofbiz.apache.org/catalog/control/EditFeatureCategories
> >
> 
> Then you can manage specific features in the per-product features: 
> 
https://demo-trunk.ofbiz.apache.org/catalog/control/EditProductFeatures?productId=WG-9943
>  <
> https://demo-trunk.ofbiz.apache.org/catalog/control/EditProductFeatures?productId=WG-9943
> >
> 
> 
> --P
> --
> Paul Mandeltort,  Marco Specialties, Inc.  +1(512)394-8119  
> p...@marcospec.com 
> 
> > On Feb 18, 2019, at 3:51 AM, wp.rauchh...@gmail.com wrote:
> > 
> > Good day.
> > 
> > we want to use ofbiz for a food related business.
> > For tyhat we need to setup a database of ingredients and their
> > nutritional properties.
> > Is this best done hrough the 'Attributes' in the item master or is
> > there a better way?
> > Underneath an example of the data model for an apple.
> > 
> > Component Value UnitSource
> > Proximales  
> > alcohol (ethanol) 0 g   310
> > fat, total (total lipid)trace   g   258
> > protein, total  0.3 g   258
> > water (moisture)85.7g   258
> > Hidratos de Carbono 
> > carbohydrate12g 258
> > sucrose 2.4   g 341
> > fibre, total dietary2 g 258
> > 
> > Thanks, Wolfgang
> 
> 



Re: Food nutrition database

2019-02-18 Thread Paul Mandeltort
You’ll want to use Features which already has units support built in. 

Add a broad feature Type for Nutrition
https://demo-trunk.ofbiz.apache.org/catalog/control/EditFeatureTypes 


And define the specific Nutrition things as features which live in Feature 
Categories:
 https://demo-trunk.ofbiz.apache.org/catalog/control/EditFeatureCategories 


Then you can manage specific features in the per-product features: 
https://demo-trunk.ofbiz.apache.org/catalog/control/EditProductFeatures?productId=WG-9943
 



--P
--
Paul Mandeltort,  Marco Specialties, Inc.  +1(512)394-8119  p...@marcospec.com 

> On Feb 18, 2019, at 3:51 AM, wp.rauchh...@gmail.com wrote:
> 
> Good day.
> 
> we want to use ofbiz for a food related business.
> For tyhat we need to setup a database of ingredients and their nutritional 
> properties.
> Is this best done hrough the 'Attributes' in the item master or is there a 
> better way?
> Underneath an example of the data model for an apple.
> 
> Component   Value UnitSource
> Proximales
> alcohol (ethanol)   0 g   310
> fat, total (total lipid)  trace   g   258
> protein, total0.3 g   258
> water (moisture)  85.7g   258
> Hidratos de Carbono   
> carbohydrate  12g 258
> sucrose   2.4   g 341
> fibre, total dietary  2 g 258
> 
> Thanks, Wolfgang



Food nutrition database

2019-02-18 Thread wp . rauchholz
Good day.

we want to use ofbiz for a food related business.
For tyhat we need to setup a database of ingredients and their nutritional 
properties.
Is this best done hrough the 'Attributes' in the item master or is there a 
better way?
Underneath an example of the data model for an apple.

Component Value UnitSource
Proximales  
alcohol (ethanol) 0 g   310
fat, total (total lipid)trace   g   258
protein, total  0.3 g   258
water (moisture)85.7g   258
Hidratos de Carbono 
carbohydrate12g 258
sucrose 2.4   g 341
fibre, total dietary2 g 258

Thanks, Wolfgang