modules/org.openbravo.userinterface.selector/src-db/database/model/tables/OBUISEL_SELECTOR.xml
changeset 10029 eab8e3a0c0b6
parent 10000 ace3d9ec29a7
child 10773 802557f42def
equal deleted inserted replaced
10028:96d3e090f851 10029:eab8e3a0c0b6
    99       </column>
    99       </column>
   100       <column name="ENTITY_ALIAS" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
   100       <column name="ENTITY_ALIAS" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
   101         <default/>
   101         <default/>
   102         <onCreateDefault/>
   102         <onCreateDefault/>
   103       </column>
   103       </column>
       
   104       <column name="CUSTOM_QUERY" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
       
   105         <default><![CDATA[N]]></default>
       
   106         <onCreateDefault><![CDATA['N']]></onCreateDefault>
       
   107       </column>
   104       <foreign-key foreignTable="AD_CLIENT" name="OBUISEL_S_AD_CLIENT">
   108       <foreign-key foreignTable="AD_CLIENT" name="OBUISEL_S_AD_CLIENT">
   105         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
   109         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
   106       </foreign-key>
   110       </foreign-key>
   107       <foreign-key foreignTable="AD_COLUMN" name="OBUISEL_S_AD_COLUMN">
   111       <foreign-key foreignTable="AD_COLUMN" name="OBUISEL_S_AD_COLUMN">
   108         <reference local="AD_COLUMN_ID" foreign="AD_COLUMN_ID"/>
   112         <reference local="AD_COLUMN_ID" foreign="AD_COLUMN_ID"/>
   133       </foreign-key>
   137       </foreign-key>
   134       <unique name="OBUISEL_S_NAME">
   138       <unique name="OBUISEL_S_NAME">
   135         <unique-column name="NAME"/>
   139         <unique-column name="NAME"/>
   136         <unique-column name="AD_REFERENCE_ID"/>
   140         <unique-column name="AD_REFERENCE_ID"/>
   137       </unique>
   141       </unique>
       
   142       <check name="OBUISEL_CUSTOM_QUERY_CHK"><![CDATA[CUSTOM_QUERY IN ('Y', 'N')]]></check>
   138       <check name="OBUISEL_SEL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
   143       <check name="OBUISEL_SEL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
   139     </table>
   144     </table>
   140   </database>
   145   </database>