DevOps PBI Add missing Edit buttons/ implement ability to edit - MOTA reports for ASIS reports
Background:
NORMS reports are initiated:
...
The current production version of NORMS does not support editing the:
occurrence information including summary text
location
ground injuries
...
Technical Advisor Report (occurrence class id = 99). An example of such a report
is TSB_OCCURRENCE_ID = A22F0291Minister’s Observer Report (occurrence class id = NULL) such as TSB_OCCURRENCE_ID = A16P0161
...
.
Users can edit these details for a Manual report. The occurrence class id for manual reports is 99.
There are three related tasks that have overlapping requests with the following requirements:
Retain existing ability to correctly edit Manual reports such as TSB_OCCURRENCE_ID = A22F0330 A21F0177
Implement ability to edit occurrence, location and ground details in
ASIS Technical Advisor reports such as TSB_OCCURRENCE_ID = A22F0291
andASIS Minister Observer reports such as TSB_OCCURRENCE_ID = A16P0161
display the Time Zone, that is shown when editing the occurrence details, in Part A (Occurrence Information)
249125 All reports: display the timezone in Part A Occurrence Information tab. This is listed for the ASIS issues below. We also need to do it for the manual reports.The totals will continue to be calculated, not edited by the user.
Query to retrieve the sample manual, ASIS Technical Advisor and ASIS Minister observer reports:
Code Block |
---|
select * from AY019_TC_OCCURRENCE
where TSB_OCCURRENCE_ID in ('A21F0177', 'A22F0291', 'A16P0161') |
Task 1: 199961 Add missing Edit buttons/ implement ability to edit - MOTA reports for ASIS reports (Noreen)
...
enable the editing of the Occurrence information such as summary text, location details and ground injuries.
display the Time Zone, that is shown when editing the occurrence details, in the report page for Tab Part A.
total will continue to be a calculated value.
Remaining to be done:
I implemented the ability to edit the reports Technical Advisor reports (e.g. A22F0291): occurrence, location and ground injuries and the details are returned to the Part A. The solution may require further changes due to the issues I ran into when pressing the “View Report” button for ASIS Minister Observer report A16P0161 .
The summary text that is retrieved in the Part A is not the correct text.
DSD-CIVAV Support Team Backlog items Board - Boards (azure.com)Display of the timezone in the Part A tab.
249125 All reports: display the timezone in Part A Occurrence Information tab
Task 2. 174505 Incorrect data in a MOTA report (Siamak)
...
enable the editing of the Fatalities/Injures section.
no results foundTotal Total will continue to be a calculated value.
Task 3. 174542 Ability to manually populate all data fields in MOTA reports (Dean Wang)
manual and two types of ASIS reports
The screenshot provided in the screenshot of this task is a duplicate of work already completed in development.
Child tasks already created:
Below is a list of the child tasks that have been created for 199961 Add missing Edit buttons/ implement ability to edit - MOTA reports
Issues that I am aware of from latest work on NORMS and tasks where I made code changes are highlighted in yellow. You can access them via the actual task.
...
These were some of the issues I encountered and updated code when I was working to make the requested fields in the PART A tab of the ASIS Technical Advisor reports. Some of them may need to be revisited given the difficulties we have had with being able to get both types of ASIS reports to a point where they can be edited.
...
Visual Studio version used
VS 2022. Code changes have been committed/synced to the repos.
Developer testing:
Testing includes verifying that the correct summary texts are displayed for manual, ASIS Technical Advisor and ASIS Minister Observer reports:
Creation of a new manual report.
when the reports are first retrieved
When View Report is pressed and the Part A tab is active.
In edit mode.
Verify that the data that is saved to the report reflects the information entered when editing the reports.
UAT Testing (Acceptance):
To be completed by the requestor with guidance from development, if needed.
SM-GS
Draft SM-GS - not yet submitted, is C255048 (this was cancelled and never deployed after we collaborated to revert the changes that had been made).
Publishing / Deploying
The web config
...