database/model/tables/FACT_ACCT_CFS.xml
changeset 94 4e7ba7b8a4ad
parent 0 0247c26f10c6
child 735 daced7e311c9
equal deleted inserted replaced
93:058b91261f0d 94:4e7ba7b8a4ad
     1 <?xml version="1.0"?>
     1 <?xml version="1.0"?>
     2 <database name="TABLE FACT_ACCT_CFS">
     2   <database name="TABLE FACT_ACCT_CFS">
     3     <table name="FACT_ACCT_CFS" primaryKey="FACT_ACCT_CFS_KEY">
     3     <table name="FACT_ACCT_CFS" primaryKey="FACT_ACCT_CFS_KEY">
     4       <column name="FACT_ACCT_CFS_ID" primaryKey="true" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
     4       <column name="FACT_ACCT_CFS_ID" primaryKey="true" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
     5       <column name="FACT_ACCT_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
     5       <column name="FACT_ACCT_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
     6       <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
     6       <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
     7       <column name="AD_ORG_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
     7       <column name="AD_ORG_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
    17         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    17         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    18       </foreign-key>
    18       </foreign-key>
    19       <foreign-key foreignTable="AD_ORG" name="ADORG_FACTACCTCFS">
    19       <foreign-key foreignTable="AD_ORG" name="ADORG_FACTACCTCFS">
    20         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    20         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    21       </foreign-key>
    21       </foreign-key>
    22       <foreign-key foreignTable="FACT_ACCT" name="FACTACCT_FACTACCTCFS"   onDelete="cascade">
    22       <foreign-key foreignTable="FACT_ACCT" name="FACTACCT_FACTACCTCFS" onDelete="cascade">
    23         <reference local="FACT_ACCT_ID" foreign="FACT_ACCT_ID"/>
    23         <reference local="FACT_ACCT_ID" foreign="FACT_ACCT_ID"/>
    24       </foreign-key>
    24       </foreign-key>
    25     </table>
    25     </table>
    26 </database>
    26   </database>