system.recipe.addItemToRecipe

Sepasoft MES Module Suite

system.recipe.addItemToRecipe(recipeName, itemPath, note)

Add a production item to a recipe. Once a production item is added to a recipe, the recipe values for the production item can be managed. Also, the recipe can be selected for the added production item.

Syntax

system.recipe.addItemToRecipe(recipeName, itemPath, note)

  • Parameters

String recipeName - Name of recipe to add the specified production item.

String itemPath - The item path to a production line, cell, cell group or location.

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

  • Returns

Nothing

  • Scope

All

Python
itemPath = '[global]\Enterprise\New Site\Packaging\packagingLine1\Filler'
recipeName = "Weinhardt's" 
note = ""
system.recipe.addItemToRecipe(recipeName, itemPath, note)
print itemPath + ' Added to ' + recipeName

Output

Code
[global]\Enterprise\Site 2\Packaging\Line 1\Holding Added to Weinhardt's

Sepasoft MES Module Suite