Sepasoft MES Module Suite
system.recipe.createRecipe(recipeName, parentRecipeName, note)
Description
Create new recipe.
Syntax
system.recipe.createRecipe(recipeName, parentRecipeName, note)
- Parameters
String recipeName - Name of new recipe.
String parentRecipeName - Name of parent recipe on which to base this descendant recipe. Leave blank if new recipe is not based on any other recipe.
String note - Optional note to be stored in the recipe change log.
- Returns
Nothing
- Scope
All
Python |
recipeName = "Snake River Sarsaparilla" parentRecipeName = "RB Master Recipe" note = 'Snake River Sarsaparilla added to RB Master Recipe on 5/19/17 by Nolan Ryan' system.recipe.createRecipe(recipeName, parentRecipeName, note) print note |
Output
|
Code
|
Snake River Sarsaparilla added to RB Master Recipe on 5/19/17 by Nolan Ryan
|
system.recipe.createRecipe(recipeName, parentRecipeName, recipeState, recipeGroup, note)
Description
Create a new recipe.
Syntax
system.recipe.createRecipe(recipeName, parentRecipeName, recipeState, recipeGroup, note)
- Parameters
String recipeName - Name of new recipe.
String parentRecipeName - Name of parent recipe on which to base this descendant recipe. Leave blank if new recipe is not based on any other recipe.
String recipeState - Optional field you can you can filter by.
String recipeGroup - Optional field you can filter by.
String note - Optional note to be stored in the recipe change log.
- Returns
Nothing
- Scope
All
Python |
recipeName = "Thomas Kemper" parentRecipeName = "RB Master Recipe" recipeState = "Hold" recipeGroup = "New Blend" note = 'Thomas Kemper added to RB Master Recipe on Hold in the New Blend group on on 5/1/17 by Carney Lansford' system.recipe.createRecipe(recipeName, parentRecipeName, recipeState, recipeGroup, note) print note |
Output
|
Code
|
Thomas Kemper added to RB Master Recipe on Hold in the New Blend group on on 5/1/17 by Carney Lansford
|
Sepasoft MES Module Suite