Sepasoft MES Module Suite
system.mes.getLotTraceByLotName
These script functions are used to get lot trace details currently available at the specified lot name.
Method Options
system.mes.getLotTraceByLotName(lotName, highlightSublotName)
Description
Get lot trace details for the specified Material Lot Name.
Syntax
system.mes.getLotTraceByLotName(lotName, highlightSublotName)
- Parameters
String lotName - The lot name 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.
- Scope
All
Python |
#This code returns the trace information of the Material Lot system.mes.getLotTraceByLotName('V 1000', 'SN9823', 100, True) |
Trace Results Dataset
The trace results dataset returned contains 27 columns, explained here: Lot Trace Results Column Definitions
system.mes.getLotTraceByLotName(lotName, highlightSublotName, maxFanCount, detailedMode)
Description
Get lot trace details for the specified Material Lot Name.
Syntax
system.mes.getLotTraceByLotName(lotName, highlightSublotName, maxFanCount, detailedMode)
- Parameters
String lotName - The lot name 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 system.mes.getLotTraceByLotName('V 1000', '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