database/model/tables/M_RAPPEL_INVOICE.xml
changeset 94 4e7ba7b8a4ad
parent 0 0247c26f10c6
child 238 006d2d0fdea6
--- a/database/model/tables/M_RAPPEL_INVOICE.xml	Tue Nov 20 13:31:01 2007 +0000
+++ b/database/model/tables/M_RAPPEL_INVOICE.xml	Tue Nov 20 16:27:14 2007 +0000
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<database name="TABLE M_RAPPEL_INVOICE">
+  <database name="TABLE M_RAPPEL_INVOICE">
     <table name="M_RAPPEL_INVOICE" primaryKey="M_RAPPEL_INVOICE_KEY">
       <column name="M_RAPPEL_INVOICE_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"/>
@@ -12,7 +12,6 @@
       <column name="M_RAPPEL_BPARTNER_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false"/>
       <column name="C_INVOICE_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false"/>
       <column name="SEQNO" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false"/>
-      <check name="M_RAPPEL_INVOICE_ISACTIVE_CHECK" condition="IsActive in ('Y','N')"/> 
       <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_MRAPPELINVOICE">
         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
       </foreign-key>
@@ -25,5 +24,6 @@
       <foreign-key foreignTable="M_RAPPEL_BPARTNER" name="MRAPPELBPARTNER_M_RAPPEL_INV">
         <reference local="M_RAPPEL_BPARTNER_ID" foreign="M_RAPPEL_BPARTNER_ID"/>
       </foreign-key>
+      <check name="M_RAPPEL_INVOIC_ISACTIVE_CHECK" condition="IsActive in (&apos;Y&apos;,&apos;N&apos;)"/>
     </table>
-</database>
\ No newline at end of file
+  </database>