Technical Schematic - Step #1
Setting Up
- Send an email to the offenders primary driver that they have a new violation. Generally you would issue the ticket on the same day as the violation.
- Set a flag in preparation for collections. (If the violation is older than AutoNoticeDays)
- If the violations connected user is primary driver and has an email address
- send an email and flag appropriately (AutoNotice = 1)
- set Violation.AutoNotice to 1
- If the violations attached to the user are for the primary driver and they have no email
- set flag to be added to the Letter Report (2)
- set Violation.AutoNotice to 2
- If the violations connected user is primary driver and has an email address
- 30 days after items are tagged with either 1 or 2 Violation.AutoNotice and that have an associated Violation Notice will appear on the "send to collections" report
- that report allows the administrator to select who/which items will be sent to collections
Technical Note
In the past, violations were marked as 1=email, 2=letter; however in the script, the 2=letter was converted to 1=email so that they would not come up again as needing a letter.
changed it to a 99 when letter is sent; so 99=final stage (or letter printed/sent)