Fixes Issue 22804: Remove Business Partner from the Open Items Restriction
authorPandeeswari Ramakrishnan <pandeeswari.ramakrishnan@openbravo.com>
Thu, 17 Jan 2013 14:15:41 +0530
changeset 19402 a71939e3dcc8
parent 19401 d30eff56b0f3
child 19403 36dbe385905f
Fixes Issue 22804: Remove Business Partner from the Open Items Restriction
src-db/database/model/tables/GL_JOURNALLINE.xml
--- a/src-db/database/model/tables/GL_JOURNALLINE.xml	Tue Jan 22 18:25:28 2013 +0100
+++ b/src-db/database/model/tables/GL_JOURNALLINE.xml	Thu Jan 17 14:15:41 2013 +0530
@@ -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 (C_BPARTNER_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>