lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 1ad73d4: Offer spouse and child riders on 'sa


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 1ad73d4: Offer spouse and child riders on 'sample' products, for testing
Date: Wed, 29 Aug 2018 12:39:23 -0400 (EDT)

branch: master
commit 1ad73d4fabea5948de0c1fdee9015c04f273f9e0
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Offer spouse and child riders on 'sample' products, for testing
---
 dbdict.cpp | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

diff --git a/dbdict.cpp b/dbdict.cpp
index ac4b60c..29e4b9d 100644
--- a/dbdict.cpp
+++ b/dbdict.cpp
@@ -940,13 +940,22 @@ void DBDictionary::write_database_files()
     z.Add(database_entity(DB_WpIsQAB             , false));
     z.Add(database_entity(DB_ExpRatRiskCoiMult   , 0));
     z.Add(database_entity(DB_SurrChgSpecAmtMult  , 0.0));
-    z.Add(database_entity(DB_AllowSpouseRider    , false));
-    z.Add(database_entity(DB_AllowChildRider     , false));
-
-    // Spouse and child riders unavailable, so it doesn't matter
-    // what table is specified.
-    z.Add(database_entity(DB_SpouseRiderTable    , 0));
-    z.Add(database_entity(DB_ChildRiderTable     , 0));
+    z.Add(database_entity(DB_AllowSpouseRider    , true));
+    z.Add(database_entity(DB_AllowChildRider     , true));
+
+    z.Add(database_entity(DB_SpouseRiderMinAmt   , 10000));
+    z.Add(database_entity(DB_SpouseRiderMaxAmt   , 1000000));
+    z.Add(database_entity(DB_SpouseRiderMinIssAge, 20));
+    z.Add(database_entity(DB_SpouseRiderMaxIssAge, 65));
+
+    // Min and max deliberately identical for testing.
+    z.Add(database_entity(DB_ChildRiderMinAmt    , 25000));
+    z.Add(database_entity(DB_ChildRiderMaxAmt    , 25000));
+
+    // Spouse and child riders: arbitrarily use 1960 CSG.
+    z.Add(database_entity(DB_SpouseRiderGuarTable, 305));
+    z.Add(database_entity(DB_SpouseRiderTable    , 305));
+    z.Add(database_entity(DB_ChildRiderTable     , 305));
 
     z.Add(database_entity(DB_GenAcctIntBonus     , 0.0));
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]