Sepasoft MES Module Suite
sortTypeKey
This is a list of sort types for filters on samples, ascending/descending that is set on each column.
Example:
In scripting you use the first string value, example STATE_DECENDING would be “State (Descending)” and is case insensitive.
STATE_DESCENDING("State (Descending)", "State", true);
Python |
system.mes.spc.sample.getSampleList(locationPath, startDate, endDate, showApproved = True, sortType = “State (Descending)“) |
Python |
NONE("None", "", false), DUE_ASCENDING("Due State", "State,ScheduledState", false), ID_ASCENDING("ID", "ID", false), ID_DESCENDING("ID (Descending)", "ID", true), SCHEDULED_START_ASCENDING("Scheduled Start", "ScheduledStart", false), SCHEDULED_START_DESCENDING("Scheduled Start (Descending)", "ScheduledStart", true), SCHEDULED_FINISH_ASCENDING("Scheduled Finish", "ScheduledFinish", false), SCHEDULED_FINISH_DESCENDING("Scheduled Finish (Descending)", "ScheduledFinish", true), TAKEN_ASCENDING("Taken Date Time", "SampleTakenDateTime", false), TAKEN_DESCENDING("Taken Date Time (Descending)", "SampleTakenDateTime", true), DEF_UUID_ASCENDING("Def UUID", "DefUUID", false), DEF_UUID_DESCENDING("Def UUID (Descending)", "DefUUID", true), VERSION_ASCENDING("Version", "Version", false), VERSION_DESCENDING("Version (Descending)", "Version", true), DEFINITION_ASCENDING("Definition", "Definition", false), DEFINITION_DESCENDING("Definition (Descending)", "Definition", true), DESCRIPTION_ASCENDING("Description", "Description", false), DESCRIPTION_DESCENDING("Description (Descending)", "Description", true), SAMPLE_UUID_ASCENDING("Sample UUID", "SampleUUID", false), SAMPLE_UUID_DESCENDING("Sample UUID (Descending)", "SampleUUID", true), PRODUCT_CODE_ASCENDING("Product Code", "ProductCode", false), PRODUCT_CODE_DESCENDING("Product Code (Descending)", "ProductCode", true), ENTERPRISE_ASCENDING("Enterprise", "Enterprise", false), ENTERPRISE_DESCENDING("Enterprise (Descending)", "Enterprise", true), SITE_ASCENDING("Site", "Site", false), SITE_DESCENDING("Site (Descending)", "Site", true), AREA_ASCENDING("Area", "Area", false), AREA_DESCENDING("Area (Descending)", "Area", true), LINE_ASCENDING("Line", "Line", false), LINE_DESCENDING("Line (Descending)", "Line", true), LOCATION_ASCENDING("Location", "Location", false), LOCATION_DESCENDING("Location (Descending)", "Location", true), REF_NO_ASCENDING("Ref No", "RefNo", false), REF_NO_DESCENDING("Ref No (Descending)", "RefNo", true), ENTRY_DATE_TIME_ASCENDING("Entry Date Time", "EntryDateTime", false), ENTRY_DATE_TIME_DESCENDING("Entry Date Time (Descending)", "EntryDateTime", true), SHIFT_ASCENDING("Shift", "Shift", false), SHIFT_DESCENDING("Shift (Descending)", "Shift", true), SEQUENCE_DATE_ASCENDING("Sequence Date", "SequenceDate", false), SEQUENCE_DATE_DESCENDING("Sequence Date (Descending)", "SequenceDate", true), APPROVED_ASCENDING("Approved", "Approved", false), APPROVED_DESCENDING("Approved (Descending)", "Approved", true), EXCLUDE_ASCENDING("Exclude", "Exclude", false), EXCLUDE_DESCENDING("Exclude (Descending)", "Exclude", true), SAMPLE_TAKEN_BY_ASCENDING("Sample Taken By", "SampleTakenBy", false), SAMPLE_TAKEN_BY_DESCENDING("Sample Taken By (Descending)", "SampleTakenBy", true), APPROVED_BY_ASCENDING("Approved By", "ApprovedBy", false), APPROVED_BY_DESCENDING("Approved By (Descending)", "ApprovedBy", true), APPROVED_DATE_TIME_ASCENDING("Approved Date Time", "ApprovedDateTime", false), APPROVED_DATE_TIME_DESCENDING("Approved Date Time (Descending)", "ApprovedDateTime", true), TAG_ASCENDING("Tag", "Tag", false), TAG_DESCENDING("Tag (Descending)", "Tag", true), NOTE_ASCENDING("Note", "Note", false), NOTE_DESCENDING("Note (Descending)", "Note", true), STATE_ASCENDING("State", "State", false), STATE_DESCENDING("State (Descending)", "State", true); |
Sepasoft MES Module Suite