src-db/database/model/tables/M_PRODUCT_TRL.xml
changeset 5551 7a30caea85b5
parent 1605 8a0fe0193bef
child 8504 802eae4a434d
equal deleted inserted replaced
5550:055ee9baf5df 5551:7a30caea85b5
    51       </column>
    51       </column>
    52       <column name="ISTRANSLATED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
    52       <column name="ISTRANSLATED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
    53         <default><![CDATA[N]]></default>
    53         <default><![CDATA[N]]></default>
    54         <onCreateDefault/>
    54         <onCreateDefault/>
    55       </column>
    55       </column>
    56       <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_MPRODUCTTRL">
    56       <foreign-key foreignTable="AD_CLIENT" name="M_PRODUCT_TRL_AD_CLIENT">
    57         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    57         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    58       </foreign-key>
    58       </foreign-key>
    59       <foreign-key foreignTable="AD_LANGUAGE" name="ADLANGUAGE_MPRODUCTTRL">
    59       <foreign-key foreignTable="AD_LANGUAGE" name="M_PRODUCT_TRL_AD_LANGUAGE">
    60         <reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
    60         <reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
    61       </foreign-key>
    61       </foreign-key>
    62       <foreign-key foreignTable="AD_ORG" name="ADORG_MPRODUCTTRL">
    62       <foreign-key foreignTable="AD_ORG" name="M_PRODUCT_TRL_AD_ORG">
    63         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    63         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    64       </foreign-key>
    64       </foreign-key>
    65       <foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MPRODUCTTRL" onDelete="cascade">
    65       <foreign-key foreignTable="M_PRODUCT" name="M_PRODUCT_TRL_M_PRODUCT" onDelete="cascade">
    66         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
    66         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
    67       </foreign-key>
    67       </foreign-key>
    68       <unique name="MPRODUCTTRL_MPRODUCTID_ADLA_UN">
    68       <unique name="M_PRODUCT_TRL_PRODUCT_LANGU_UN">
    69         <unique-column name="M_PRODUCT_ID"/>
    69         <unique-column name="M_PRODUCT_ID"/>
    70         <unique-column name="AD_LANGUAGE"/>
    70         <unique-column name="AD_LANGUAGE"/>
    71       </unique>
    71       </unique>
    72       <check name="MPRODUCTTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
    72       <check name="M_PRODUCT_TRL_ISACTIVE_CHK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
    73       <check name="MPRODUCTTRL_ISTRANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
    73       <check name="M_PRODUCT_TRL_ISTRANSLATED_CHK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
    74     </table>
    74     </table>
    75   </database>
    75   </database>