MESLotAvailabilityStatusTypes

Sepasoft MES Module Suite

Status Types | MESLotAvailability

The available lot status types are:

  • Available
  • Used
  • Both

Lot status can also be set with setPropertyValue('LotAvailabilityStatus', 'Both')  script function.

Python
#Load MES object
obj = system.mes.loadMESObject('Box', 'MaterialDef')
  
#Get and print the current name of the MES object
#Notice either method can be used to read the Name property
print obj.getName()
print obj.getPropertyValue('Name')
#Change the name of the MES object
obj.setPropertyValue('Name', 'Empty Box')
 
#Set the lot status
obj.setPropertyValue('LotAvailabilityStatus', 'Available')  

#Don't forget to save the MES object after changing property values
system.mes.saveMESObject(obj)
 

 

 

 

 

 

Sepasoft MES Module Suite