Create a trigger to release the DA hold
Problem statement
Students who graduate from TU in one term and are admitted to a new program in the next term have a DA Grad App Recvd Hold preventing registration. The DA hold expires automatically, but the new-department programs prefer that students be allowed to register upon confirming/depositing in the new program.
Logic
Upon entry of an Applicant Acceptance admissions decision code (codes attached) in SAADCRV/SARAPPD.SARAPPD_APDC_CODE,
Determine if an active or future DA hold exists.
DA code field is SPRHOLD.SPRHOLD_HLDD_CODE
Active means [the From Date is before today or today] AND [the To Date is after today].
Future means the From Date is after today.
From date field is SPRHOLD.SPRHOLD_FROM_DAT
Then, take action.
No active or future hold means no action is needed.
If the hold is active, change the To Date to today’s date.
If the hold is future, change the To Date to the From date.
Practical examples
Today’s date is 6/28/24
From Date | To Date | Action |
5/1/2024 | 8/1/2024 | Change To Date to 6/28/24 |
5/1/2024 | 5/15/2024 | No action |
8/1/2024 | 12/31/2999 | Change To Date to 8/1/2024 |
Status notes