Open esaber76 opened 1 month ago
@lgiannini1 please add acceptance tests.
Developers- please work on in association with #6233.
@djw4erg, I have the following questions on the above:
@yonatan-dp, I have updated the description. Originally we were planning to move the NON_LOAD_BASE_IND to the MONITOR_LOCATION table, but decided that creating a modified version of the UNIT table in CAMDECMPSWKS was a better solution.
In the change list above
Verified the following on dev:
Issues:
{"response":{"message":"relation \"camdecmps.unit\" does not exist","statusCode":500},"status":500,"message":"relation \"camdecmps.unit\" does not exist","name":"EaseyException","metadata":{}}
Overview
For ECMPS 1.0, the Non-Load-Based Indicator (NON_LOAD_BASED_IND) is stored in the CAMD.UNIT table on the host and the ECMPS.UNIT table on the client. Non-Load-Based Indicator is editable in ECMPS 1.0 and should be editable in ECMPS 2.0.
Currently ECMPS 2.0 stores the Non-Load-Based Indicator in the CAMD.UNIT table. However, editable (submittable) data must exist in the CAMDECMPSWKS schema when it is edited and before it is submitted. To enable the editing and submitting of the Non-Load-Based Indicator, a new UNIT table will be created in the CAMDECMPSWKS schema that will contain the columns listed below. The Non-Load-Based Indicator in that table will be submitted to the CAMD.UNIT table when an MP is submitted, and will be updated from the CAMD.UNIT table when an MP is reverted (or otherwise copied) from official.
Acceptance Tests
Change List
Additional Considerations
6233 was created to display Unit Attributes including Non Load Based Indicator, CO, CCO, etc, as well as Unit Program and Reporting Frequency data. This matches the ECMPS 1.0 Unit Characteristics Tab's sub tabs:
Based on this ticket, #6233 should include the items under bullet Unit Attributes above in the grid and pop-up for this ticket as read-only items. Pull the additional (non-editable) values from the CAMD.UNIT table. Do not add them to the CAMDECMPSAUX table.
CAMDECMPSWKS.UNIT Table
Original Description
See also #6233
This is a placeholder for the needed changes to add the ability for users to update the Non Load Based Indicator. This field does not currently exist and can only be seen in a MP Printout Report.
The database column (NON_LOAD_BASED_IND) is currently in CAMD.UNIT and needs to be moved to CAMDECMPS... (separate ticket(s) for db changes?).
Field in ECMPS 1.0: