system.mes.batch.recipe.createRecipeClass(name, parentLink)

Sepasoft MES Module Suite

system.mes.batch.recipe.createRecipeClass(name, parentLink)

Create a new master recipe class object that master recipes can to added as children. Use the saveClass function to save the new master recipe class.

createRecipeClass(name, parentLink) → BatchMasterRecipeClass

Syntax

createRecipeClass(name, parentLink)

  • Parameters

String name - The name of the new master recipe class. Note, master recipe class name must be unique of all the its parent's children.

MESObjectLink parentLink - A optional link to a parent BatchMasterRecipeClass object. If None is provided for this parameter, then it will assign the BatchRootMasterRecipe object as the parent.

  • Returns

 A new unsaved BatchMasterRecipeClass object.

  • Scope

All



Sepasoft MES Module Suite