src-db/database/model/tables/C_SALESREGION.xml
changeset 2771 3c2361b78745
parent 1605 8a0fe0193bef
child 5551 7a30caea85b5
equal deleted inserted replaced
2770:92dddb0a66ef 2771:3c2361b78745
    61         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    61         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    62       </foreign-key>
    62       </foreign-key>
    63       <foreign-key foreignTable="AD_ORG" name="ADORG_CSALESREGION">
    63       <foreign-key foreignTable="AD_ORG" name="ADORG_CSALESREGION">
    64         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    64         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    65       </foreign-key>
    65       </foreign-key>
       
    66       <foreign-key foreignTable="AD_USER" name="C_SALESREGION_AD_USER">
       
    67         <reference local="SALESREP_ID" foreign="AD_USER_ID"/>
       
    68       </foreign-key>
    66       <unique name="C_SALESREGION_VALUE">
    69       <unique name="C_SALESREGION_VALUE">
    67         <unique-column name="AD_CLIENT_ID"/>
    70         <unique-column name="AD_CLIENT_ID"/>
    68         <unique-column name="VALUE"/>
    71         <unique-column name="VALUE"/>
    69       </unique>
    72       </unique>
    70       <check name="C_SALESREGION_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
    73       <check name="C_SALESREGION_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>