src-db/database/model/tables/C_COMMISSION.xml
changeset 5551 7a30caea85b5
parent 2586 683779f1e610
child 8504 802eae4a434d
--- a/src-db/database/model/tables/C_COMMISSION.xml	Thu Nov 26 16:35:30 2009 +0100
+++ b/src-db/database/model/tables/C_COMMISSION.xml	Thu Nov 26 17:36:43 2009 +0100
@@ -77,23 +77,23 @@
         <default/>
         <onCreateDefault/>
       </column>
-      <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_CCOMMISSION">
+      <foreign-key foreignTable="AD_CLIENT" name="C_COMMISSION_AD_CLIENT">
         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="AD_ORG" name="ADORG_CCOMMISSION">
+      <foreign-key foreignTable="AD_ORG" name="C_COMMISSION_AD_ORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CCOMMISSION">
+      <foreign-key foreignTable="C_BPARTNER" name="C_COMMISSION_C_BPARTNER">
         <reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CCOMMISSION">
+      <foreign-key foreignTable="C_CURRENCY" name="C_COMMISSION_C_CURRENCY">
         <reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
       </foreign-key>
       <foreign-key foreignTable="M_PRODUCT" name="M_PRODUCT_CCOMMISSION">
         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       </foreign-key>
+      <check name="C_COMMISSION_CREATEFROM_CHK"><![CDATA[CREATEFROM IN ('Y', 'N')]]></check>
       <check name="C_COMMISSION_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
-      <check name="CCOMMISSION_CREATEFROM_CHECK"><![CDATA[CREATEFROM IN ('Y', 'N')]]></check>
-      <check name="CCOMMISSION_LISTDETAILS_CHECK"><![CDATA[LISTDETAILS IN ('Y', 'N')]]></check>
+      <check name="C_COMMISSION_LISTDETAILS_CHK"><![CDATA[LISTDETAILS IN ('Y', 'N')]]></check>
     </table>
   </database>