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.
8.7 KiB
Search Type 90: Time Span + Profit Center + Extract MIS
Overview
Search Type 90 allows users to search by a date range combined with profit 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 in the specified profit center(s) and time range.
Filters Enabled
| Filter | Description | Required |
|---|---|---|
| Timespan | Date range (Min Date to Max Date) | Yes |
| Profit Center | One or more profit 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
Profit Centers
| Code |
|---|
| 1AM |
| 1BM |
| 1CM |
| 1PM |
| 2DM |
| 2SM |
| 3TM |
| 4IM |
| 5SM |
Extract MIS Values
| Value | Description |
|---|---|
| true | Extract MIS data for matching work orders |
| false | Do not extract MIS data |
Positive Test Cases
TC-090-P01: Single Profit 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 090-P01 Single PC Extract MIS"
- Select "Time Span + Profit Center + Extract MIS" search type (Type 90)
- Set minimum date to
2020-01-01 - Set maximum date to
2020-09-01 - Add profit center
1PM - 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 2020-01-01 to 2020-09-01, Profit Center: 1PM, Extract MIS: true
TC-090-P02: Multiple Profit 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 090-P02 Multiple PC Extract MIS"
- Select "Time Span + Profit Center + Extract MIS" search type (Type 90)
- Set minimum date to
2018-01-01 - Set maximum date to
2019-12-31 - Add profit center
1AM - Add profit center
1BM - Add profit center
1CM - 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 profit centers (1AM, 1BM, 1CM) and Extract MIS: true
TC-090-P03: Single Profit 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 090-P03 Single PC No Extract MIS"
- Select "Time Span + Profit Center + Extract MIS" search type (Type 90)
- Set minimum date to
2019-01-01 - Set maximum date to
2019-12-31 - Add profit center
2DM - 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 2019-01-01 to 2019-12-31, Profit Center: 2DM, Extract MIS: false
TC-090-P04: Historical Date Range with Multiple Profit Centers
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test 090-P04 Historical Multi PC"
- Select "Time Span + Profit Center + Extract MIS" search type (Type 90)
- Set minimum date to
2016-01-01 - Set maximum date to
2017-12-31 - Add profit center
3TM - Add profit center
4IM - 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 profit centers
TC-090-P05: All Available Profit Centers
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test 090-P05 All Profit Centers"
- Select "Time Span + Profit Center + Extract MIS" search type (Type 90)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add all profit centers: 1AM, 1BM, 1CM, 1PM, 2DM, 2SM, 3TM, 4IM, 5SM
- Enable Extract MIS checkbox (set to true)
- Click Submit button
Expected Results:
- Search is created with status "Queued"
- Search criteria includes all nine profit centers
Negative Test Cases
TC-090-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 090-N01 Missing Dates"
- Select "Time Span + Profit Center + Extract MIS" search type (Type 90)
- Leave minimum date empty
- Leave maximum date empty
- Add profit center
1PM - 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-090-N02: Missing Profit Center
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test 090-N02 Missing Profit Center"
- Select "Time Span + Profit Center + Extract MIS" search type (Type 90)
- Set minimum date to
2020-01-01 - Set maximum date to
2020-09-01 - Do NOT add any profit 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 profit center is required
- Search is NOT created
TC-090-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 090-N03 Invalid Date Range"
- Select "Time Span + Profit Center + Extract MIS" search type (Type 90)
- Set minimum date to
2020-09-01 - Set maximum date to
2020-01-01(before minimum date) - Add profit center
1PM - 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-090-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 090-N04 Missing Min Date"
- Select "Time Span + Profit Center + Extract MIS" search type (Type 90)
- Leave minimum date empty
- Set maximum date to
2020-09-01 - Add profit center
1AM - 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-090-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 090-N05 Missing Max Date"
- Select "Time Span + Profit Center + Extract MIS" search type (Type 90)
- Set minimum date to
2020-01-01 - Leave maximum date empty
- Add profit center
1BM - 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-090-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 + Profit Center + Extract MIS" search type (Type 90)
- Set minimum date to
2020-01-01 - Set maximum date to
2020-09-01 - Add profit center
1PM - 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
Notes
- Data was extracted from
WorkOrder_Histtable - MIS data from
MisData_Histtable - The Extract MIS flag determines whether MIS data is included in search results
- Profit centers correspond to branch codes in the JDE system