system.mes.inventory.getInventoryLotRecordReferences
Description
Retrieves a list of references to an Inventory Lot Records object by its ID.
Syntax
system.mes.inventory.getInventoryLotRecordReferences(id)
Parameters
Parameter | Type | Description |
---|---|---|
id | String (ULID) | The ID of the inventory lot record to retrieve. |
Returns
Returns a list of JSON objects. Each JSON object has the following properties:
Name | Type | Description |
---|---|---|
tableName | String | The name of the table that the reference is in. |
references | List<JSON Object> | List of JSON objects corresponding to references to the inventory lot record. |
The JSON Objects in references has the following properties:
Name | Type | Description |
---|---|---|
fkColName | String | The name of the foreign key column. |
id | String (ULID) | The ULID of the object that is referencing the inventory lot record. |
Code Examples
# Retrieve the references for the inventory lot record specified
lot_record_references = system.mes.inventory.getInventoryLotRecordReferences('VQNX3P98-01JE6QXQX0-993FMEHT')
# Output the inventory lot record references
print(lot_record_references)