system.recipe.deleteRecipe

Sepasoft MES Module Suite

Description

Deletes the specified recipe.

Syntax

system.recipe.deleteRecipe(recipeName, note)

  • Parameters

String recipeName Name of new recipe to delete.

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

  • Returns

Nothing

  • Scope

All

Code Examples

Code Snippet

Code
recipeName = "Manually Created Recipe 55"
note = recipeName + ' deleted on 5/19/17 by Ozzie Smith'
system.recipe.deleteRecipe(recipeName, note)
print note

Output

Code
Manually Created Recipe 55 deleted on 5/19/17 by Ozzie Smith

Sepasoft MES Module Suite