system.mes.batch.unit.copy(copyFromLink, newUnitClassName)

Sepasoft MES Module Suite

Description

Create a new unit class object and copy the configuration from the unit class specified by the copyFromLink parameter. Use the save function to save the new unit class.

copy(copyFromLink, newUnitClassName) → BatchUnitClass

Syntax

copy(copyFromLink, newUnitClassName)

  • Parameters

MESObjectLink copyFromLink - The link to the unit class object to copy the configuration from.

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

  • Returns

A new unsaved BatchUnitClass object.

  • Scope

All



Sepasoft MES Module Suite