You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NRs were applied 'REAPPLY', but the expiration date update appears to have been applied only in PostgreSQL and not in Oracle. We need to ensure consistency between both databases.
The query to search NRs that had 'REAPPLY':
select DISTINCT ON (r.nr_num) r.nr_num, r.expiration_date at time zone 'America/Vancouver', r.state_cd from requests r, events e
where r.id = e.nr_id
and e.action like '%REAPPLY'
and r.expiration_date > CURRENT_timestamp
and r.state_cd in ('APPROVED', 'CONDITIONAL')
order by nr_num;
Not all NRs have the issue, the result need to compare with what in oracle:
select r.nr_num, ri.expiration_date from request r, request_instance ri
where r.request_id = ri.request_id
and r.nr_num in ('NR 0272696', -- the nr_nums are from the result set of the postgresql query above
'NR 0276718',
'NR 0292725',
'NR 0294303',
'NR 0304514',
'NR 0305665')
and ri.end_event_id is null;
NRs were applied 'REAPPLY', but the expiration date update appears to have been applied only in PostgreSQL and not in Oracle. We need to ensure consistency between both databases.
The query to search NRs that had 'REAPPLY':
Not all NRs have the issue, the result need to compare with what in oracle:
for example:
in postgresql:
while, in Oracle:
The text was updated successfully, but these errors were encountered: