src-db/database/model/tables/C_BANKSTATEMENTLINE.xml
changeset 7380 39e45260e7ce
parent 7311 fb8f96dce3e8
child 8504 802eae4a434d
--- a/src-db/database/model/tables/C_BANKSTATEMENTLINE.xml	Sun May 16 21:53:44 2010 +0200
+++ b/src-db/database/model/tables/C_BANKSTATEMENTLINE.xml	Mon May 17 11:36:39 2010 +0530
@@ -129,5 +129,6 @@
         <index-column name="C_BANKSTATEMENT_ID"/>
       </index>
       <check name="C_BANKSTATLN_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="C_BANKSTATLN_PA_GLITEM_ID_CHK"><![CDATA[((C_DEBT_PAYMENT_ID IS NOT NULL) AND (C_GLITEM_ID IS NULL)) OR (C_DEBT_PAYMENT_ID IS NULL)]]></check>
     </table>
   </database>