Contingency Gosu class

The main configuration class for contingencies is ContingencyEnhancement.gsx. This file contains methods that set the action start date, define how notes and activities are added to a contingency, define how contingencies are resolved and waived.

Action Start Date

You can specify action start dates in the updateActionStartDate method. In the base configuration, the values are:

Policy transaction

Action start date

Policy change

5 day before the due date

Cancellation

30 days before the due date

Notes and Activities

Code that adds notes and activities to a contingency is in the createContingencyActivity and createContingencyNote methods. For activities, you can customize the owner, title, and description, among others. For notes, you can customize the subject and author, among others.

In the base configuration, notes and activities are related to the contingency through foreign keys. Through configuration, notes and activities can be related to other objects.