system.mes.batch.unitclass.getList

Sepasoft MES Module Suite

Description

Return a list of unit class objects. Paging is supported by providing the page number and page size and should be used when a large number of unorganized unit classes exist.

getList(parentLink, pageNumber, pageSize, searchPattern) → MESObjectList

Syntax

getList(parentLink, pageNumber, pageSize, searchPattern)

  • Parameters

MESObjectLink parentLink - The link to the unit class object to return the children. If None is provided for this parameter, then it will return the children of the BatchRootUnitClass object.

int pageNumber - The page number to include in the return results. If paging is not required, set this parameter to 0.

int pageSize - The page size to based the page number by. If paging is not required, set this parameter to a value greater than the number of unit classes that will ever be in the system. For example: 2147483647

String searchPattern - An optional search pattern to filter the return results by. It can contain * and ? wildcard characters. Example: Mixer *

  • Returns

 A list of BatchUnitClass objects.

  • Scope

All



Sepasoft MES Module Suite