Sepasoft MES Module Suite
system.mes.loadMaterialLots(equipmentPath, onlyAvailableLot, includeSupplementalEquipment)
This script function is used to load a specific material lot. It includes the option to include Supplemental Equipment as objects to load the lots from (the default setting is False = not included).
Get a specified material lot object. It includes the option to include Supplemental Equipment as objects to load the lots from (the default setting is False = not included).
Syntax
system.mes.loadMaterialLots(equipmentPath, onlyAvailableLot, includeSupplementalEquipment)
- Parameters
String equipmentPath - The equipmentPath to the MES object.
boolean onlyAvailableLot - If true, then only the available lot will be returned.
boolean includeSupplementalEquipment - If True, Supplemental Equipment will be included as objects to load the MESObjectLink for. Default setting is False (not included).
- Returns
A MESMaterialLot object.
- Scope
All
Python |
#This code returns the specified material lot. system.mes.loadMaterialLots('My Enterprise\California\Storage\Vinegar Tanks\Rolling Cart 1', True, True) |
Sepasoft MES Module Suite