src-db/database/model/tables/C_CURRENCY.xml
changeset 799 fef2c5e2feb7
parent 756 ae11e4610537
child 1605 8a0fe0193bef
equal deleted inserted replaced
798:4994e5a604bb 799:fef2c5e2feb7
    51       </column>
    51       </column>
    52       <column name="COSTINGPRECISION" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
    52       <column name="COSTINGPRECISION" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
    53         <default/>
    53         <default/>
    54         <onCreateDefault/>
    54         <onCreateDefault/>
    55       </column>
    55       </column>
    56       <column name="ISEURO" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
       
    57         <default><![CDATA[N]]></default>
       
    58         <onCreateDefault/>
       
    59       </column>
       
    60       <column name="ISEMUMEMBER" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
       
    61         <default><![CDATA[N]]></default>
       
    62         <onCreateDefault/>
       
    63       </column>
       
    64       <column name="EMUENTRYDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false">
       
    65         <default/>
       
    66         <onCreateDefault/>
       
    67       </column>
       
    68       <column name="EMURATE" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
       
    69         <default><![CDATA[0]]></default>
       
    70         <onCreateDefault/>
       
    71       </column>
       
    72       <column name="PRICEPRECISION" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
    56       <column name="PRICEPRECISION" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
    73         <default><![CDATA[0]]></default>
    57         <default><![CDATA[0]]></default>
    74         <onCreateDefault/>
    58         <onCreateDefault/>
    75       </column>
    59       </column>
    76       <foreign-key foreignTable="AD_CLIENT" name="C_CURRENCYCLIENT">
    60       <foreign-key foreignTable="AD_CLIENT" name="C_CURRENCYCLIENT">
    80         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    64         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    81       </foreign-key>
    65       </foreign-key>
    82       <unique name="C_CURRENCYISOCODE">
    66       <unique name="C_CURRENCYISOCODE">
    83         <unique-column name="ISO_CODE"/>
    67         <unique-column name="ISO_CODE"/>
    84       </unique>
    68       </unique>
    85       <check name="C_CURR_ISEMUMEMBER_CHECK"><![CDATA[ISEMUMEMBER IN ('Y', 'N')]]></check>
       
    86       <check name="C_CURRENCY_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
    69       <check name="C_CURRENCY_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
    87       <check name="C_CURRENCY_ISEURO_CHECK"><![CDATA[ISEURO IN ('Y', 'N')]]></check>
       
    88     </table>
    70     </table>
    89   </database>
    71   </database>