src-db/database/model/tables/AD_FIELDGROUP.xml
changeset 5551 7a30caea85b5
parent 2323 696b6f8067e8
child 8504 802eae4a434d
equal deleted inserted replaced
5550:055ee9baf5df 5551:7a30caea85b5
    39       </column>
    39       </column>
    40       <column name="AD_MODULE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
    40       <column name="AD_MODULE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
    41         <default><![CDATA[0]]></default>
    41         <default><![CDATA[0]]></default>
    42         <onCreateDefault><![CDATA[SELECT AD_MODULE_ID FROM AD_MODULE WHERE AD_MODULE_ID<>'0' AND TYPE='M']]></onCreateDefault>
    42         <onCreateDefault><![CDATA[SELECT AD_MODULE_ID FROM AD_MODULE WHERE AD_MODULE_ID<>'0' AND TYPE='M']]></onCreateDefault>
    43       </column>
    43       </column>
    44       <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_ADFIELDGROUP">
    44       <foreign-key foreignTable="AD_CLIENT" name="AD_FIELDGROUP_AD_CLIENT">
    45         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    45         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    46       </foreign-key>
    46       </foreign-key>
    47       <foreign-key foreignTable="AD_MODULE" name="ADMODULE_ADFIELDGROUP">
    47       <foreign-key foreignTable="AD_MODULE" name="AD_FIELDGROUP_AD_MODULE">
    48         <reference local="AD_MODULE_ID" foreign="AD_MODULE_ID"/>
    48         <reference local="AD_MODULE_ID" foreign="AD_MODULE_ID"/>
    49       </foreign-key>
    49       </foreign-key>
    50       <foreign-key foreignTable="AD_ORG" name="ADORG_ADFIELDGROUP">
    50       <foreign-key foreignTable="AD_ORG" name="AD_FIELDGROUP_AD_ORG">
    51         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    51         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    52       </foreign-key>
    52       </foreign-key>
    53       <check name="AD_FIELDGROUP_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
    53       <check name="AD_FIELDGROUP_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
    54     </table>
    54     </table>
    55   </database>
    55   </database>