Skip to main content

system.mes.material.getAllMaterialReasonCodes

Description

Retrieves a list of all Material Reason Codes records in the system.

Syntax

system.mes.material.getAllMaterialReasonCodes()

Parameters

ParameterTypeDescription
None-This method does not take any parameters.

Returns

Returns a list of JSON objects representing all material reason codes.

Code Examples

# Retrieve all materials
all_material_reason_codes = system.mes.material.getAllMaterialReasonCodes()

# Output the list of materials
print(all_material_reason_codes)