Inactivate Affiliations for Deceased Constituents

Category: Affiliation

Frequency: Monthly

Platform: SQL Server

Owner: IDS

 

What Does It Do?

The OUD-DS3 best practice is for affiliations to have an end date (be inactive) for deceased constituents.

This integrity check identifies active affiliations on deceased constituent records so that they can be given an end date and inactivated. 

How Is This Done?

This integrity check is run using a SQL Server view called [INTEGRITY_CHECKS].[dbo].[IDS.V-INTEGRITY CHECK-AFFILIATION-Deceased Constituent with Active Affiliations-End Date(DW)], which is located in DB-OUD > Databases > INTEGRITY_CHECKS > Views.

That view queries affiliations that do not have a start date (i.e., are active) on constituents who are deceased. It will fill in the affiliation end date with the run date of the integrity check to inactivate the affiliation record.

Resources and References

S:\IDS\MES\SQL Scripts\DATA QUALITY\AFFILIATION