The Sepasoft MES 3.0 scripting API, which is available under the module name system., is full of functions that are useful when designing Sepasoft MES projects.
From starting production runs, analyzing production results, to importing or exporting production data, scripting functions can help.
Some of these functions only work in the Gateway scope, and other only work in the Client scope, while the rest work in both.
Also, there are script functions that are derived from the AbstractMESObject , and directly available on the MES objects. They support common tasks from setting material, personnel and other resources for production tasks to setting parenting relationships between material classes (categories) and material definitions.
For an overview and syntax of the scripting functions, see Scripting Overview and Syntax in the Ignition Documentation.