We want to standardize the rules and naming for the worksheet rules so it is easy to manage
Common Rules:
Rule Name & Description | Worksheet Rule | Error or Warning |
"Worksheet term, including term stretch, exceeds program maximum: " | (${program.maxTerm} ?? 0) + (${decision.termStretch} ?? 0) | " months." | ${worksheet.vehicle.vin} != "" && (${worksheet.term} ?? 0) > (${program.maxTerm} ?? 0) + (${decision.termStretch} ?? 0) | Error |
Invalid term, must be multiple of 6 | ${worksheet.term} notin [84, 78, 72, 66, 60, 54, 48, 42, 36, 30, 24, 18, 12] && (${worksheet.term} ?? "###") != "###" | Error |
"Worksheet payment of $" | ${worksheet.worksheetPayment.amount} round_to 2 | " is more than max payment of $" | ${decision.approvedPayment.amount} round_to 2 | ${worksheet.worksheetPayment.amount} > ${decision.approvedPayment.amount} | Warning |
PPSA fees must be {custom variable} | {custom variable} | |
Creditor fees must be {custom variable} | {custom variable} |