51 lines
4.0 KiB
XML
51 lines
4.0 KiB
XML
|
<?xml version="1.0"?>
|
||
|
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||
|
<database name="default" defaultIdMethod="none">
|
||
|
<table name="T_INVENTORYVALUE">
|
||
|
<column name="AD_PINSTANCE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||
|
<column name="M_WAREHOUSE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||
|
<column name="M_PRODUCT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||
|
<column name="M_ATTRIBUTESETINSTANCE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||
|
<column name="AD_CLIENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||
|
<column name="AD_ORG_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||
|
<column name="M_PRICELIST_VERSION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||
|
<column name="DATEVALUE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||
|
<column name="C_CURRENCY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||
|
<column name="QTYONHAND" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||
|
<column name="PRICEPO" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||
|
<column name="PRICELIST" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||
|
<column name="PRICESTD" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||
|
<column name="PRICELIMIT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||
|
<column name="COSTSTANDARD" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||
|
<column name="COST" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||
|
<column name="PRICEPOAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||
|
<column name="PRICELISTAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||
|
<column name="PRICESTDAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||
|
<column name="PRICELIMITAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||
|
<column name="COSTSTANDARDAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||
|
<column name="COSTAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||
|
<column name="M_COSTELEMENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||
|
<foreign-key foreignTable="AD_PINSTANCE" name="ADPINSTANCE_TINVENTORYVALUE">
|
||
|
<reference local="AD_PINSTANCE_ID" foreign="AD_PINSTANCE_ID"/>
|
||
|
</foreign-key>
|
||
|
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_TINVENTORYVALUE">
|
||
|
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||
|
</foreign-key>
|
||
|
<foreign-key foreignTable="M_ATTRIBUTESETINSTANCE" name="MASI_TINVENTORYVALUE">
|
||
|
<reference local="M_ATTRIBUTESETINSTANCE_ID" foreign="M_ATTRIBUTESETINSTANCE_ID"/>
|
||
|
</foreign-key>
|
||
|
<foreign-key foreignTable="M_COSTELEMENT" name="MCOSTELEMENT_TINVENTORYVALUE">
|
||
|
<reference local="M_COSTELEMENT_ID" foreign="M_COSTELEMENT_ID"/>
|
||
|
</foreign-key>
|
||
|
<foreign-key foreignTable="M_PRICELIST_VERSION" name="MPLVERSION_TINVENTORYVALUE">
|
||
|
<reference local="M_PRICELIST_VERSION_ID" foreign="M_PRICELIST_VERSION_ID"/>
|
||
|
</foreign-key>
|
||
|
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_TINVENTORYVALUE">
|
||
|
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
|
||
|
</foreign-key>
|
||
|
<foreign-key foreignTable="M_WAREHOUSE" name="MWAREHOUSE_TINVENTORYVALUE">
|
||
|
<reference local="M_WAREHOUSE_ID" foreign="M_WAREHOUSE_ID"/>
|
||
|
</foreign-key>
|
||
|
</table>
|
||
|
</database>
|