Skip to main content

system.mes.inventory.getAllLots

Description

Retrieves a list of all Inventory Lots records in the system.

Syntax

system.mes.inventory.getAllLots()

Parameters

ParameterTypeDescription
None-This method does not take any parameters.

Returns

Returns a list of JSON objects representing all inventory lots.

Code Examples

# Retrieve all inventory lots
all_lots = system.mes.inventory.getAllLots()

# Output the list of inventory lots
print(all_lots)