Sepasoft MES Module Suite
system.mes.batch.recipe.copyTemplate(copyFromLink, newTemplateName)
Copy an existing master recipe template to a new one. The new master recipe template is not saved and further modifications can be made before using the saveTemplate script to save it.
copyTemplate(copyFromLink, newTemplateName) → MESObjectList
Syntax
copyTemplate(copyFromLink, newTemplateName)
- Parameters
MESObjectLink copyFromLink - The link for a master recipe template to make a copy from.
String newTemplateName - The name of the new recipe template. Note, master recipe template names must be unique to the parent master recipe template class.
- Returns
A MESObjectList object containing the new BatchMasterLogic objects.
- Scope
All
Sepasoft MES Module Suite