src-db/database/model/tables/GL_JOURNALLINE.xml
changeset 19404 cf2de0fafe31
parent 19402 a71939e3dcc8
child 20967 3993ddeadfe3
equal deleted inserted replaced
19403:36dbe385905f 19404:cf2de0fafe31
   239         <reference local="USER2_ID" foreign="USER2_ID"/>
   239         <reference local="USER2_ID" foreign="USER2_ID"/>
   240       </foreign-key>
   240       </foreign-key>
   241       <check name="GL_JOURNALLINE_C_TAX_ID_CHK"><![CDATA[(C_TAX_ID IS NULL) OR (C_WITHHOLDING_ID IS NULL)]]></check>
   241       <check name="GL_JOURNALLINE_C_TAX_ID_CHK"><![CDATA[(C_TAX_ID IS NULL) OR (C_WITHHOLDING_ID IS NULL)]]></check>
   242       <check name="GL_JOURNALLINE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
   242       <check name="GL_JOURNALLINE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
   243       <check name="GL_JOURNALLINE_ISGENERATED_CHK"><![CDATA[ISGENERATED IN ('Y', 'N')]]></check>
   243       <check name="GL_JOURNALLINE_ISGENERATED_CHK"><![CDATA[ISGENERATED IN ('Y', 'N')]]></check>
   244       <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>
   244       <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>
   245     </table>
   245     </table>
   246   </database>
   246   </database>