Sepasoft MES Module Suite
system.mes.getActualMaterialLots(operationsResponseUUID, lotUseType)
Get the Material Lots associated with a particular Operations Response.
Syntax
system.mes.getActualMaterialLots(operationsResponseUUID, lotUseType)
- Parameters
String operationsResponseUUID - The UUID of the Operation Response to return the associated Material Lots for.
String lotUseType - The lot's use-type. Valid uses are: 'In', 'Out', 'Consumable', and 'By-product'.
- Returns
MESList<MESObjectLink> matLotLinks - A list of MESObjectLinks that each have a reference to an MESMaterialLot object.
- Scope
All
Code Example
Python |
#This code will print the OUT-Material Lots associated with an Operations Response outMatLotLinks = system.mes.getActualMaterialLots('72b408bf-aaf4-420f-9ec5-4aa7fabbff83', 'Out') for outMaterialLotLink in outMatLotLinks: print(outMaterialLotLink.getMESObject()) |
Code |
MaterialLot (4ddb8ae8-4590-4499-815a-904d5ed86368, 0000000005, 0 parents, 0 children, 0 custom properties, 0 complex properties) |
Sepasoft MES Module Suite