Sepasoft MES Module Suite
createFormula(name: String recipeLink: MESObjectLink parentLink: MESObjectLink = None )
Creates a formula using the provided formula name, recipe link, and parent link. The parentLink is optional, and if not provided, the new BatchFormula will be added to the root.
Returns
A new unsaved BatchFormula object.
Parameters
name: String The name of the new batch formula.
recipeLink: MESObjectLink An MESObjectLink to an existing batch master recipe, which will be used to base the formula off of.
parentLink - Optional: MESObjectLink. An optional link of the formula class to add the formula to. If not provided, then it will assign the BatchFormulaRoot object as the parent.
Default: None
Sepasoft MES Module Suite