The Sepasoft MES 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 will work in any scope.
Also, there are script functions that are 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.