Background Check Routine
This routine updates the Expired field on "All Clear" Background Checks (that is, records that have the All Clear field set to 1).
- If the Background Check Submitted field is empty, the routine sets it to the Background Check Started Date.
- If the Background Check Returned field is empty, the routine sets it to the Background Check Submitted Date.
- If the Background Check Expires field is empty, the routine updates it.
- The routine uses either the Months Till Expires value from the Background Check Type record or, if that's not available, from the COMMON, MonthsTillBackgroundCheckExpires configuration setting.
- That value is added to either the Background Check Returned Date, or, if that's not available, the Background Check Submitted Date.