Replace InputFile with RadzenUpload in filter panels for better UX, switch to ephemeral RSA keys (safe for transport-only encryption), and add test scripts and documentation files.
11 KiB
Search Type 110: Time Span + Work Center + Extract MIS
Overview
Search Type 110 allows users to search by a date range combined with work center(s) and the Extract MIS boolean flag. When Extract MIS is enabled, the search extracts MIS (Manufacturing Information System) data associated with work orders processed through the specified work center(s) within the given time range.
Filters Enabled
| Filter | Description | Required |
|---|---|---|
| Timespan | Date range (Min Date to Max Date) | Yes |
| Work Center | One or more work center codes | Yes |
| Extract MIS | Boolean flag to extract MIS data | Yes |
Valid Test Data
Timespan
Valid date range in database: 1905-01-20 to 2020-09-01
Recommended test ranges:
- Recent:
2020-01-01to2020-09-01 - Mid-range:
2018-01-01to2019-12-31 - Historical:
2016-01-01to2017-12-31
Work Centers
| Code |
|---|
| 0083AS |
| 0278AS |
| 0424AS |
| 0586AS |
| 0696AS |
| 1010AS |
| 1011AS |
| 10595CA |
| 11275CA |
| 11350CA |
| 11355CA |
| 13316CA |
| 14305CA |
| 15660CA |
| 1700CB |
| 200038CA |
| 200039 |
| 200039CA |
| 200041CA |
| 200042CA |
Extract MIS Values
| Value | Description |
|---|---|
| true | Extract MIS data for matching work orders |
| false | Do not extract MIS data |
Positive Test Cases
TC-110-P01: Single Work Center with Extract MIS Enabled
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test 110-P01 Single WC Extract MIS"
- Select "Time Span + Work Center + Extract MIS" search type (Type 110)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add work center
11275CA - Enable Extract MIS checkbox (set to true)
- Click Submit button
Expected Results:
- Search is created with status "Queued"
- Search appears in the user's search list
- Search criteria shows: Date range 2018-01-01 to 2020-09-01, Work Center: 11275CA, Extract MIS: true
TC-110-P02: Multiple Work Centers with Extract MIS Enabled
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test 110-P02 Multi WC Extract MIS"
- Select "Time Span + Work Center + Extract MIS" search type (Type 110)
- Set minimum date to
2019-01-01 - Set maximum date to
2020-09-01 - Add work center
10595CA - Add work center
11275CA - Add work center
11350CA - Enable Extract MIS checkbox (set to true)
- Click Submit button
Expected Results:
- Search is created with status "Queued"
- Search appears in the user's search list
- Search criteria shows all three work centers and Extract MIS: true
TC-110-P03: Single Work Center with Extract MIS Disabled
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test 110-P03 Single WC No Extract MIS"
- Select "Time Span + Work Center + Extract MIS" search type (Type 110)
- Set minimum date to
2018-01-01 - Set maximum date to
2019-12-31 - Add work center
0083AS - Disable Extract MIS checkbox (set to false)
- Click Submit button
Expected Results:
- Search is created with status "Queued"
- Search appears in the user's search list
- Search criteria shows: Date range 2018-01-01 to 2019-12-31, Work Center: 0083AS, Extract MIS: false
TC-110-P04: Historical Date Range with Multiple Work Centers
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test 110-P04 Historical Multi WC"
- Select "Time Span + Work Center + Extract MIS" search type (Type 110)
- Set minimum date to
2016-01-01 - Set maximum date to
2017-12-31 - Add work center
1010AS - Add work center
1011AS - Enable Extract MIS checkbox (set to true)
- Click Submit button
Expected Results:
- Search is created with status "Queued"
- Search criteria reflects the historical date range and both work centers
TC-110-P05: Work Center Code Variants with Extract MIS
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test 110-P05 WC Code Variants"
- Select "Time Span + Work Center + Extract MIS" search type (Type 110)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add work center
0696AS(AS suffix) - Add work center
13316CA(CA suffix) - Add work center
1700CB(CB suffix) - Enable Extract MIS checkbox (set to true)
- Click Submit button
Expected Results:
- Search is created with status "Queued"
- All work center code formats are accepted
TC-110-P06: Toggle Extract MIS (True then False)
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test 110-P06 Toggle Extract MIS True"
- Select "Time Span + Work Center + Extract MIS" search type (Type 110)
- Set minimum date to
2019-01-01 - Set maximum date to
2019-12-31 - Add work center
14305CA - Enable Extract MIS checkbox (set to true)
- Click Submit button
- Verify search is created
- Create another search with name: "Test 110-P06 Toggle Extract MIS False"
- Use same date range and work center
- Disable Extract MIS checkbox (set to false)
- Click Submit button
Expected Results:
- Both searches are created with status "Queued"
- First search shows Extract MIS: true
- Second search shows Extract MIS: false
TC-110-P07: Large Work Center Selection
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test 110-P07 Many Work Centers"
- Select "Time Span + Work Center + Extract MIS" search type (Type 110)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add work centers: 0083AS, 0278AS, 0424AS, 0586AS, 0696AS, 1010AS
- Enable Extract MIS checkbox (set to true)
- Click Submit button
Expected Results:
- Search is created with status "Queued"
- All six work centers are included in search criteria
Negative Test Cases
TC-110-N01: Missing Required Date Range
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test 110-N01 Missing Dates"
- Select "Time Span + Work Center + Extract MIS" search type (Type 110)
- Leave minimum date empty
- Leave maximum date empty
- Add work center
11275CA - Enable Extract MIS checkbox
- Attempt to click Submit button
Expected Results:
- Submit button is disabled OR validation error is displayed
- Error message indicates date range is required
- Search is NOT created
TC-110-N02: Missing Work Center
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test 110-N02 Missing Work Center"
- Select "Time Span + Work Center + Extract MIS" search type (Type 110)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Do NOT add any work center (leave empty)
- Enable Extract MIS checkbox
- Attempt to click Submit button
Expected Results:
- Submit button is disabled OR validation error is displayed
- Error message indicates at least one work center is required
- Search is NOT created
TC-110-N03: Invalid Date Range (End Before Start)
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test 110-N03 Invalid Date Range"
- Select "Time Span + Work Center + Extract MIS" search type (Type 110)
- Set minimum date to
2020-09-01 - Set maximum date to
2018-01-01(before minimum date) - Add work center
11275CA - Enable Extract MIS checkbox
- Attempt to click Submit button
Expected Results:
- Validation error is displayed
- Error message indicates maximum date must be after minimum date
- Search is NOT created
TC-110-N04: Missing Minimum Date Only
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test 110-N04 Missing Min Date"
- Select "Time Span + Work Center + Extract MIS" search type (Type 110)
- Leave minimum date empty
- Set maximum date to
2020-09-01 - Add work center
0083AS - Enable Extract MIS checkbox
- Attempt to click Submit button
Expected Results:
- Validation error is displayed
- Error message indicates minimum date is required
- Search is NOT created
TC-110-N05: Missing Maximum Date Only
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test 110-N05 Missing Max Date"
- Select "Time Span + Work Center + Extract MIS" search type (Type 110)
- Set minimum date to
2018-01-01 - Leave maximum date empty
- Add work center
10595CA - Enable Extract MIS checkbox
- Attempt to click Submit button
Expected Results:
- Validation error is displayed
- Error message indicates maximum date is required
- Search is NOT created
TC-110-N06: Missing Search Name
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Leave search name empty
- Select "Time Span + Work Center + Extract MIS" search type (Type 110)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add work center
11275CA - Enable Extract MIS checkbox
- Attempt to click Submit button
Expected Results:
- Validation error is displayed
- Error message indicates search name is required
- Search is NOT created
TC-110-N07: All Required Filters Missing
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test 110-N07 All Filters Missing"
- Select "Time Span + Work Center + Extract MIS" search type (Type 110)
- Leave minimum date empty
- Leave maximum date empty
- Do NOT add any work center
- Attempt to click Submit button
Expected Results:
- Submit button is disabled OR validation errors are displayed
- Error messages indicate all required fields are missing
- Search is NOT created
Notes
- Data was extracted from
WorkOrder_Histtable (1,742,847 records) - Work centers from
WorkOrderStep_Histtable - MIS data from
MisData_Histtable - The Extract MIS flag determines whether MIS data is included in search results
- Work center codes have different suffixes (AS, CA, CB) indicating different work center types