database/model/tables/M_RAPPEL_INVOICE.xml
changeset 0 0247c26f10c6
child 94 4e7ba7b8a4ad
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/database/model/tables/M_RAPPEL_INVOICE.xml	Tue Nov 06 08:33:31 2007 +0000
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<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"/>
+      <column name="AD_ORG_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
+      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
+      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="SYSDATE" autoIncrement="false"/>
+      <column name="CREATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
+      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="SYSDATE" autoIncrement="false"/>
+      <column name="UPDATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
+      <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>
+      <foreign-key foreignTable="AD_ORG" name="ADORG_MRAPPELINVOICE">
+        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="C_INVOICE" name="CINVOICEID_M_RAPPEL_BPARTNER">
+        <reference local="C_INVOICE_ID" foreign="C_INVOICE_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="M_RAPPEL_BPARTNER" name="MRAPPELBPARTNER_M_RAPPEL_INV">
+        <reference local="M_RAPPEL_BPARTNER_ID" foreign="M_RAPPEL_BPARTNER_ID"/>
+      </foreign-key>
+    </table>
+</database>
\ No newline at end of file