system.mes.loadMaterialLotLinks

Sepasoft MES Module Suite

system.mes.loadMaterialLotLinks(equipmentPath, onlyAvailableLot, includeSupplementalEquipment)

This script function is used to load the link to a specific material lot. It includes parameter to include Supplemental Equipment as objects to load the MESObjectLink for. The default setting is False (not included).

Description

Get a link to the specified material lot object. Includes the option to include Supplemental Equipment as objects to load the MESObjectLink for (default setting is False = not included).

Syntax

system.mes.loadMaterialLotLinks(equipmentPath, onlyAvailableLot, includeSupplementalEquipment)

  • Parameters

String equipmentPath - The equipmentPath to the MES object.

Boolean onlyAvailableLot - If true, then only the available lot will be returned.

Boolean includeSupplementalEquipmentIf True, Supplemental Equipment will be included as objects to load the MESObjectLink for (default setting is False = not included).

  • Returns

A MES Object Link object representing the material lot.

  • Scope

All

Python
#This code returns the link to the specified material lot.
system.mes.loadMaterialLotLinks('My Enterprise\California\Storage\Vinegar Tanks\Rolling Cart 1', True, True)







Sepasoft MES Module Suite