database/model/tables/M_OFFER_PRICELIST.xml
author Antonio Moreno <antonio.moreno@openbravo.com>
Mon, 11 Feb 2008 14:32:48 +0000
changeset 410 ec5115414c8c
parent 238 006d2d0fdea6
child 735 daced7e311c9
permissions -rw-r--r--
bug fixed: [1858892] The Foreign Keys of these tables have been reordered, future exports will not reorder them
<?xml version="1.0"?>
  <database name="TABLE M_OFFER_PRICELIST">
    <table name="M_OFFER_PRICELIST" primaryKey="M_OFFER_PRICELIST_KEY">
      <column name="M_OFFER_PRICELIST_ID" primaryKey="true" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
      <column name="AD_ORG_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="SYSDATE" autoIncrement="false"/>
      <column name="CREATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="SYSDATE" autoIncrement="false"/>
      <column name="UPDATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
      <column name="M_OFFER_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
      <column name="M_PRICELIST_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
      <foreign-key foreignTable="M_OFFER" name="MOFFER_MOFFERPRICELIST">
        <reference local="M_OFFER_ID" foreign="M_OFFER_ID"/>
      </foreign-key>
      <foreign-key foreignTable="AD_CLIENT" name="MOFFERPRICELIST_ADCLIENT">
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
      </foreign-key>
      <foreign-key foreignTable="AD_ORG" name="MOFFERPRICELIST_ADORG">
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
      </foreign-key>
      <foreign-key foreignTable="M_PRICELIST" name="MOFFERPRICELIST_MPRICELIST">
        <reference local="M_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
      </foreign-key>
    </table>
  </database>