system.mes.getMESObjectLink

Sepasoft MES Module Suite

system.mes.getMESObjectLink

These script functions are used to retrieve MES object links.

Method Options

system.mes.getMESObjectLink(mesObjectTypeName, mesObjectUUID)

Description

Get a MESObjectLink for the specified by the name of the MES object type and UUID. 

Syntax

system.mes.getMESObjectLink(MESObjectTypeName, mesObjectUUID)


  • Parameters

String MES Object Type Name - The name of MES object type of the link to return. See MES Object Type Name for more details.

String mesObjectUUID - The UUID of the MES object to return the MES object link for.

  • Returns

A MES Object Link for the specified MES object type and UUID. The MES object type will be looked up in the MES object cache or database. A MESObjectLink contains basic information about the MES object without the overhead of the the full MES object.

  • Scope

All

Code
print system.mes.getMESObjectLink('OperationsDefinition', 'a8a3771b-6330-423b-89fb-b54b7933fe3e')

Code
Receive Steel

Output

Code
Storage Tank

system.mes.getMESObjectLink(mesObjectUUID)

Description

Get a MESObjectLink for the specified UUID. 

Syntax

system.mes.getMESObjectLink(mesObjectUUID)


  • Parameters

String mesObjectUUID - The UUID of the MES object to return the MES object link for.

  • Returns

A MESObjectLink for the specified MES object type and UUID. The MES object type will be looked up in the MES object cache or database. A MESObjectLink contains basic information about the MES object without the overhead of the the full MES object.

  • Scope

All

Code
print system.mes.getMESObjectLink('OperationsDefinition', 'a8a3771b-6330-423b-89fb-b54b7933fe3e')

Output

Code
Receive Steel

system.mes.getMESObjectLink(mesObjectType, mesObjectUUID)

Description

Get a MESObjectLink for the specified MES object type and UUID. 

Syntax

system.mes.getMESObjectLink(MESObjectType, mesObjectUUID)


  • Parameters

String mesObjectType - The MES object type name of the MES object link to return.

String mesObjectUUID - The UUID of the MES object to return the MES object link for.

  • Returns

A MES Object Link for the specified MES object type and UUID. The MES object type will be looked up in the MES object cache or database. A MESObjectLink contains basic information about the MES object without the overhead of the full MES object.

  • Scope

All

Code
print system.mes.getMESObjectLink('OperationsDefinition', 'a8a3771b-6330-423b-89fb-b54b7933fe3e')

Output

Code
Receive Steel


Sepasoft MES Module Suite