database/model/tables/C_PROJECT_ACCT.xml
changeset 94 4e7ba7b8a4ad
parent 0 0247c26f10c6
child 170 4b5493776a7f
--- a/database/model/tables/C_PROJECT_ACCT.xml	Tue Nov 20 13:31:01 2007 +0000
+++ b/database/model/tables/C_PROJECT_ACCT.xml	Tue Nov 20 16:27:14 2007 +0000
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<database name="TABLE C_PROJECT_ACCT">
+  <database name="TABLE C_PROJECT_ACCT">
     <table name="C_PROJECT_ACCT" primaryKey="C_PROJECT_ACCT_KEY">
       <column name="C_PROJECT_ID" primaryKey="true" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
       <column name="C_ACCTSCHEMA_ID" primaryKey="true" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
@@ -12,17 +12,16 @@
       <column name="UPDATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
       <column name="PJ_ASSET_ACCT" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false"/>
       <column name="PJ_WIP_ACCT" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false"/>
-<check name="C_PROJECT_ACCT_ISACTIVE_CHECK" condition="IsActive in ('Y','N')"/> 
       <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_CPROJECTACCT">
         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
       </foreign-key>
       <foreign-key foreignTable="AD_ORG" name="ADORG_CPROJECTACCT">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_CPROJECTACCT"   onDelete="cascade">
+      <foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_CPROJECTACCT" onDelete="cascade">
         <reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="C_PROJECT" name="C_PROJECT_PROJECTACCT"   onDelete="cascade">
+      <foreign-key foreignTable="C_PROJECT" name="C_PROJECT_PROJECTACCT" onDelete="cascade">
         <reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
       </foreign-key>
       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PJWIP_CPROJECT">
@@ -31,5 +30,6 @@
       <foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PJASSET_CPROJECT">
         <reference local="PJ_ASSET_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       </foreign-key>
+      <check name="C_PROJECT_ACCT_ISACTIVE_CHECK" condition="IsActive in (&apos;Y&apos;,&apos;N&apos;)"/>
     </table>
-</database>
\ No newline at end of file
+  </database>