Sepasoft MES Module Suite
system.mes.batch.queue.getBatchBOM
|
MES 3.81.7 RC 1 and later getBatchBom scripting function added |
|
MES 3.81.8 RC 2 and later Added logic to return min/max values. |
Python |
masterRecipeLink = system.mes.batch.recipe.getRecipeLink('Product 1111') batchName = ‘Test Prod 1111’ batchID = ‘WO-53985’ priority = 1 scale = 1.0 quantity = 1 batchQueueEntry = createEntry(masterRecipeLink, batchName, batchID, priority, scale, quantity) print( system.util.jsonEncode(system.mes.batch.queue.getBatchBOM(batchQueueEntry))) |
Returns
JSON |
|
Sepasoft MES Module Suite