system.mes.batch.unit.create(name, parentLink)

Sepasoft MES Module Suite

Description

Create a new unit class object that can be further configured. Use the save function to save the new unit class. The new unit class will have all of batch phases of the parent unit class.

create(name, parentLink) → BatchUnitClass

Syntax

create(name, parentLink) → BatchUnitClass

  • Parameters

String name - The name of the new unit class. Note, unit class names must be globally unique.

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

  • Returns

A new unsaved BatchUnitClass object.

  • Scope

All



Sepasoft MES Module Suite