04383d672c
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.
552 lines
16 KiB
Markdown
552 lines
16 KiB
Markdown
# Search Type 120: Time Span + Work Center + Item/Operation/MIS
|
|
|
|
## Overview
|
|
|
|
Search Type 120 allows users to search by a date range combined with work center(s) and part operation(s). Part operations are defined by a combination of Item Number, Operation Number, MIS Number, and MIS Revision. This search type finds work orders processed through specific work centers that match the specified part operation criteria 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 |
|
|
| Item/Operation/MIS | One or more part operations (Item + Op + MIS + Rev) | Yes |
|
|
|
|
---
|
|
|
|
## Valid Test Data
|
|
|
|
### Timespan
|
|
|
|
Valid date range in database: **1905-01-20** to **2020-09-01**
|
|
|
|
Recommended test ranges:
|
|
- Recent: `2020-01-01` to `2020-09-01`
|
|
- Mid-range: `2018-01-01` to `2019-12-31`
|
|
- Historical: `2016-01-01` to `2017-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 |
|
|
|
|
### Part Operations (Item/Operation/MIS)
|
|
|
|
| ItemNumber | OperationNumber | MisNumber | MisRevision |
|
|
|------------|-----------------|-----------|-------------|
|
|
| 00-5952-012-01 | 505 | 26-1002-003-00 | 00 |
|
|
| 00-5952-012-02 | 505 | 26-1002-003-00 | 00 |
|
|
| 00-5952-013-01 | 505 | 26-1002-003-00 | 00 |
|
|
| 00-5952-013-02 | 505 | 26-1002-003-00 | 00 |
|
|
| 00-5952-013-05 | 505 | 26-1002-003-00 | 00 |
|
|
| 00-5952-013-06 | 505 | 26-1002-003-00 | 00 |
|
|
| 00-5952-014-01 | 505 | 26-1002-003-00 | 00 |
|
|
| 00-5952-014-02 | 505 | 26-1002-003-00 | 00 |
|
|
| 00-5952-014-05 | 505 | 26-1002-003-00 | 00 |
|
|
| 00-5952-014-06 | 505 | 26-1002-003-00 | 00 |
|
|
|
|
---
|
|
|
|
## Positive Test Cases
|
|
|
|
### TC-120-P01: Single Work Center with Single Part Operation
|
|
|
|
**Preconditions:**
|
|
- User is logged in
|
|
- User has access to the Submit Search page
|
|
|
|
**Steps:**
|
|
1. Navigate to Submit Search page
|
|
2. Enter search name: "Test 120-P01 Single WC Single PartOp"
|
|
3. Select "Time Span + Work Center + Item/Operation/MIS" search type (Type 120)
|
|
4. Set minimum date to `2018-01-01`
|
|
5. Set maximum date to `2020-09-01`
|
|
6. Add work center `0083AS`
|
|
7. Add part operation:
|
|
- Item Number: `00-5952-013-01`
|
|
- Operation Number: `505`
|
|
- MIS Number: `26-1002-003-00`
|
|
- MIS Revision: `00`
|
|
8. Click Submit button
|
|
|
|
**Expected Results:**
|
|
- Search is created with status "Queued"
|
|
- Search appears in the user's search list
|
|
- Search criteria shows: Date range, Work Center: 0083AS, and the part operation details
|
|
|
|
---
|
|
|
|
### TC-120-P02: Single Work Center with Multiple Part Operations
|
|
|
|
**Preconditions:**
|
|
- User is logged in
|
|
- User has access to the Submit Search page
|
|
|
|
**Steps:**
|
|
1. Navigate to Submit Search page
|
|
2. Enter search name: "Test 120-P02 Single WC Multi PartOps"
|
|
3. Select "Time Span + Work Center + Item/Operation/MIS" search type (Type 120)
|
|
4. Set minimum date to `2018-01-01`
|
|
5. Set maximum date to `2020-09-01`
|
|
6. Add work center `10595CA`
|
|
7. Add part operation 1:
|
|
- Item Number: `00-5952-012-01`
|
|
- Operation Number: `505`
|
|
- MIS Number: `26-1002-003-00`
|
|
- MIS Revision: `00`
|
|
8. Add part operation 2:
|
|
- Item Number: `00-5952-012-02`
|
|
- Operation Number: `505`
|
|
- MIS Number: `26-1002-003-00`
|
|
- MIS Revision: `00`
|
|
9. Add part operation 3:
|
|
- Item Number: `00-5952-013-01`
|
|
- Operation Number: `505`
|
|
- MIS Number: `26-1002-003-00`
|
|
- MIS Revision: `00`
|
|
10. Click Submit button
|
|
|
|
**Expected Results:**
|
|
- Search is created with status "Queued"
|
|
- Search criteria shows all three part operations
|
|
|
|
---
|
|
|
|
### TC-120-P03: Multiple Work Centers with Single Part Operation
|
|
|
|
**Preconditions:**
|
|
- User is logged in
|
|
- User has access to the Submit Search page
|
|
|
|
**Steps:**
|
|
1. Navigate to Submit Search page
|
|
2. Enter search name: "Test 120-P03 Multi WC Single PartOp"
|
|
3. Select "Time Span + Work Center + Item/Operation/MIS" search type (Type 120)
|
|
4. Set minimum date to `2019-01-01`
|
|
5. Set maximum date to `2020-09-01`
|
|
6. Add work center `11275CA`
|
|
7. Add work center `11350CA`
|
|
8. Add work center `11355CA`
|
|
9. Add part operation:
|
|
- Item Number: `00-5952-014-01`
|
|
- Operation Number: `505`
|
|
- MIS Number: `26-1002-003-00`
|
|
- MIS Revision: `00`
|
|
10. Click Submit button
|
|
|
|
**Expected Results:**
|
|
- Search is created with status "Queued"
|
|
- Search criteria shows all three work centers and the part operation
|
|
|
|
---
|
|
|
|
### TC-120-P04: Multiple Work Centers with Multiple Part Operations
|
|
|
|
**Preconditions:**
|
|
- User is logged in
|
|
- User has access to the Submit Search page
|
|
|
|
**Steps:**
|
|
1. Navigate to Submit Search page
|
|
2. Enter search name: "Test 120-P04 Multi WC Multi PartOps"
|
|
3. Select "Time Span + Work Center + Item/Operation/MIS" search type (Type 120)
|
|
4. Set minimum date to `2017-01-01`
|
|
5. Set maximum date to `2020-09-01`
|
|
6. Add work center `0083AS`
|
|
7. Add work center `0278AS`
|
|
8. Add part operation 1:
|
|
- Item Number: `00-5952-013-05`
|
|
- Operation Number: `505`
|
|
- MIS Number: `26-1002-003-00`
|
|
- MIS Revision: `00`
|
|
9. Add part operation 2:
|
|
- Item Number: `00-5952-013-06`
|
|
- Operation Number: `505`
|
|
- MIS Number: `26-1002-003-00`
|
|
- MIS Revision: `00`
|
|
10. Click Submit button
|
|
|
|
**Expected Results:**
|
|
- Search is created with status "Queued"
|
|
- Search criteria shows both work centers and both part operations
|
|
|
|
---
|
|
|
|
### TC-120-P05: Historical Date Range with Part Operations
|
|
|
|
**Preconditions:**
|
|
- User is logged in
|
|
- User has access to the Submit Search page
|
|
|
|
**Steps:**
|
|
1. Navigate to Submit Search page
|
|
2. Enter search name: "Test 120-P05 Historical PartOp Search"
|
|
3. Select "Time Span + Work Center + Item/Operation/MIS" search type (Type 120)
|
|
4. Set minimum date to `2016-01-01`
|
|
5. Set maximum date to `2017-12-31`
|
|
6. Add work center `1010AS`
|
|
7. Add part operation:
|
|
- Item Number: `00-5952-014-02`
|
|
- Operation Number: `505`
|
|
- MIS Number: `26-1002-003-00`
|
|
- MIS Revision: `00`
|
|
8. Click Submit button
|
|
|
|
**Expected Results:**
|
|
- Search is created with status "Queued"
|
|
- Search criteria reflects the historical date range
|
|
|
|
---
|
|
|
|
### TC-120-P06: Same MIS Different Items
|
|
|
|
**Preconditions:**
|
|
- User is logged in
|
|
- User has access to the Submit Search page
|
|
|
|
**Steps:**
|
|
1. Navigate to Submit Search page
|
|
2. Enter search name: "Test 120-P06 Same MIS Diff Items"
|
|
3. Select "Time Span + Work Center + Item/Operation/MIS" search type (Type 120)
|
|
4. Set minimum date to `2018-01-01`
|
|
5. Set maximum date to `2020-09-01`
|
|
6. Add work center `13316CA`
|
|
7. Add part operation 1:
|
|
- Item Number: `00-5952-014-05`
|
|
- Operation Number: `505`
|
|
- MIS Number: `26-1002-003-00`
|
|
- MIS Revision: `00`
|
|
8. Add part operation 2:
|
|
- Item Number: `00-5952-014-06`
|
|
- Operation Number: `505`
|
|
- MIS Number: `26-1002-003-00`
|
|
- MIS Revision: `00`
|
|
9. Click Submit button
|
|
|
|
**Expected Results:**
|
|
- Search is created with status "Queued"
|
|
- Both part operations with same MIS but different items are accepted
|
|
|
|
---
|
|
|
|
### TC-120-P07: Work Center Code Variants with Part Operations
|
|
|
|
**Preconditions:**
|
|
- User is logged in
|
|
- User has access to the Submit Search page
|
|
|
|
**Steps:**
|
|
1. Navigate to Submit Search page
|
|
2. Enter search name: "Test 120-P07 WC Variants PartOps"
|
|
3. Select "Time Span + Work Center + Item/Operation/MIS" search type (Type 120)
|
|
4. Set minimum date to `2018-01-01`
|
|
5. Set maximum date to `2020-09-01`
|
|
6. Add work center `0424AS` (AS suffix)
|
|
7. Add work center `14305CA` (CA suffix)
|
|
8. Add work center `1700CB` (CB suffix)
|
|
9. Add part operation:
|
|
- Item Number: `00-5952-012-01`
|
|
- Operation Number: `505`
|
|
- MIS Number: `26-1002-003-00`
|
|
- MIS Revision: `00`
|
|
10. Click Submit button
|
|
|
|
**Expected Results:**
|
|
- Search is created with status "Queued"
|
|
- All work center code formats are accepted
|
|
|
|
---
|
|
|
|
## Negative Test Cases
|
|
|
|
### TC-120-N01: Missing Required Date Range
|
|
|
|
**Preconditions:**
|
|
- User is logged in
|
|
- User has access to the Submit Search page
|
|
|
|
**Steps:**
|
|
1. Navigate to Submit Search page
|
|
2. Enter search name: "Test 120-N01 Missing Dates"
|
|
3. Select "Time Span + Work Center + Item/Operation/MIS" search type (Type 120)
|
|
4. Leave minimum date empty
|
|
5. Leave maximum date empty
|
|
6. Add work center `0083AS`
|
|
7. Add part operation:
|
|
- Item Number: `00-5952-013-01`
|
|
- Operation Number: `505`
|
|
- MIS Number: `26-1002-003-00`
|
|
- MIS Revision: `00`
|
|
8. 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-120-N02: Missing Work Center
|
|
|
|
**Preconditions:**
|
|
- User is logged in
|
|
- User has access to the Submit Search page
|
|
|
|
**Steps:**
|
|
1. Navigate to Submit Search page
|
|
2. Enter search name: "Test 120-N02 Missing Work Center"
|
|
3. Select "Time Span + Work Center + Item/Operation/MIS" search type (Type 120)
|
|
4. Set minimum date to `2018-01-01`
|
|
5. Set maximum date to `2020-09-01`
|
|
6. Do NOT add any work center (leave empty)
|
|
7. Add part operation:
|
|
- Item Number: `00-5952-013-01`
|
|
- Operation Number: `505`
|
|
- MIS Number: `26-1002-003-00`
|
|
- MIS Revision: `00`
|
|
8. 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-120-N03: Missing Part Operation
|
|
|
|
**Preconditions:**
|
|
- User is logged in
|
|
- User has access to the Submit Search page
|
|
|
|
**Steps:**
|
|
1. Navigate to Submit Search page
|
|
2. Enter search name: "Test 120-N03 Missing Part Operation"
|
|
3. Select "Time Span + Work Center + Item/Operation/MIS" search type (Type 120)
|
|
4. Set minimum date to `2018-01-01`
|
|
5. Set maximum date to `2020-09-01`
|
|
6. Add work center `0083AS`
|
|
7. Do NOT add any part operation (leave empty)
|
|
8. Attempt to click Submit button
|
|
|
|
**Expected Results:**
|
|
- Submit button is disabled OR validation error is displayed
|
|
- Error message indicates at least one part operation is required
|
|
- Search is NOT created
|
|
|
|
---
|
|
|
|
### TC-120-N04: Invalid Date Range (End Before Start)
|
|
|
|
**Preconditions:**
|
|
- User is logged in
|
|
- User has access to the Submit Search page
|
|
|
|
**Steps:**
|
|
1. Navigate to Submit Search page
|
|
2. Enter search name: "Test 120-N04 Invalid Date Range"
|
|
3. Select "Time Span + Work Center + Item/Operation/MIS" search type (Type 120)
|
|
4. Set minimum date to `2020-09-01`
|
|
5. Set maximum date to `2018-01-01` (before minimum date)
|
|
6. Add work center `0083AS`
|
|
7. Add part operation:
|
|
- Item Number: `00-5952-013-01`
|
|
- Operation Number: `505`
|
|
- MIS Number: `26-1002-003-00`
|
|
- MIS Revision: `00`
|
|
8. 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-120-N05: Missing Minimum Date Only
|
|
|
|
**Preconditions:**
|
|
- User is logged in
|
|
- User has access to the Submit Search page
|
|
|
|
**Steps:**
|
|
1. Navigate to Submit Search page
|
|
2. Enter search name: "Test 120-N05 Missing Min Date"
|
|
3. Select "Time Span + Work Center + Item/Operation/MIS" search type (Type 120)
|
|
4. Leave minimum date empty
|
|
5. Set maximum date to `2020-09-01`
|
|
6. Add work center `10595CA`
|
|
7. Add part operation:
|
|
- Item Number: `00-5952-012-01`
|
|
- Operation Number: `505`
|
|
- MIS Number: `26-1002-003-00`
|
|
- MIS Revision: `00`
|
|
8. Attempt to click Submit button
|
|
|
|
**Expected Results:**
|
|
- Validation error is displayed
|
|
- Error message indicates minimum date is required
|
|
- Search is NOT created
|
|
|
|
---
|
|
|
|
### TC-120-N06: Missing Maximum Date Only
|
|
|
|
**Preconditions:**
|
|
- User is logged in
|
|
- User has access to the Submit Search page
|
|
|
|
**Steps:**
|
|
1. Navigate to Submit Search page
|
|
2. Enter search name: "Test 120-N06 Missing Max Date"
|
|
3. Select "Time Span + Work Center + Item/Operation/MIS" search type (Type 120)
|
|
4. Set minimum date to `2018-01-01`
|
|
5. Leave maximum date empty
|
|
6. Add work center `11275CA`
|
|
7. Add part operation:
|
|
- Item Number: `00-5952-014-01`
|
|
- Operation Number: `505`
|
|
- MIS Number: `26-1002-003-00`
|
|
- MIS Revision: `00`
|
|
8. Attempt to click Submit button
|
|
|
|
**Expected Results:**
|
|
- Validation error is displayed
|
|
- Error message indicates maximum date is required
|
|
- Search is NOT created
|
|
|
|
---
|
|
|
|
### TC-120-N07: Missing Search Name
|
|
|
|
**Preconditions:**
|
|
- User is logged in
|
|
- User has access to the Submit Search page
|
|
|
|
**Steps:**
|
|
1. Navigate to Submit Search page
|
|
2. Leave search name empty
|
|
3. Select "Time Span + Work Center + Item/Operation/MIS" search type (Type 120)
|
|
4. Set minimum date to `2018-01-01`
|
|
5. Set maximum date to `2020-09-01`
|
|
6. Add work center `0083AS`
|
|
7. Add part operation:
|
|
- Item Number: `00-5952-013-01`
|
|
- Operation Number: `505`
|
|
- MIS Number: `26-1002-003-00`
|
|
- MIS Revision: `00`
|
|
8. Attempt to click Submit button
|
|
|
|
**Expected Results:**
|
|
- Validation error is displayed
|
|
- Error message indicates search name is required
|
|
- Search is NOT created
|
|
|
|
---
|
|
|
|
### TC-120-N08: Incomplete Part Operation (Missing Item Number)
|
|
|
|
**Preconditions:**
|
|
- User is logged in
|
|
- User has access to the Submit Search page
|
|
|
|
**Steps:**
|
|
1. Navigate to Submit Search page
|
|
2. Enter search name: "Test 120-N08 Incomplete PartOp No Item"
|
|
3. Select "Time Span + Work Center + Item/Operation/MIS" search type (Type 120)
|
|
4. Set minimum date to `2018-01-01`
|
|
5. Set maximum date to `2020-09-01`
|
|
6. Add work center `0083AS`
|
|
7. Attempt to add part operation with:
|
|
- Item Number: (leave empty)
|
|
- Operation Number: `505`
|
|
- MIS Number: `26-1002-003-00`
|
|
- MIS Revision: `00`
|
|
8. Attempt to click Submit button
|
|
|
|
**Expected Results:**
|
|
- Validation error is displayed
|
|
- Error message indicates Item Number is required for part operation
|
|
- Search is NOT created
|
|
|
|
---
|
|
|
|
### TC-120-N09: Incomplete Part Operation (Missing Operation Number)
|
|
|
|
**Preconditions:**
|
|
- User is logged in
|
|
- User has access to the Submit Search page
|
|
|
|
**Steps:**
|
|
1. Navigate to Submit Search page
|
|
2. Enter search name: "Test 120-N09 Incomplete PartOp No Op"
|
|
3. Select "Time Span + Work Center + Item/Operation/MIS" search type (Type 120)
|
|
4. Set minimum date to `2018-01-01`
|
|
5. Set maximum date to `2020-09-01`
|
|
6. Add work center `0083AS`
|
|
7. Attempt to add part operation with:
|
|
- Item Number: `00-5952-013-01`
|
|
- Operation Number: (leave empty)
|
|
- MIS Number: `26-1002-003-00`
|
|
- MIS Revision: `00`
|
|
8. Attempt to click Submit button
|
|
|
|
**Expected Results:**
|
|
- Validation error is displayed
|
|
- Error message indicates Operation Number is required for part operation
|
|
- Search is NOT created
|
|
|
|
---
|
|
|
|
### TC-120-N10: All Required Filters Missing
|
|
|
|
**Preconditions:**
|
|
- User is logged in
|
|
- User has access to the Submit Search page
|
|
|
|
**Steps:**
|
|
1. Navigate to Submit Search page
|
|
2. Enter search name: "Test 120-N10 All Filters Missing"
|
|
3. Select "Time Span + Work Center + Item/Operation/MIS" search type (Type 120)
|
|
4. Leave minimum date empty
|
|
5. Leave maximum date empty
|
|
6. Do NOT add any work center
|
|
7. Do NOT add any part operation
|
|
8. 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_Hist` table (1,742,847 records)
|
|
- Work centers from `WorkOrderStep_Hist` table
|
|
- Part operations from `MisData_Hist` table
|
|
- Part operations require all four components: Item Number, Operation Number, MIS Number, and MIS Revision
|
|
- Work center codes have different suffixes (AS, CA, CB) indicating different work center types
|
|
- The same MIS Number can be associated with different Item Numbers
|