Enable audit in a multi-Line product

About this task

In gw.policy.policyPeriodAuditEnhancement, the IsAuditable property returns false if the product of the policy is multi-line.

Procedure

To enable auditing, change IsAuditable to return true by commenting out the if statement:
  property get IsAuditable() : boolean {
    //CPP policy
  /*
      if (this.MultiLine) {
          return false
      } 
  */
  return this.Lines.hasMatch(\ p -> p.Auditable)
}
After you make this change, the Payment screen in PolicyCenter displays the Audits section if the policy includes a line that is auditable.