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

Sepasoft MES Module Suite

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

Create a new master recipe template class object that master recipe templates can to added as children. Use the saveTemplateClass function to save the new master recipe template class.

createTemplateClass(name, parentLink) → BatchMasterTemplateClass

Syntax

createTemplateClass(name, parentLink)

  • Parameters

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

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

  • Returns

A new unsaved BatchMasterTemplateClass object.

  • Scope

All



Sepasoft MES Module Suite