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
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
-- Prior data migration set case_note_guid for all actions related to a complaint, this script will set case_note_guid to NULL for all actions that are not related to a note.
UPDATEcase_management.action
SET case_note_guid =NULL
WHERE action_type_action_xref_guid != (select action_type_action_xref_guid from action_type_action_xref where action_code ='UPDATENOTE'and action_type_code='CASEACTION'and active_ind=true);