system.mes.batch.queue.setBatchBOM(batchQueueEntry, bom)

Sepasoft MES Module Suite

system.mes.batch.queue.setBatchBOM(batchQueueEntry, bom)

Sets values in a BOM (Bill of Materials) for a batch.

Warning

New in:

3.81.8 RC1 Release Candidate and later

Value Source constraints when changing parameter values via scripting

Warning

When making changes to parameters in a Control Recipe with this function, make sure to set the Value Source of each parameter to:

  • Recipe
  • Recipe and Execution

Value Source set to anything else, throws an error.

To learn about Value Source, see Properties Common to All Phase Parameters.

setBatchBOM(batchQueueEntry, bom) → Nothing

Syntax

setBatchBOM(batchQueueEntry, bom)

Parameters

batchQueueEntry: The BatchQueueEntry object to which the BOM will be applied.

bom: A Python dictionary containing the details of a bill of materials (BOM).

Information

Ignores "None" values so current values are not overwritten.

To get the BOM structure, use:

Scope

All



Sepasoft MES Module Suite