database/model/tables/FACT_ACCT.xml
changeset 170 4b5493776a7f
parent 94 4e7ba7b8a4ad
child 238 006d2d0fdea6
equal deleted inserted replaced
169:b951c5a838d3 170:4b5493776a7f
    71         <reference local="C_ACTIVITY_ID" foreign="C_ACTIVITY_ID"/>
    71         <reference local="C_ACTIVITY_ID" foreign="C_ACTIVITY_ID"/>
    72       </foreign-key>
    72       </foreign-key>
    73       <foreign-key foreignTable="C_BPARTNER" name="C_BUSPARTNER_FACT_ACCT">
    73       <foreign-key foreignTable="C_BPARTNER" name="C_BUSPARTNER_FACT_ACCT">
    74         <reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
    74         <reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
    75       </foreign-key>
    75       </foreign-key>
    76       <foreign-key foreignTable="C_CAMPAIGN" name="SO_CAMPAIGN_FACT_ACCT">
       
    77         <reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
       
    78       </foreign-key>
       
    79       <foreign-key foreignTable="C_CURRENCY" name="C_CURRENCY_FACT_ACCT">
    76       <foreign-key foreignTable="C_CURRENCY" name="C_CURRENCY_FACT_ACCT">
    80         <reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
    77         <reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
    81       </foreign-key>
    78       </foreign-key>
    82       <foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUE_FACTACCT">
    79       <foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUE_FACTACCT">
    83         <reference local="ACCOUNT_ID" foreign="C_ELEMENTVALUE_ID"/>
    80         <reference local="ACCOUNT_ID" foreign="C_ELEMENTVALUE_ID"/>
    84       </foreign-key>
    81       </foreign-key>
       
    82       <foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUEUSER1_FACTACCT">
       
    83         <reference local="USER1_ID" foreign="C_ELEMENTVALUE_ID"/>
       
    84       </foreign-key>
    85       <foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUEUSER2_FACTACCT">
    85       <foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUEUSER2_FACTACCT">
    86         <reference local="USER2_ID" foreign="C_ELEMENTVALUE_ID"/>
    86         <reference local="USER2_ID" foreign="C_ELEMENTVALUE_ID"/>
    87       </foreign-key>
    87       </foreign-key>
    88       <foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUEUSER1_FACTACCT">
    88       <foreign-key foreignTable="C_LOCATION" name="C_LOCATIONFROM_FACT_ACCT">
    89         <reference local="USER1_ID" foreign="C_ELEMENTVALUE_ID"/>
    89         <reference local="C_LOCFROM_ID" foreign="C_LOCATION_ID"/>
    90       </foreign-key>
    90       </foreign-key>
    91       <foreign-key foreignTable="C_LOCATION" name="C_LOCATIONTO_FACT_ACCT">
    91       <foreign-key foreignTable="C_LOCATION" name="C_LOCATIONTO_FACT_ACCT">
    92         <reference local="C_LOCTO_ID" foreign="C_LOCATION_ID"/>
    92         <reference local="C_LOCTO_ID" foreign="C_LOCATION_ID"/>
    93       </foreign-key>
       
    94       <foreign-key foreignTable="C_LOCATION" name="C_LOCATIONFROM_FACT_ACCT">
       
    95         <reference local="C_LOCFROM_ID" foreign="C_LOCATION_ID"/>
       
    96       </foreign-key>
    93       </foreign-key>
    97       <foreign-key foreignTable="C_PERIOD" name="CPERIOD_FACTACCT">
    94       <foreign-key foreignTable="C_PERIOD" name="CPERIOD_FACTACCT">
    98         <reference local="C_PERIOD_ID" foreign="C_PERIOD_ID"/>
    95         <reference local="C_PERIOD_ID" foreign="C_PERIOD_ID"/>
    99       </foreign-key>
    96       </foreign-key>
   100       <foreign-key foreignTable="C_PROJECT" name="C_PROJECT_FACT_ACCT">
    97       <foreign-key foreignTable="C_PROJECT" name="C_PROJECT_FACT_ACCT">
   119         <reference local="M_LOCATOR_ID" foreign="M_LOCATOR_ID"/>
   116         <reference local="M_LOCATOR_ID" foreign="M_LOCATOR_ID"/>
   120       </foreign-key>
   117       </foreign-key>
   121       <foreign-key foreignTable="M_PRODUCT" name="M_PRODUCT_FACT_ACCT">
   118       <foreign-key foreignTable="M_PRODUCT" name="M_PRODUCT_FACT_ACCT">
   122         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
   119         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
   123       </foreign-key>
   120       </foreign-key>
       
   121       <foreign-key foreignTable="C_CAMPAIGN" name="SO_CAMPAIGN_FACT_ACCT">
       
   122         <reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
       
   123       </foreign-key>
   124       <index name="FACT_ACCT_ACCOUNT" unique="false">
   124       <index name="FACT_ACCT_ACCOUNT" unique="false">
   125         <index-column name="AD_CLIENT_ID"/>
   125         <index-column name="AD_CLIENT_ID"/>
   126         <index-column name="AD_ORG_ID"/>
   126         <index-column name="AD_ORG_ID"/>
   127         <index-column name="C_ACCTSCHEMA_ID"/>
   127         <index-column name="C_ACCTSCHEMA_ID"/>
   128         <index-column name="ACCOUNT_ID"/>
   128         <index-column name="ACCOUNT_ID"/>