database/model/tables/M_OFFER_PRICELIST.xml
changeset 410 ec5115414c8c
parent 238 006d2d0fdea6
child 735 daced7e311c9
equal deleted inserted replaced
409:8a6648a58e66 410:ec5115414c8c
     9       <column name="CREATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
     9       <column name="CREATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
    10       <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="SYSDATE" autoIncrement="false"/>
    10       <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="SYSDATE" autoIncrement="false"/>
    11       <column name="UPDATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
    11       <column name="UPDATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
    12       <column name="M_OFFER_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
    12       <column name="M_OFFER_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
    13       <column name="M_PRICELIST_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
    13       <column name="M_PRICELIST_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false"/>
       
    14       <foreign-key foreignTable="M_OFFER" name="MOFFER_MOFFERPRICELIST">
       
    15         <reference local="M_OFFER_ID" foreign="M_OFFER_ID"/>
       
    16       </foreign-key>
    14       <foreign-key foreignTable="AD_CLIENT" name="MOFFERPRICELIST_ADCLIENT">
    17       <foreign-key foreignTable="AD_CLIENT" name="MOFFERPRICELIST_ADCLIENT">
    15         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    18         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    16       </foreign-key>
    19       </foreign-key>
    17       <foreign-key foreignTable="AD_ORG" name="MOFFERPRICELIST_ADORG">
    20       <foreign-key foreignTable="AD_ORG" name="MOFFERPRICELIST_ADORG">
    18         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    21         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    19       </foreign-key>
    22       </foreign-key>
    20       <foreign-key foreignTable="M_PRICELIST" name="MOFFERPRICELIST_MPRICELIST">
    23       <foreign-key foreignTable="M_PRICELIST" name="MOFFERPRICELIST_MPRICELIST">
    21         <reference local="M_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
    24         <reference local="M_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
    22       </foreign-key>
    25       </foreign-key>
    23       <foreign-key foreignTable="M_OFFER" name="MOFFER_MOFFERPRICELIST">
       
    24         <reference local="M_OFFER_ID" foreign="M_OFFER_ID"/>
       
    25       </foreign-key>
       
    26     </table>
    26     </table>
    27   </database>
    27   </database>