Skip to main content

system.mes.inventory.operation.getInventoryOperationsByOperation

Description

Retrieves all the Inventory Operations records for a given operation.

Syntax

system.mes.inventory.operation.getInventoryOperationsByOperation(operationId)

Parameters

ParameterTypeDescription
operationIdString (ULID)The ID of the operation associated with the inventory operation.

Returns

Returns a list of JSON objects representing all inventory operations for a given operation.

Example Usage

# Retrieve all inventory operation for a given operation
all_inventories = system.mes.inventory.operation.getInventoryOperationsByOperation('01JC190XYX-VWVX79GS-M8Q730T5')

# Output the list of inventory operation
print(all_inventories)