Skip to main content

system.mes.material.getAllMaterials

Description

Retrieves a list of all Materials records in the system.

Syntax

system.mes.material.getAllMaterials()

Parameters

ParameterTypeDescription
None-This method does not take any parameters.

Returns

Returns a list of JSON objects representing all materials.

Code Examples

# Retrieve all materials
all_materials = system.mes.material.getAllMaterials()

# Output the list of materials
print(all_materials)