generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Adds option for 'Duplicate' to 'Justification' dropdown (#70)
- Loading branch information
1 parent
987dfb8
commit d53f37d
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
insert into | ||
case_management.inaction_reason_code ( | ||
inaction_reason_code, | ||
agency_code, | ||
short_description, | ||
long_description, | ||
display_order, | ||
active_ind, | ||
create_user_id, | ||
create_utc_timestamp | ||
) | ||
values | ||
( | ||
'DUPLICATE', | ||
'COS', | ||
'Duplicate', | ||
'Duplicate', | ||
3, | ||
'Y', | ||
CURRENT_USER, | ||
CURRENT_TIMESTAMP | ||
) on conflict do nothing; | ||
|
||
update case_management.inaction_reason_code | ||
set | ||
display_order = 1 | ||
where | ||
inaction_reason_code = 'DUPLICATE'; | ||
|
||
update case_management.inaction_reason_code | ||
set | ||
display_order = 2 | ||
where | ||
inaction_reason_code = 'NOPUBSFTYC'; | ||
|
||
update case_management.inaction_reason_code | ||
set | ||
display_order = 3 | ||
where | ||
inaction_reason_code = 'OTHOPRPRTY'; | ||
|
||
UPDATE case_management.configuration | ||
SET | ||
configuration_value = cast(configuration_value as INTEGER) + 1 | ||
WHERE | ||
configuration_code = 'CDTABLEVER'; |