Skip to main content

system.mes.inventory.operation.getInventoryOperationReferences

Description

Retrieves a list of references to an Inventory Operations object by its ID.

Syntax

system.mes.inventory.operation.getInventoryOperationReferences(id)

Parameters

ParameterTypeDescription
idString (ULID)The ID of the inventory operation to retrieve.

Returns

Returns a list of JSON objects. Each JSON object has the following properties:

NameTypeDescription
tableNameStringThe name of the table that the reference is in.
referencesList<JSON Object>List of JSON objects corresponding to references to the inventory operation.

The JSON Objects in references has the following properties:

NameTypeDescription
fkColNameStringThe name of the foreign key column.
idString (ULID)The ULID of the object that is referencing the inventory operation.

Code Examples

# Retrieve the references for the inventory operation specified
inventory_operation_references = system.mes.inventory.operation.getInventoryOperationReferences('01JPAND53P-BZ61RZHZ-V7C6EEHG')

# Output the inventory operation references
print(inventory_operation_references)