system.recipe.changeRecipeGroup

Sepasoft MES Module Suite

system.recipe.changeRecipeGroup(recipeName, newRecipeGroup, note)

Change group of a specified recipe.

Syntax

system.recipe.changeRecipeGroup(recipeName, newRecipeGroup, note)

  • Parameters

String  recipeName Name of the new recipe.

String  newRecipeGroup - Name - this provides a way to filter out a subset of all recipes .

String note - Optional note to be stored in the recipe change log.

  • Returns

Nothing

  • Scope

All

Python
recipeName = "Stubborn Soda"
newRecipeGroup = "Classic"
note = 'Stubborn Soda group name changed from Contemporary to Classic on 7/14/17 by Kenyon Drake'
system.recipe.changeRecipeGroup(recipeName, newRecipeGroup, note)
print note

Output

Code
Stubborn Soda group name changed from Contemporary to Classic on 7/14/17 by Kenyon Drake

Sepasoft MES Module Suite