Setting Up Time Rules
Time rules are a set of policies that uses the input code enforcement inspection parameters – due date type, trigger date, priority, and occurrence to calculate due dates.
The following logic is used to calculate due date:
Due Date = Trigger date + Dates based on the time rule
If the number of transactions created exceed the policy count, then the time rule that is defined for the highest policy occurrence will be triggered.
Time rules are assigned to the issue subtype of the incident, the values of which are sourced from the Code Enforcement Options page. See Setting Up Agency-Level Options for Code Enforcement.
Due Date Type |
Description |
Events that calculate the due date |
Trigger Date |
Usage |
Policy Occurrence Count value |
---|---|---|---|---|---|
ORA_INC_REV_DUEDT |
Incident review date |
Incident creation |
Incident report date |
The incident in the worklist is marked with a status of Overdue when the calculated review due date is less than the current date. |
1 |
ORA_INIT_INS_DUEDT |
Initial inspection date |
Initial inspection creation |
Inspection schedule date |
The Inspection due date is updated with this date when the initial inspection is scheduled. |
1 |
ORA_RE_INS_DUEDT |
Re-inspection date |
Re-inspection creation |
Inspection schedule date |
The Inspection due date is updated with this date when the re-inspection is scheduled. |
2 or more |
ORA_VIOL_CMPL_PRD_DUEDT |
Due date for compliance |
Case creation |
Case creation date |
The date is displayed as the compliance date on the Case page. The value for the policy occurrence count is one (1) at the time of case creation. |
1 or more |
ORA_VIOL_APPL_PRD_DUEDT |
Violation appeal period |
Case status change to violation. |
Case creation date |
Ensures that the Request Appeal option is available only during the calculated appeal period. |
1 or more |
ORA_CITATN_CMPL_PRD_DUEDT |
Due date for citation compliance |
Citation issuance |
Citation issue date |
Updates the compliance date displayed on the Case detail page. |
1 or more |
ORA_CITATN_DUEDT |
Due date for citation payment |
Payment initiation |
Citation issue date |
Late fee is added after the citation payment due date. |
1 or more |
ORA_CITATN_APPL_PRD_DUEDT |
Citation appeal period |
Case status change to Citation. |
Citation Issue Date |
Ensures that the Request Appeal option is available only during the calculated appeal period. |
1 or more |
ORA_ABTMT_DUEDT |
Abatement of violation due date |
|
|
At present this due date type is not active. |
|
Adding Time Rules
You configure the time rules and policies using the Time Rule page.
Select
. The Time Rule page lists all the time rules that are configured by the agency.Click Add on the Time Rule page to add a new time rule.
On the Time Rule Detail page, add values to the following fields:
Page Element
Description
Time Rule
Enter a name for the time rule.
Description
Enter a description about the time rule.
Due Date Type
Select the type of due date, which determines the time period or due date for a transaction.
Verify that the Enabled switch is turned on. The option is active by default for a new time rule.
In the Time Policy section, click the Add button to define a time policy.
On the Time Policy Details page, select values for the time policy:
Page Element
Description
Priority
Select the priority for the time policy:
High
Normal
Unit of Measure
Select a unit for the measurement of time:
Hours
Days
Note: The Hours option is not supported at present.Unit of Measure Value
Select a number value for the unit of measure of time you selected above.
Policy Occurrence Count
Select an occurrence count value for the event, such as an inspection.
Modifying Time Rules
Select
.Select the time rule row you want to modify.
On the Time Rule Detail page you can change the time rule description, due date type, and the time policy.
Click the Enabled switch to enable or disable the time rule.
Click Save to save changes.
Deleting Time Rules
Select
.Select the time rule row you want to delete.
On the Time Rule Detail page, click the Delete button.
Modifying Time Policies
Select
.On the Time Rule page, select the time policy row to open the Time Policy Detail page. You can change values for priority, unit of measure, unit of measure value, and policy occurrence count.
Click Save to save any changes.
Deleting Time Policies
Select
.On the Time Rule page, select the time rule row for which you want to change the time policy.
On the Time Rule Detail page, click the time policy row to open the Time Policy Detail page.
Click the Delete button.
To delete multiple time policies from the Time Rule Detail page, click the Edit button in the Time Policy section and select the check boxes for the rows you want to delete.
Click Delete.