----About the products and ingredients----
Table ingredients:
| Name |
Amount |
Kg Price |
Unit Price |
| Frango |
1 |
20 |
20 |
There is a column for unit of measurement, but I want to solve the problem first.
Table Products:
| Name |
Applied Price |
Suggested Price |
Recipe Price |
List of ingredients |
| Sopa de frango |
X |
X |
Sum of quantity values from ingredient list |
[ Ingredient List from repeating group ] |
Notes:
- “kg” is a unit of measure in Brazil and it is aprox 2,2lb
- I defined a column that it will recive a list (ingredient list in produtcs), maybe this can be a mistake, i don’t know
- If you have some doubt, please ask me