system.recipe.cancelItemRecipe

Sepasoft MES Module Suite

system.recipe.cancelItemRecipe(itemPath)

Cancel the current recipe for the production item specified by the itemPath parameter. If the production item is a line, then the recipe for all children production items of the line will also be cancelled.


system.recipe.cancelItemRecipe(itemPath)

Syntax

system.recipe.cancelItemRecipe(itemPath)

  • Parameters

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

  • Returns

Nothing

  • Scope

All

Python
itemPath = '[global]\Enterprise\Site 2\Packaging\Line 1\Holding' 
system.recipe.cancelItemRecipe(itemPath)
print 'current recipe on ' + itemPath + ' Canceled'

Output

Code
current recipe on [global]\Enterprise\New Site\Packaging\packagingLine1\Filler Canceled


system.recipe.cancelItemRecipe(itemPath, note, changedBy)

Version specific: 3.81.12 RC1 and later

Syntax

system.recipe.cancelItemRecipe(itemPath, note, changedBy)

  • Parameters

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

String note - Optionally provide a reason the recipe was canceled.

String changedBy - Optionally provide a reference to who or what changed the recipe. This value will only be recorded if a Note is also provided.

  • Returns

Nothing

  • Scope

All

Sepasoft MES Module Suite