Sepasoft MES Module Suite
system.mes.getInventory(mesLotFilter)
Get inventory based on the mesLotFilter parameter.
Syntax
system.mes.getInventory(mesLotFilter)
- Parameters
MESLotFilter mesLotFilter - A MESLotFilter object containing the filter criteria to return lot information for.
- Returns
Dataset containing the lot results.
Column Headers: MESMaterialLotUUID, Lot, LotSequence, LotDescription, LotStatus, LotUnits, LotAssemblyType, LotBeginDateTime, LotEndDateTime, LotQuantity, LotPropertyStatus, MaterialUUID, MaterialName, MaterialDescription, LotLocationName, LotLocationPath, LotLocationDescription
- Scope
All
Code Example
Python |
filter = system.mes.lot.filter.createFilter() filter.setIncludeActiveLots(True) dataSet = system.mes.getInventory(filter) pds = system.dataset.toPyDataSet(dataSet) value = pds[0][12] print value |
Output
Code |
Raw Balsamic Vinegar |
Sepasoft MES Module Suite