src-db/database/model/tables/C_ACCTSCHEMA_TABLE_DOCTYPE.xml
changeset 6911 f0cec2adc44d
parent 2814 b324978aa986
child 5551 7a30caea85b5
equal deleted inserted replaced
6910:b2a4e9dfd00e 6911:f0cec2adc44d
    43       </column>
    43       </column>
    44       <column name="DOCBASETYPE" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
    44       <column name="DOCBASETYPE" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
    45         <default/>
    45         <default/>
    46         <onCreateDefault/>
    46         <onCreateDefault/>
    47       </column>
    47       </column>
       
    48       <column name="AD_CREATEFACT_TEMPLATE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
       
    49         <default/>
       
    50         <onCreateDefault/>
       
    51       </column>
    48       <foreign-key foreignTable="AD_CLIENT" name="AD_CLIENT_C_ACCTSCHEMA_TAB_DOC">
    52       <foreign-key foreignTable="AD_CLIENT" name="AD_CLIENT_C_ACCTSCHEMA_TAB_DOC">
    49         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    53         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    50       </foreign-key>
    54       </foreign-key>
    51       <foreign-key foreignTable="AD_ORG" name="AD_ORG_C_ACCTSCHEMA_TAB_DOC">
    55       <foreign-key foreignTable="AD_ORG" name="AD_ORG_C_ACCTSCHEMA_TAB_DOC">
    52         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    56         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    53       </foreign-key>
    57       </foreign-key>
    54       <foreign-key foreignTable="C_ACCTSCHEMA_TABLE" name="C_CCTSCHM_TBL_D_C_CCTSCHM_TBL">
    58       <foreign-key foreignTable="C_ACCTSCHEMA_TABLE" name="C_CCTSCHM_TBL_D_C_CCTSCHM_TBL">
    55         <reference local="C_ACCTSCHEMA_TABLE_ID" foreign="C_ACCTSCHEMA_TABLE_ID"/>
    59         <reference local="C_ACCTSCHEMA_TABLE_ID" foreign="C_ACCTSCHEMA_TABLE_ID"/>
    56       </foreign-key>
    60       </foreign-key>
       
    61       <foreign-key foreignTable="AD_CREATEFACT_TEMPLATE" name="CACCTSCHTABDOC_ADCREATEFACTEMP">
       
    62         <reference local="AD_CREATEFACT_TEMPLATE_ID" foreign="AD_CREATEFACT_TEMPLATE_ID"/>
       
    63       </foreign-key>
    57       <check name="C_ACCTSCH_TA_DO_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
    64       <check name="C_ACCTSCH_TA_DO_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
    58       <check name="C_ACCTSCH_TA_DO_NEGATIVE_CHECK"><![CDATA[ALLOWNEGATIVE IN ('Y', 'N')]]></check>
    65       <check name="C_ACCTSCH_TA_DO_NEGATIVE_CHECK"><![CDATA[ALLOWNEGATIVE IN ('Y', 'N')]]></check>
    59     </table>
    66     </table>
    60   </database>
    67   </database>