Sepasoft MES Module Suite
system.mes.getLotTraceByLotUUID
These script functions are used to get lot trace details currently available at the specified lot UUID.
Method Options
system.mes.getLotTraceByLotUUID(lotUUID, highlightSublotName)
Description
Get lot trace details for the specified Material Lot UUID.
Syntax
system.mes.getLotTraceByLotUUID(lotUUID, highlightSublotName)
- Parameters
String lotUUID - The lot UUID to return trace information for.
String highlightSublotName - Optionally, include the name of the sublot to highlight. If this parameter is not blank, an additional column will be added and set to 1 if the specified sublot is contained in a lot.
- Returns
A dataset containing the trace results (one row x 27 columns)
- Scope
All
Code |
|
Trace Results Dataset
The trace results dataset returned contains 27 columns, explained here: Lot Trace Results Column Definitions
system.mes.getLotTraceByLotUUID(lotUUID, highlightSublotName, maxFanCount, detailedMode)
Description
Get lot trace details for the specified Material Lot UUID.
Syntax
system.mes.getLotTraceByLotUUID(lotUUID, highlightSublotName, maxFanCount, detailedMode)
- Parameters
String lotUUID - The lot UUID to return trace information for.
String highlightSublotName - Optionally, include the name of the sublot to highlight. If this parameter is not blank, an additional column will be added and set to 1 if the specified sublot is contained in a lot.
Integer maxFanCount - The maximum number of lots to fan out to before returning an error. Compiling huge amounts of trace data requires system resources and typically is not useful to the end user. This setting is a safety to prevent inadvertently requesting huge amounts of trace data.
Boolean detailedMode - If true, more details are returned in the trace results.
- Returns
A dataset containing the trace results.
- Scope
All
Python |
#This code returns the trace information of the Material Lot getTrace = system.mes.getLotTraceByLotUUID('ff6dc96a-0968-4ae2-8127-ef22bb9cbc02', 'SN9823', 100, True) |
Trace Results Dataset
The trace results dataset returned contains 27 columns, explained here: Lot Trace Results Column Definitions
Sepasoft MES Module Suite