Breaking it down even further - Going Granular
If you noticed in the previous post, one of our Meat Ingredient Sub-Products is called Patty Beef. Another one is called Meatball. We can define Recipes for these as well, so when we put a Patty or Meatball on a Menu Item (Master Product), we can see how much overall Ground Beef (Inventory) we consume.
Master Product to Sub-Product Portion Mapping
Let’s look at how the Master to Sub-Product Portion Mapping is set up.
We have 2 types of Burgers: a Whiskey Burger and a Stuffed Burger. They have default Portions of Burger and Stuffed, respectively.
We also have several other Menu Items that we can put a Meatball into. For illustration, we will concentrate on the Slider Menu Item, which has a default Portion of Slider.
It is good to note another feature here: the Portion Multiplier. In this case the Multiplier indicates the number of Meatballs that go into each type of Menu Item. This is not true. I will update this Tutorial in the future when we receive Recipe Multipliers Feature (@emre ;)).
Order Tags
A quick look at the Meat Order Tag Group for review:
Inventory Items
We define Inventory Items for a number of the Ingredients which could go into a Patty or Meatball; the main one being Ground Beef, shown here.
Recipes
The Recipes for Patty, Stuffed Patty, and Meatball contain varying amounts of ingredients, most notably the amount of Ground Beef in each Recipe is the main factor:
We also have Recipes for the Meatball Product mapped to other Portions such as Slider and Wrap.
Note that the Menu Item called Pulled Pork Wrap probably should not be used here. The point is that the Menu Item name is arbitrary, so if we stack Meatballs in a Pork Wrap, we will still consume Meatballs accordingly.
We still need Recipes for the Master Products (Menu Items which we sell):
Testing the Patty and Meatball Recipes
Purchase 10 Pounds of Ground Beef: 160 Ounces
Sell Whiskey Burger: 8 Ounces
Sell Stuffed Burger: 7 Ounces
Sell Slider: 2 Ounces
Sell Pulled Pork Wrap (with Meatballs instead of Pork!): 2 Ounces per Meatball x 3 (Multiplier) = 6 Ounces
Consumed: 8 + 7 + 2 + (2x3) = 23 Ounces / 16 = 1.4375 Pounds
Prediction: 160 Ounces - 23 Ounces = 137 Ounces / 16 = 8.5625 Pounds





