system.mes.getLotInventoryByLot

Sepasoft MES Module Suite

system.mes.getLotInventoryByLot

These script functions are used to get the information about a specific lot.

system.mes.getLotInventoryByLot(materialLotUUID, excludeResponseMaterialUUID)

Get all material lot details of the specified lot.

Syntax

system.mes.getLotInventoryByLot(materialLotUUID, excludeResponseMaterialUUID)

  • Parameters

String materialLotUUID - The UUID of the material lot object to return the available lot details for.

String excludeResponseMaterialUUID - Optionally, this is a UUID of a response material property to exclude from the results. Pass empty String if you do not want to use this functionality.

  • Returns

MESLotQuantitySummaryItem item - An object containing material lot information such as quantity, UUID, etc.

  • Scope

All

Python
#This Code Snippet returns the information about the Lot getLotInfo = system.mes.getLotInventoryByLot('V100')

system.mes.getLotInventoryByLot(lotNumber, sequenceNumber)

Get all material lot details of the specified lot.

Syntax

system.mes.getLotInventoryByLot(lotNumber, sequenceNumber)

  • Parameters

String lotNumber - The Number of the material lot object to return the available lot details for. 

Integer sequenceNumber - The lot sequence number to return the material lot object for. If it is less than zero, then the lot holding the maximum value is returned and if the same lot number is used for multiple segments, each lot with the same lot number will be assigned a different lot sequence number. 

  • Returns

MESLotQuantitySummaryItem item - An object containing material lot information such as quantity, UUID, etc.

  • Scope

All

Python
#This Code Snippet returns the information about the Lot getLotInfo = system.mes.getLotInventoryByLot('V100')


system.mes.getLotInventoryByLot(lotNumber)


Get all material lot details of the specified lot.

Syntax

system.mes.getLotInventoryByLot(lotNumber)

  • Parameters

String lotNumber - The Number of the material lot object to return the available lot details for. 

  • Returns

MESLotQuantitySummaryItem item - An object containing material lot information such as quantity, UUID, etc.

  • Scope

All

Code Snippet

Python
#This Code Snippet returns the information about the Lot getLotInfo = system.mes.getLotInventoryByLot('V100')
Code
#This Code Snippet returns the information about the Lot getLotInfo = system.mes.getLotInventoryByLot('V100')


Output

Code
>>>  0000000088 - 1 (0824d32a-93e2-4a4b-ae19-4480be636ca8) >>> 




 

 

 

Sepasoft MES Module Suite