database/model/tables/C_PROJECTPROPOSALLINE.xml
changeset 94 4e7ba7b8a4ad
parent 0 0247c26f10c6
child 238 006d2d0fdea6
--- a/database/model/tables/C_PROJECTPROPOSALLINE.xml	Tue Nov 20 13:31:01 2007 +0000
+++ b/database/model/tables/C_PROJECTPROPOSALLINE.xml	Tue Nov 20 16:27:14 2007 +0000
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<database name="TABLE C_PROJECTPROPOSALLINE">
+  <database name="TABLE C_PROJECTPROPOSALLINE">
     <table name="C_PROJECTPROPOSALLINE" primaryKey="C_PROJECTPROPOSALLINE_KEY">
       <column name="C_PROJECTPROPOSALLINE_ID" primaryKey="true" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
       <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
@@ -18,7 +18,6 @@
       <column name="PRODUCT_DESCRIPTION" primaryKey="false" required="false" type="NVARCHAR" size="2000" autoIncrement="false"/>
       <column name="PRODUCT_NAME" primaryKey="false" required="false" type="NVARCHAR" size="60" autoIncrement="false"/>
       <column name="PRODUCT_VALUE" primaryKey="false" required="false" type="NVARCHAR" size="40" autoIncrement="false"/>
-      <check name="CPRPROPLN_ISACTIVE_CHECK" condition="IsActive in ('Y','N')"/> 
       <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_C_PROJECTPROPOSALLINE">
         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
       </foreign-key>
@@ -31,5 +30,6 @@
       <foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_C_PROJECTPROPOSALLINE">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
+      <check name="CPRPROPLN_ISACTIVE_CHECK" condition="IsActive in (&apos;Y&apos;,&apos;N&apos;)"/>
     </table>
-</database>
\ No newline at end of file
+  </database>