system.mes.batch.phase.getInheritablePhaseTypes()

Sepasoft MES Module Suite

system.mes.batch.phase.getInheritablePhaseTypes()

Returns names of phases that can be inherited from. When a new phase is created, it must be inherited from an existing inheritable phase and this function returns valid options.

getInheritablePhaseTypes() → List

Syntax

getInheritablePhaseTypes()

  • Parameters

      No Parameters

  • Returns

 A list of phase names as strings.

  • Scope

All

Example Script

Code
phaseTypes = system.mes.batch.phase.getInheritablePhaseTypes()
print phaseTypes

Code
>>> 
[Allocate, Deallocate, Document, E Signature, Equipment Phase, No Action, Preallocate Resources, Script, Set Parameter, Synchronize, Timer, Transfer In, Transfer Out, User Message, Value Prompt]
>>> 

Sepasoft MES Module Suite