src-db/database/model/tables/A_ASSET_GROUP_ACCT.xml
changeset 5551 7a30caea85b5
parent 1605 8a0fe0193bef
child 8504 802eae4a434d
equal deleted inserted replaced
5550:055ee9baf5df 5551:7a30caea85b5
    59       </column>
    59       </column>
    60       <column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
    60       <column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
    61         <default><![CDATA[N]]></default>
    61         <default><![CDATA[N]]></default>
    62         <onCreateDefault/>
    62         <onCreateDefault/>
    63       </column>
    63       </column>
    64       <foreign-key foreignTable="A_ASSET_GROUP" name="AASSETGROUP_AASSETGROUPACCT">
    64       <foreign-key foreignTable="C_VALIDCOMBINATION" name="A_ASSET_GROUP_ACCT_A_ACCUMDEPR">
       
    65         <reference local="A_ACCUMDEPRECIATION_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
    66       </foreign-key>
       
    67       <foreign-key foreignTable="A_ASSET_GROUP" name="A_ASSET_GROUP_ACCT_A_ASSET_GRO">
    65         <reference local="A_ASSET_GROUP_ID" foreign="A_ASSET_GROUP_ID"/>
    68         <reference local="A_ASSET_GROUP_ID" foreign="A_ASSET_GROUP_ID"/>
    66       </foreign-key>
    69       </foreign-key>
    67       <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_AASSETGROUPACCT">
    70       <foreign-key foreignTable="C_VALIDCOMBINATION" name="A_ASSET_GROUP_ACCT_A_DEPRECIAT">
       
    71         <reference local="A_DEPRECIATION_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
    72       </foreign-key>
       
    73       <foreign-key foreignTable="C_VALIDCOMBINATION" name="A_ASSET_GROUP_ACCT_A_DISPOSAL_">
       
    74         <reference local="A_DISPOSAL_LOSS" foreign="C_VALIDCOMBINATION_ID"/>
       
    75       </foreign-key>
       
    76       <foreign-key foreignTable="C_VALIDCOMBINATION" name="A_ASSET_GROUP_ACCT_A_DISPOSAL1">
       
    77         <reference local="A_DISPOSAL_GAIN" foreign="C_VALIDCOMBINATION_ID"/>
       
    78       </foreign-key>
       
    79       <foreign-key foreignTable="AD_CLIENT" name="A_ASSET_GROUP_ACCT_AD_CLIENT">
    68         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    80         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    69       </foreign-key>
    81       </foreign-key>
    70       <foreign-key foreignTable="AD_ORG" name="ADORG_AASSETGROUPACCT">
    82       <foreign-key foreignTable="AD_ORG" name="A_ASSET_GROUP_ACCT_AD_ORG">
    71         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    83         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    72       </foreign-key>
    84       </foreign-key>
    73       <foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_AASSETGROUPACCT">
    85       <foreign-key foreignTable="C_ACCTSCHEMA" name="A_ASSET_GROUP_ACCT_C_ACCTSCHEM">
    74         <reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
    86         <reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
    75       </foreign-key>
    87       </foreign-key>
    76       <foreign-key foreignTable="C_VALIDCOMBINATION" name="CVALIDCOMBINATION_AASSETGROUP1">
    88       <unique name="A_ASSET_GROUP_ACCT_ASSET_GR_UN">
    77         <reference local="A_DEPRECIATION_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
    78       </foreign-key>
       
    79       <foreign-key foreignTable="C_VALIDCOMBINATION" name="CVALIDCOMBINATION_AASSETGROUP2">
       
    80         <reference local="A_ACCUMDEPRECIATION_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
       
    81       </foreign-key>
       
    82       <foreign-key foreignTable="C_VALIDCOMBINATION" name="CVALIDCOMBINATION_AASSETGROUP3">
       
    83         <reference local="A_DISPOSAL_LOSS" foreign="C_VALIDCOMBINATION_ID"/>
       
    84       </foreign-key>
       
    85       <foreign-key foreignTable="C_VALIDCOMBINATION" name="CVALIDCOMBINATION_AASSETGROUPA">
       
    86         <reference local="A_DISPOSAL_GAIN" foreign="C_VALIDCOMBINATION_ID"/>
       
    87       </foreign-key>
       
    88       <unique name="AASSETGROUPACCT_AASSETGROUP_UN">
       
    89         <unique-column name="A_ASSET_GROUP_ID"/>
    89         <unique-column name="A_ASSET_GROUP_ID"/>
    90         <unique-column name="C_ACCTSCHEMA_ID"/>
    90         <unique-column name="C_ACCTSCHEMA_ID"/>
    91       </unique>
    91       </unique>
    92       <check name="A_ASSET_GROUP_A_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
    92       <check name="A_ASSET_GROUP_A_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
    93     </table>
    93     </table>