Sepasoft MES Module Suite
copyFormulaClass(copyFromLink, newName, parentLink)
Create and return a copy of an existing formula class without copying any of the children and optionally provide a new name. The new formula class needs saved after being copied.
Returns
A copy of the passed in formula class that can be saved.
Parameters
copyFromLink: MESObjectLink A formula class link to make a copy of.
newName - Optional: String Optionally provide a new name for the copied formula class. Default: None
parentLink - Optional: MESObjectLink An optional link to a parent BatchFormulaClass object. If not provided, then it will assign the BatchFormulaRoot object as the parent.
Default: None
Sepasoft MES Module Suite