Skip to main content

system.mes.inventory.operation.getInventoryOperationsByLocation

Description

Retrieves all the Inventory Operations records at a given location.

Syntax

system.mes.inventory.operation.getInventoryOperationsByLocation(locationIdOrPath)

Parameters

ParameterTypeDescription
locationIdOrPathStringThe ID or path of the location associated with the inventory operation.

Returns

Returns a list of JSON objects representing all inventory operations at the given location.

Example Usage

# Retrieve all inventory operations at a given location
all_inventory_operations = system.mes.inventory.operation.getInventoryOperationsByLocation('DairyCo')

# Output the list of inventory operations
print(all_inventory_operations)