src-db/database/model/tables/GL_JOURNALLINE.xml
changeset 19404 cf2de0fafe31
parent 19402 a71939e3dcc8
child 20967 3993ddeadfe3
--- a/src-db/database/model/tables/GL_JOURNALLINE.xml	Thu Jan 17 14:18:36 2013 +0530
+++ b/src-db/database/model/tables/GL_JOURNALLINE.xml	Tue Jan 22 18:51:23 2013 +0100
@@ -241,6 +241,6 @@
       <check name="GL_JOURNALLINE_C_TAX_ID_CHK"><![CDATA[(C_TAX_ID IS NULL) OR (C_WITHHOLDING_ID IS NULL)]]></check>
       <check name="GL_JOURNALLINE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
       <check name="GL_JOURNALLINE_ISGENERATED_CHK"><![CDATA[ISGENERATED IN ('Y', 'N')]]></check>
-      <check name="GL_JOURNALLINE_OPENITEM_CHECK"><![CDATA[(OPEN_ITEMS = 'N') OR ((OPEN_ITEMS = 'Y') AND (FIN_FINANCIAL_ACCOUNT_ID IS NOT NULL) AND (FIN_PAYMENTMETHOD_ID IS NOT NULL) AND (C_GLITEM_ID IS NOT NULL) AND (PAYMENTDATE IS NOT NULL))]]></check>
+      <check name="GL_JOURNALLINE_OPENITEM_CHECK"><![CDATA[(OPEN_ITEMS = 'N') OR (((((OPEN_ITEMS = 'Y') AND (FIN_FINANCIAL_ACCOUNT_ID IS NOT NULL)) AND (FIN_PAYMENTMETHOD_ID IS NOT NULL)) AND (C_GLITEM_ID IS NOT NULL)) AND (PAYMENTDATE IS NOT NULL))]]></check>
     </table>
   </database>