Skip to end of metadata
Go to start of metadata

Info

These functions are only used by MES 1.0 for the OEE and SPC modules. For OEE 2.0, use the system.mes.oee functions instead.
Description

Get the Line information for Product Code. Useful for reports.

Syntax

system.production.utils.getProductCodeLineInfo(hideDisabled, filter, lineFilter)


  • Parameters

Boolean hideDisabled - Hides disabled product codes from result.

String filter - Returns product code that begin with this text. Leave blank for all the product codes.

String lineFilter - Returns product code information for the specified line.

  • Returns

Dataset - The product code information for the specified line.

  • Scope

All

Code Examples
Code Snippet
dataset = system.production.utils.getProductCodeLineInfo(1, 'PC', 'Unload Station')
pds = system.dataset.toPyDataSet(dataSet)
value = pds[0][2]
print value
Output
Product Description




  • No labels