system.mes.material.getAllMaterials
Description
Retrieves a list of all Materials records in the system.
Syntax
system.mes.material.getAllMaterials()
Parameters
| Parameter | Type | Nullable | Description |
|---|---|---|---|
| None | - | - | This method does not take any parameters. |
Returns
Returns a list of JSON objects representing all materials.
Code Examples
# Retrieve all materials
allMaterials = system.mes.material.getAllMaterials()
# Output the list of materials
print(allMaterials)