ProductionTotalValue = Recipe.GetRecipeValuePerPortion(entity.RecipeId) * (decimal)entity.OrderQuantity.GetValueOrDefault();