2.37.00 Database Changes

Contents Show

Changes made to the SPIRIT WIC database in this release of the software are detailed below.

ENH-610

New Procedures

The following functions were converted from in-line SQL code and views to new stored procedures which were added to adjust, archive and purge participant records.

|

Adjust Process

This process adjusts Member records if the value of the EOD_PROCESSMEMBERADJUSTMENTS business rule equals "Y".

Adjust participants to Categorically Ineligible

With this stored procedure, the following changes are made to the MEMBER table for all participants identified above:

|

Adjust participants to Terminated

This stored procedure terminates participants as described in Terminate Participants.

|

Note

NOTE: This procedure selects woman and child participants who exceeded age limits and were adjusted to categorically ineligible in a previous procedure.

This stored procedure terminates participants as described in Terminate Participants.

Note

NOTE: A participant may be terminated due to categorical ineligibility prior to their 31 days post certification end date termination.

Example: A participant's Certification End Date is 7/15/2020.

  • If the End of Day process job run date is 8/15/2020, the participant is terminated due to expired certification.

  • If the participant becomes ineligible on 8/01/2020, such as a child who turns five years old, and the End of Day process job run date is 8/01/2020, the participant is terminated due to categorical ineligibility.

|

This stored procedure terminates participants as described in Terminate Participants.

|

This stored procedure terminates participants as described in Terminate Participants.

|

This stored procedure terminates participants as described in Terminate Participants.

|

This stored procedure terminates participants as described in Terminate Participants.

|

Terminate Participants

The following changes are made for each stored procedure to adjust participant status to "Terminated".

In addition, the following changes are made to the CERTCONTACT table for each participant identified above:

|

Adjust participants to Ineligible

This stored procedure adjusts participants as described in Update Ineligible Participants.

|

This stored procedure adjusts participants as described in Update Ineligible Participants.

|

This stored procedure adjusts participants as described in Update Ineligible Participants.

|

Update Ineligible Participants

The following changes are made for each stored procedure to adjust participant status to "ineligible" and to queue an "Ineligibility Notice".

In addition, the following changes are made to the CERTCONTACT table for each participant identified above:

|

Adjust Infant participants to Child participants

With this stored procedure, the WICSTATUS is changed to C (Child) in the MEMBER table to classify each infant identified above as a child.

|

The stored procedure creates a pseudo-certification record including all applicable risk factors.

In addition, the stored procedure updates the following tables for each pseudo-certification identified above:

|

Synchronize certification information

In addition, the following changes are made to the MEMBER table for each participant identified above:

|

Adjust Inactive participants

In addition, the following changes are made to the MEMBER table for each participant identified above:

|

Delete empty initial contact records

In addition, the identified records are deleted from the INITIALCONTACT table for each participant identified above.

|

Adjust on premises time

In addition, the following changes are made to the MEMBER table for each participant identified above:

|

Archive Process

This process archives inactive participants by assigning them to Agency "88" and Clinic "88" if the value of the EOD_PROCESSMEMBERARCHIVES business rule equals "Y".

Archive participants

With this stored procedure, the following changes are made to the MEMBER table for all inactive participants identified above:

|

Purge Process

This process purges records based on specific lengths of time and purges all household lock records.

Purge participant records

This step purges the following records if the value of the EOD_PROCESSMEMBERPURGES business rule equals "Y".

|

Purge household lock records

This step purges household lock records. It does not depend on a business rule.

|

Modified Procedures

The following stored procedures were updated.

|

Other Modifications

The BatchProcessor.dll was modified to use a more standard convention for obtaining the process start times from the operating system. All services in the End of Day Command Line Batch Processing were changed to log process start time in the SCHEDULEDJOBLOG table.

The following modifications were made to improve date comparisons:

|

ENH-640

The following function was converted from in-line SQL code and views to a new stored procedure which was added to update vendor probation data:

When End of Day Command Line Batch Processing is run before 6pm, sets @JobRunDate to today’s date.

When End of Day Command Line Batch Processing is run after 6pm, sets @JobRunDate to tomorrow’s date.

CPD-413

The Release 2.37 upgrade ASQL process was modified to search the COMMREQUEST table for a record where WICEOD is the value in the PROCESSNAME column and "EBT RECONCILIATION" is the value in the SYSTEMNAME column and to add a new record if it does not currently exist. The following values are added to the new record: