lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [6355] Restrict group quotes to new business


From: Greg Chicares
Subject: [lmi-commits] [6355] Restrict group quotes to new business
Date: Thu, 15 Oct 2015 14:57:46 +0000

Revision: 6355
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6355
Author:   chicares
Date:     2015-10-15 14:57:46 +0000 (Thu, 15 Oct 2015)
Log Message:
-----------
Restrict group quotes to new business

Modified Paths:
--------------
    lmi/trunk/ChangeLog
    lmi/trunk/illustrator.cpp

Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2015-10-15 14:03:32 UTC (rev 6354)
+++ lmi/trunk/ChangeLog 2015-10-15 14:57:46 UTC (rev 6355)
@@ -37219,3 +37219,8 @@
 Fix defect introduced 20130510T2251Z: assertion failure when changing
 definition of life insurance with a password never given to end users.
 
+20151015T1457Z <address@hidden> [472]
+
+  illustrator.cpp
+Restrict group quotes to new business.
+

Modified: lmi/trunk/illustrator.cpp
===================================================================
--- lmi/trunk/illustrator.cpp   2015-10-15 14:03:32 UTC (rev 6354)
+++ lmi/trunk/illustrator.cpp   2015-10-15 14:57:46 UTC (rev 6355)
@@ -287,10 +287,16 @@
         ,"CorporationPaymentMode"
         ,"StateOfJurisdiction"
         ,"EffectiveDate"
+        ,"InforceAsOfDate"
         ,"Comments"
         };
     static std::size_t const n = lmi_array_size(fields);
 
+    if(case_default["InforceAsOfDate"] != case_default["EffectiveDate"])
+        {
+        fatal_error() << "Group quotes allowed for new business only." << 
LMI_FLUSH;
+        }
+
     typedef std::vector<Input>::size_type svst;
     for(svst i = 0; i != cells.size(); ++i)
         {




reply via email to

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