* adempiere models

This commit is contained in:
Heng Sin Low 2006-12-28 23:05:52 +00:00
parent 14ea39b550
commit 8ff470b948
50 changed files with 1733 additions and 0 deletions

View File

@ -0,0 +1,28 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="M_REPLENISH">
<column name="M_PRODUCT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="M_WAREHOUSE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="REPLENISHTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="LEVEL_MIN" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="LEVEL_MAX" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="M_WAREHOUSESOURCE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="M_PRODUCT" name="M_PRODUCT_REPLENISH">
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
</foreign-key>
<foreign-key foreignTable="M_WAREHOUSE" name="M_WAREHOUSE_REPLENISH">
<reference local="M_WAREHOUSE_ID" foreign="M_WAREHOUSE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,49 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="M_REQUISITION">
<column name="M_REQUISITION_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="DOCUMENTNO" primaryKey="false" required="true" type="VARCHAR" size="30" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="AD_USER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="M_PRICELIST_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="M_WAREHOUSE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISAPPROVED" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="PRIORITYRULE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="DATEREQUIRED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="TOTALLINES" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="DOCACTION" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
<column name="DOCSTATUS" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="POSTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="DATEDOC" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="C_DOCTYPE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="AD_USER" name="ADUSER_MREQUISITION">
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRICELIST" name="MPROCELIST_MREQUISITION">
<reference local="M_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
</foreign-key>
<foreign-key foreignTable="M_WAREHOUSE" name="MWAREHOUSE_MREQUISITION">
<reference local="M_WAREHOUSE_ID" foreign="M_WAREHOUSE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsApproved in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[Processed in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,33 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="M_REQUISITIONLINE">
<column name="M_REQUISITIONLINE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="LINE" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
<column name="M_REQUISITION_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="QTY" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="PRICEACTUAL" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="LINENETAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="C_ORDERLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="M_ATTRIBUTESETINSTANCE_ID" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
<column name="C_CHARGE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MREQUISITIONLINE">
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
</foreign-key>
<foreign-key foreignTable="M_REQUISITION" name="MREQUISITION_MREQUISITIONLINE">
<reference local="M_REQUISITION_ID" foreign="M_REQUISITION_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,34 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="M_RMA">
<column name="M_RMA_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="DOCUMENTNO" primaryKey="false" required="true" type="VARCHAR" size="30" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="M_INOUT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="C_ORDER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_DOCTYPE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="SALESREP_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="DOCACTION" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
<column name="DOCSTATUS" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
<column name="ISAPPROVED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="AMT" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
<column name="M_RMATYPE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="C_CURRENCY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="M_INOUT" name="MINOUT_MRMA">
<reference local="M_INOUT_ID" foreign="M_INOUT_ID"/>
</foreign-key>
</table>
</database>

View File

@ -0,0 +1,25 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="M_RMALINE">
<column name="M_RMALINE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="M_RMA_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="M_INOUTLINE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="QTY" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<foreign-key foreignTable="M_INOUTLINE" name="MINOUTLINE_MRMALINE">
<reference local="M_INOUTLINE_ID" foreign="M_INOUTLINE_ID"/>
</foreign-key>
<foreign-key foreignTable="M_RMA" name="MRMA_MRMALINE">
<reference local="M_RMA_ID" foreign="M_RMA_ID"/>
</foreign-key>
</table>
</database>

View File

@ -0,0 +1,20 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="M_RMATYPE">
<column name="M_RMATYPE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="M_SERNOCTL">
<column name="M_SERNOCTL_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="STARTNO" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
<column name="INCREMENTNO" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
<column name="CURRENTNEXT" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
<column name="PREFIX" primaryKey="false" required="false" type="VARCHAR" size="10" autoIncrement="false"/>
<column name="SUFFIX" primaryKey="false" required="false" type="VARCHAR" size="10" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,29 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="M_SERNOCTLEXCLUDE">
<column name="M_SERNOCTLEXCLUDE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="M_SERNOCTL_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_TABLE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISSOTRX" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<foreign-key foreignTable="AD_TABLE" name="ADTABLE_MSERNOCTLEXCLUDE">
<reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
</foreign-key>
<foreign-key foreignTable="M_SERNOCTL" name="MSERNOCTL_MSERNOCTLEXCLUDE">
<reference local="M_SERNOCTL_ID" foreign="M_SERNOCTL_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsSOTrx in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,28 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="M_SHIPPER">
<column name="M_SHIPPER_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="TRACKINGURL" primaryKey="false" required="false" type="VARCHAR" size="120" autoIncrement="false"/>
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_MSHIPPER">
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
</foreign-key>
<unique name="M_SHIPPER_NAME">
<unique-column name="AD_CLIENT_ID"/>
<unique-column name="NAME"/>
</unique>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,38 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="M_STORAGE">
<column name="M_PRODUCT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="M_LOCATOR_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="QTYONHAND" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="QTYRESERVED" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="QTYORDERED" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="DATELASTINVENTORY" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="M_ATTRIBUTESETINSTANCE_ID" primaryKey="true" required="true" type="ID" default="0" autoIncrement="false"/>
<foreign-key foreignTable="AD_CLIENT" name="M_ITEM_STORAGE_CLIENT">
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_ORG" name="M_ITEM_STORAGE_ORG">
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
</foreign-key>
<foreign-key foreignTable="M_ATTRIBUTESETINSTANCE" name="MATTRSETINST_MSTORAGE">
<reference local="M_ATTRIBUTESETINSTANCE_ID" foreign="M_ATTRIBUTESETINSTANCE_ID"/>
</foreign-key>
<foreign-key foreignTable="M_LOCATOR" name="M_LOCATOR_STORAGE">
<reference local="M_LOCATOR_ID" foreign="M_LOCATOR_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_STORAGE">
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,32 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="M_SUBSTITUTE">
<column name="M_PRODUCT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="SUBSTITUTE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<foreign-key foreignTable="AD_CLIENT" name="M_SUBSTITUTE_CLIENT">
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_ORG" name="M_SUBSTITUTE_ORG">
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_SUBSTITUTESUB">
<reference local="SUBSTITUTE_ID" foreign="M_PRODUCT_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_SUBSTITUTE">
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,55 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="M_TRANSACTION">
<column name="M_TRANSACTION_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="MOVEMENTTYPE" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
<column name="M_LOCATOR_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="M_PRODUCT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="MOVEMENTDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="MOVEMENTQTY" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="M_INVENTORYLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="M_MOVEMENTLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="M_INOUTLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="M_PRODUCTIONLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_PROJECTISSUE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="M_ATTRIBUTESETINSTANCE_ID" primaryKey="false" required="true" type="ID" default="0" autoIncrement="false"/>
<foreign-key foreignTable="C_PROJECTISSUE" name="CPROJECTISSUE_MTRANSACTION">
<reference local="C_PROJECTISSUE_ID" foreign="C_PROJECTISSUE_ID"/>
</foreign-key>
<foreign-key foreignTable="M_ATTRIBUTESETINSTANCE" name="MATTRSETINST_MTRANSACTION">
<reference local="M_ATTRIBUTESETINSTANCE_ID" foreign="M_ATTRIBUTESETINSTANCE_ID"/>
</foreign-key>
<foreign-key foreignTable="M_INOUTLINE" name="MINOUTLINE_MTRANSACTION">
<reference local="M_INOUTLINE_ID" foreign="M_INOUTLINE_ID"/>
</foreign-key>
<foreign-key foreignTable="M_INVENTORYLINE" name="MINVENTORYLINE_MTRANSACTION">
<reference local="M_INVENTORYLINE_ID" foreign="M_INVENTORYLINE_ID"/>
</foreign-key>
<foreign-key foreignTable="M_LOCATOR" name="MLOCATOR_MINVENTORYCOUNT">
<reference local="M_LOCATOR_ID" foreign="M_LOCATOR_ID"/>
</foreign-key>
<foreign-key foreignTable="M_MOVEMENTLINE" name="MMOVEMENTLINE_MTRANSACTION">
<reference local="M_MOVEMENTLINE_ID" foreign="M_MOVEMENTLINE_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MINVENTORYCOUNT">
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCTIONLINE" name="MPRODUCTIONLINE_MTRANSACTION">
<reference local="M_PRODUCTIONLINE_ID" foreign="M_PRODUCTIONLINE_ID"/>
</foreign-key>
<index name="M_TRANSSACTION_PRODUCT">
<index-column name="M_PRODUCT_ID"/>
</index>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,71 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="M_TRANSACTIONALLOCATION">
<column name="M_TRANSACTION_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="ALLOCATIONSTRATEGYTYPE" primaryKey="true" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="M_PRODUCT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="M_ATTRIBUTESETINSTANCE_ID" primaryKey="false" required="true" type="ID" default="0" autoIncrement="false"/>
<column name="ISALLOCATED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="QTY" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="ISMANUAL" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="M_INOUTLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="M_PRODUCTIONLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="M_INVENTORYLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="OUT_M_TRANSACTION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="OUT_M_INOUTLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="OUT_M_PRODUCTIONLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="OUT_M_INVENTORYLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="M_ATTRIBUTESETINSTANCE" name="MATTRIBUTESETINST_MTRXALLOC">
<reference local="M_ATTRIBUTESETINSTANCE_ID" foreign="M_ATTRIBUTESETINSTANCE_ID"/>
</foreign-key>
<foreign-key foreignTable="M_INOUTLINE" name="MINOUTLINEOUT_MTRXALLOC">
<reference local="OUT_M_INOUTLINE_ID" foreign="M_INOUTLINE_ID"/>
</foreign-key>
<foreign-key foreignTable="M_INOUTLINE" name="MINOUTLINE_MTRXALLOC">
<reference local="M_INOUTLINE_ID" foreign="M_INOUTLINE_ID"/>
</foreign-key>
<foreign-key foreignTable="M_INVENTORYLINE" name="MINVENTORYLINEOUT_MTRXALLOC">
<reference local="OUT_M_INVENTORYLINE_ID" foreign="M_INVENTORYLINE_ID"/>
</foreign-key>
<foreign-key foreignTable="M_INVENTORYLINE" name="MINVENTORYLINE_MTRXALLOC">
<reference local="M_INVENTORYLINE_ID" foreign="M_INVENTORYLINE_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MTRXALLOC">
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCTIONLINE" name="MPRODUCTIONLINEOUT_MTRXALLOC">
<reference local="OUT_M_PRODUCTIONLINE_ID" foreign="M_PRODUCTIONLINE_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCTIONLINE" name="MPRODUCTIONLINE_MTRXALLOC">
<reference local="M_PRODUCTIONLINE_ID" foreign="M_PRODUCTIONLINE_ID"/>
</foreign-key>
<foreign-key foreignTable="M_TRANSACTION" name="MTRANSACTIONOUT_MTRXALLOC">
<reference local="OUT_M_TRANSACTION_ID" foreign="M_TRANSACTION_ID"/>
</foreign-key>
<foreign-key foreignTable="M_TRANSACTION" name="MTTRANSACTION_MTRXALLOC">
<reference local="M_TRANSACTION_ID" foreign="M_TRANSACTION_ID"/>
</foreign-key>
<index name="M_TRANSACTIONALLOCATION_PRD">
<index-column name="M_PRODUCT_ID"/>
<index-column name="M_ATTRIBUTESETINSTANCE_ID"/>
<index-column name="ISALLOCATED"/>
</index>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsAllocated in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsManual in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,37 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="M_WAREHOUSE">
<column name="M_WAREHOUSE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="VALUE" primaryKey="false" required="true" type="VARCHAR" size="40" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="C_LOCATION_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="SEPARATOR" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="M_WAREHOUSESOURCE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="REPLENISHMENTCLASS" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<foreign-key foreignTable="AD_CLIENT" name="M_WAREHOUSE_CLIENT">
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_ORG" name="M_WAREHOUSE_ORG">
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
</foreign-key>
<foreign-key foreignTable="C_LOCATION" name="C_LOCATION_WAREHOUSE">
<reference local="C_LOCATION_ID" foreign="C_LOCATION_ID"/>
</foreign-key>
<unique name="M_WAREHOUSE_NAME">
<unique-column name="AD_CLIENT_ID"/>
<unique-column name="NAME"/>
</unique>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,40 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="M_WAREHOUSE_ACCT">
<column name="M_WAREHOUSE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="C_ACCTSCHEMA_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="W_INVENTORY_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="W_INVACTUALADJUST_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="W_DIFFERENCES_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="W_REVALUATION_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_MWAREHOUSEACCT">
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
</foreign-key>
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_WDIFFERENCES_MWAREHOUSE">
<reference local="W_DIFFERENCES_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_WINVACTUALADJUST_MWAREHOUSE">
<reference local="W_INVACTUALADJUST_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_WINVENTORY_MWAREHOUSE">
<reference local="W_INVENTORY_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_WREVALUATION_MWAREHOUSE">
<reference local="W_REVALUATION_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
</foreign-key>
<foreign-key foreignTable="M_WAREHOUSE" name="M_WAREHOUSE_WAREHOUSE_ACCT">
<reference local="M_WAREHOUSE_ID" foreign="M_WAREHOUSE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,31 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="PA_ACHIEVEMENT">
<column name="PA_ACHIEVEMENT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="NOTE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="SEQNO" primaryKey="false" required="true" type="INTEGER" default="0" autoIncrement="false"/>
<column name="PA_MEASURE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="MANUALACTUAL" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="ISACHIEVED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="DATEDOC" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<foreign-key foreignTable="PA_MEASURE" name="PAMEASURE_PAACHIEVEMENT">
<reference local="PA_MEASURE_ID" foreign="PA_MEASURE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsAchieved IN ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,21 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="PA_BENCHMARK">
<column name="PA_BENCHMARK_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="ACCUMULATIONTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,25 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="PA_BENCHMARKDATA">
<column name="PA_BENCHMARKDATA_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="PA_BENCHMARK_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="BENCHMARKDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="BENCHMARKVALUE" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
<foreign-key foreignTable="PA_BENCHMARK" name="PABENCHMARK_PABENCHMARKDATA">
<reference local="PA_BENCHMARK_ID" foreign="PA_BENCHMARK_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,40 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="PA_COLORSCHEMA">
<column name="PA_COLORSCHEMA_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="MARK1PERCENT" primaryKey="false" required="true" type="INTEGER" default="0" autoIncrement="false"/>
<column name="AD_PRINTCOLOR1_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="MARK2PERCENT" primaryKey="false" required="true" type="INTEGER" default="0" autoIncrement="false"/>
<column name="AD_PRINTCOLOR2_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="MARK3PERCENT" primaryKey="false" required="false" type="INTEGER" default="0" autoIncrement="false"/>
<column name="AD_PRINTCOLOR3_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="MARK4PERCENT" primaryKey="false" required="false" type="INTEGER" default="0" autoIncrement="false"/>
<column name="AD_PRINTCOLOR4_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ENTITYTYPE" primaryKey="false" required="true" type="VARCHAR" size="4" autoIncrement="false"/>
<foreign-key foreignTable="AD_PRINTCOLOR" name="ADPRINTCOLOR1_PACOLORSCHEMA">
<reference local="AD_PRINTCOLOR1_ID" foreign="AD_PRINTCOLOR_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_PRINTCOLOR" name="ADPRINTCOLOR2_PACOLORSCHEMA">
<reference local="AD_PRINTCOLOR2_ID" foreign="AD_PRINTCOLOR_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_PRINTCOLOR" name="ADPRINTCOLOR3_PACOLORSCHEMA">
<reference local="AD_PRINTCOLOR3_ID" foreign="AD_PRINTCOLOR_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_PRINTCOLOR" name="ADPRINTCOLOR4_PACOLORSCHEMA">
<reference local="AD_PRINTCOLOR4_ID" foreign="AD_PRINTCOLOR_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,48 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="PA_GOAL">
<column name="PA_GOAL_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="SEQNO" primaryKey="false" required="true" type="INTEGER" default="0" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="NOTE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="AD_USER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="PA_COLORSCHEMA_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISSUMMARY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="PA_GOALPARENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="PA_MEASURE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="RELATIVEWEIGHT" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
<column name="MEASURETARGET" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="MEASURESCOPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="MEASUREDISPLAY" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="DATEFROM" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="DATETO" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="MEASUREACTUAL" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="GOALPERFORMANCE" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
<column name="DATELASTRUN" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="AD_ROLE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="AD_USER" name="ADUSER_PAGOAL">
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_COLORSCHEMA" name="PACOLORSCHEMA_PAGOAL">
<reference local="PA_COLORSCHEMA_ID" foreign="PA_COLORSCHEMA_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_GOAL" name="PAGOALPARENT_PAGOAL">
<reference local="PA_GOALPARENT_ID" foreign="PA_GOAL_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_MEASURE" name="PAMEASURE_PAGOAL">
<reference local="PA_MEASURE_ID" foreign="PA_MEASURE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,46 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="PA_GOALRESTRICTION">
<column name="PA_GOALRESTRICTION_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="GOALRESTRICTIONTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="PA_GOAL_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ORG_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_BP_GROUP_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="M_PRODUCT_CATEGORY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="AD_ORG" name="ADORG2_PAGOALRESTRICTION">
<reference local="ORG_ID" foreign="AD_ORG_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_ORG" name="ADORG_PAGOALRESTRICTION">
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
</foreign-key>
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_PAGOALRESTRICTION">
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
</foreign-key>
<foreign-key foreignTable="C_BP_GROUP" name="CBPGROUP_PAGOALRESTRICTION">
<reference local="C_BP_GROUP_ID" foreign="C_BP_GROUP_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_PAGOALRESTRICTION">
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCT_CATEGORY" name="MPRODUCTCAT_PAGOALRESTRICTION">
<reference local="M_PRODUCT_CATEGORY_ID" foreign="M_PRODUCT_CATEGORY_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_GOAL" name="PAGOAL_PAGOALRESTRICTION">
<reference local="PA_GOAL_ID" foreign="PA_GOAL_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,52 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="PA_HIERARCHY">
<column name="PA_HIERARCHY_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="AD_TREE_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_TREE_BPARTNER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_TREE_PROJECT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_TREE_SALESREGION_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_TREE_PRODUCT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_TREE_CAMPAIGN_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_TREE_ACTIVITY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_TREE_ACCOUNT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="AD_TREE" name="ADTREEACCOUNT_PAHIERARCHY">
<reference local="AD_TREE_ACCOUNT_ID" foreign="AD_TREE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TREE" name="ADTREEACTIVITY_PAHIERARCHY">
<reference local="AD_TREE_ACTIVITY_ID" foreign="AD_TREE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TREE" name="ADTREEBPARTNER_PAHIERARCHY">
<reference local="AD_TREE_BPARTNER_ID" foreign="AD_TREE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TREE" name="ADTREECAMPAIGN_PAHIERARCHY">
<reference local="AD_TREE_CAMPAIGN_ID" foreign="AD_TREE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TREE" name="ADTREEORG_PAHIERARCHY">
<reference local="AD_TREE_ORG_ID" foreign="AD_TREE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TREE" name="ADTREEPRODUCT_PAHIERARCHY">
<reference local="AD_TREE_PRODUCT_ID" foreign="AD_TREE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TREE" name="ADTREEPROJECT_PAHIERARCHY">
<reference local="AD_TREE_PROJECT_ID" foreign="AD_TREE_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_TREE" name="ADTREESR_PAHIERARCHY">
<reference local="AD_TREE_SALESREGION_ID" foreign="AD_TREE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,42 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="PA_MEASURE">
<column name="PA_MEASURE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="MEASURETYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="MANUALACTUAL" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
<column name="MANUALNOTE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="CALCULATIONCLASS" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="PA_MEASURECALC_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="PA_BENCHMARK_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="PA_RATIO_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="PA_HIERARCHY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="MEASUREDATATYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="R_REQUESTTYPE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_PROJECTTYPE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="PA_BENCHMARK" name="PABENCHMARK_PAMEASURE">
<reference local="PA_BENCHMARK_ID" foreign="PA_BENCHMARK_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_HIERARCHY" name="PAHIERARCHY_PAMEASURE">
<reference local="PA_HIERARCHY_ID" foreign="PA_HIERARCHY_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_MEASURECALC" name="PAMEASURECALC_PAMEASURE">
<reference local="PA_MEASURECALC_ID" foreign="PA_MEASURECALC_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_RATIO" name="PARATIO_PAMEASURE">
<reference local="PA_RATIO_ID" foreign="PA_RATIO_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,28 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="PA_MEASURECALC">
<column name="PA_MEASURECALC_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="SELECTCLAUSE" primaryKey="false" required="true" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="WHERECLAUSE" primaryKey="false" required="true" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="DATECOLUMN" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="ORGCOLUMN" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="BPARTNERCOLUMN" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="PRODUCTCOLUMN" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="AD_TABLE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="KEYCOLUMN" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="ENTITYTYPE" primaryKey="false" required="true" type="VARCHAR" size="4" autoIncrement="false"/>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="PA_RATIO">
<column name="PA_RATIO_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="C_ACCTSCHEMA_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_PARATIO">
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,40 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="PA_RATIOELEMENT">
<column name="PA_RATIOELEMENT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="PA_RATIO_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="RATIOOPERAND" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="RATIOELEMENTTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="ACCOUNT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="PA_RATIOUSED_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="PA_MEASURECALC_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="CONSTANTVALUE" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
<column name="SEQNO" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
<column name="POSTINGTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUE_PARATIOELEMENT">
<reference local="ACCOUNT_ID" foreign="C_ELEMENTVALUE_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_MEASURECALC" name="PAMEASURECALC_PARATIOELEMENT">
<reference local="PA_MEASURECALC_ID" foreign="PA_MEASURECALC_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_RATIO" name="PARATIO_PARATIOELEMENT">
<reference local="PA_RATIO_ID" foreign="PA_RATIO_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_RATIO" name="PARATIOUSED_PARATIOELEMENT">
<reference local="PA_RATIOUSED_ID" foreign="PA_RATIO_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,45 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="PA_REPORT">
<column name="PA_REPORT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="false" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="PA_REPORTLINESET_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="PA_REPORTCOLUMNSET_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="C_ACCTSCHEMA_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="C_CALENDAR_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="PROCESSING" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="AD_PRINTFORMAT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="LISTSOURCES" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="LISTTRX" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<foreign-key foreignTable="AD_ORG" name="ADORG_PAREPORT">
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_PRINTFORMAT" name="ADPRINTFORMAT_PAREPORT">
<reference local="AD_PRINTFORMAT_ID" foreign="AD_PRINTFORMAT_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_PAREPORT">
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
</foreign-key>
<foreign-key foreignTable="C_CALENDAR" name="CCALENDAR_PAREPORT">
<reference local="C_CALENDAR_ID" foreign="C_CALENDAR_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_REPORTCOLUMNSET" name="PAREPORT_COLUMNSET">
<reference local="PA_REPORTCOLUMNSET_ID" foreign="PA_REPORTCOLUMNSET_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_REPORTLINESET" name="PAREPORT_LINESET">
<reference local="PA_REPORTLINESET_ID" foreign="PA_REPORTLINESET_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,91 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="PA_REPORTCOLUMN">
<column name="PA_REPORTCOLUMN_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="PA_REPORTCOLUMNSET_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="SEQNO" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="ISPRINTED" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="POSTINGTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="GL_BUDGET_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="COLUMNTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="RELATIVEPERIOD" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<column name="CURRENCYTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="CALCULATIONTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="AMOUNTTYPE" primaryKey="false" required="false" type="CHAR" size="2" autoIncrement="false"/>
<column name="C_CURRENCY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ISADHOCCONVERSION" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="OPER_1_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="OPER_2_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ELEMENTTYPE" primaryKey="false" required="false" type="CHAR" size="2" autoIncrement="false"/>
<column name="ORG_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_ELEMENTVALUE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_PROJECT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_CAMPAIGN_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_LOCATION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_SALESREGION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_ACTIVITY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="AD_ORG" name="ADORG_PAREPORTCOLUMN">
<reference local="ORG_ID" foreign="AD_ORG_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ACTIVITY" name="CACTIVITY_PAREPORTCOLUMN">
<reference local="C_ACTIVITY_ID" foreign="C_ACTIVITY_ID"/>
</foreign-key>
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_PAREPORTCOLUMN">
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
</foreign-key>
<foreign-key foreignTable="C_CAMPAIGN" name="CCAMPAIGN_PAREPORTCOLUMN">
<reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
</foreign-key>
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_PAREPORTCOLUMN">
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUE_PAREPORTCOLUMN">
<reference local="C_ELEMENTVALUE_ID" foreign="C_ELEMENTVALUE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_LOCATION" name="CLOCATION_PAREPORTCOLUMN">
<reference local="C_LOCATION_ID" foreign="C_LOCATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_PROJECT" name="CPROJECT_PAREPORTCOLUMN">
<reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
</foreign-key>
<foreign-key foreignTable="C_SALESREGION" name="CSALESREGION_PAREPORTCOLUMN">
<reference local="C_SALESREGION_ID" foreign="C_SALESREGION_ID"/>
</foreign-key>
<foreign-key foreignTable="GL_BUDGET" name="GLBUDGET_PAREPORTCOLUMN">
<reference local="GL_BUDGET_ID" foreign="GL_BUDGET_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_PAREPORTCOLUMN">
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_REPORTCOLUMN" name="PAREPORTCOLUMN_OPER2">
<reference local="OPER_2_ID" foreign="PA_REPORTCOLUMN_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_REPORTCOLUMN" name="PAREPORTCOLUMN_OPER1">
<reference local="OPER_1_ID" foreign="PA_REPORTCOLUMN_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_REPORTCOLUMNSET" name="PAREPORTCOLUMNSET_COLUMN">
<reference local="PA_REPORTCOLUMNSET_ID" foreign="PA_REPORTCOLUMNSET_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsPrinted in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsAdHocConversion in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,20 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="PA_REPORTCOLUMNSET">
<column name="PA_REPORTCOLUMNSET_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="PROCESSING" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,49 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="PA_REPORTLINE">
<column name="PA_REPORTLINE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="PA_REPORTLINESET_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="SEQNO" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="ISPRINTED" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="PARENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ISSUMMARY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="LINETYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="CALCULATIONTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="OPER_1_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="OPER_2_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="POSTINGTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="GL_BUDGET_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="AMOUNTTYPE" primaryKey="false" required="false" type="CHAR" size="2" autoIncrement="false"/>
<foreign-key foreignTable="GL_BUDGET" name="GLBUDGET_PAREPORTLINE">
<reference local="GL_BUDGET_ID" foreign="GL_BUDGET_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_REPORTLINE" name="PAREPORTLINE_OPER2">
<reference local="OPER_2_ID" foreign="PA_REPORTLINE_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_REPORTLINE" name="PAREPORTLINE_OPER1">
<reference local="OPER_1_ID" foreign="PA_REPORTLINE_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_REPORTLINE" name="PAREPORTLINE_PARENT">
<reference local="PARENT_ID" foreign="PA_REPORTLINE_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_REPORTLINESET" name="PAREPORTLINESET_LINE">
<reference local="PA_REPORTLINESET_ID" foreign="PA_REPORTLINESET_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsPrinted in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,20 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="PA_REPORTLINESET">
<column name="PA_REPORTLINESET_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="PROCESSING" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,59 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="PA_REPORTSOURCE">
<column name="PA_REPORTSOURCE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="PA_REPORTLINE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ELEMENTTYPE" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
<column name="ORG_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_ELEMENTVALUE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_PROJECT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_CAMPAIGN_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_LOCATION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_SALESREGION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_ACTIVITY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="AD_ORG" name="ADORG_PAREPORTSOURCE">
<reference local="ORG_ID" foreign="AD_ORG_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ACTIVITY" name="CACTIVITY_PAREPORTSOURCE">
<reference local="C_ACTIVITY_ID" foreign="C_ACTIVITY_ID"/>
</foreign-key>
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_PAREPORTSOURCE">
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
</foreign-key>
<foreign-key foreignTable="C_CAMPAIGN" name="CCAMPAIGN_PAREPORTSOURCE">
<reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUE_PAREPORTSOURCE">
<reference local="C_ELEMENTVALUE_ID" foreign="C_ELEMENTVALUE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_LOCATION" name="CLOCATION_PAREPORTSOURCE">
<reference local="C_LOCATION_ID" foreign="C_LOCATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_PROJECT" name="CPROJECT_PAREPORTSOURCE">
<reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
</foreign-key>
<foreign-key foreignTable="C_SALESREGION" name="CSALESREGION_PAREPORTSOURCE">
<reference local="C_SALESREGION_ID" foreign="C_SALESREGION_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_PAREPORTSOURCE">
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_REPORTLINE" name="PAREPORTLINE_PAREPORTSOURCE">
<reference local="PA_REPORTLINE_ID" foreign="PA_REPORTLINE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,25 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="PA_SLA_CRITERIA">
<column name="PA_SLA_CRITERIA_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="ISMANUAL" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="CLASSNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsManual in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,38 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="PA_SLA_GOAL">
<column name="PA_SLA_GOAL_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="PA_SLA_CRITERIA_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="C_BPARTNER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="VALIDFROM" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="VALIDTO" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="MEASURETARGET" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="MEASUREACTUAL" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="DATELASTRUN" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_PASLAGOAL">
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_SLA_CRITERIA" name="PASLACRITERIA_PASLAGOAL">
<reference local="PA_SLA_CRITERIA_ID" foreign="PA_SLA_CRITERIA_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[Processed in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,34 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="PA_SLA_MEASURE">
<column name="PA_SLA_MEASURE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="PA_SLA_GOAL_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="DATETRX" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="MEASUREACTUAL" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="AD_TABLE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="RECORD_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<foreign-key foreignTable="AD_TABLE" name="ADTABLE_PASLAMEASURE">
<reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
</foreign-key>
<foreign-key foreignTable="PA_SLA_GOAL" name="PASLAGOAL_PASLAMEASURE">
<reference local="PA_SLA_GOAL_ID" foreign="PA_SLA_GOAL_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[Processed in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,21 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="R_CATEGORY">
<column name="R_CATEGORY_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,28 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="R_CATEGORYUPDATES">
<column name="AD_USER_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="R_CATEGORY_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISSELFSERVICE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<foreign-key foreignTable="AD_USER" name="ADUSER_RCATEGORYUPDATES">
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
</foreign-key>
<foreign-key foreignTable="R_CATEGORY" name="RCATEGORY_RCATEGORYUPDATES">
<reference local="R_CATEGORY_ID" foreign="R_CATEGORY_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsSelfService in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,30 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="R_CONTACTINTEREST">
<column name="R_INTERESTAREA_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="SUBSCRIBEDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="OPTOUTDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="AD_USER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="AD_USER" name="ADUSER_RCONTACTINTEREST">
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
</foreign-key>
<foreign-key foreignTable="R_INTERESTAREA" name="RINTERESTAREA_RCONTACTINTEREST">
<reference local="R_INTERESTAREA_ID" foreign="R_INTERESTAREA_ID"/>
</foreign-key>
<unique name="R_CONTACTINTEREST_KEY">
<unique-column name="AD_USER_ID"/>
<unique-column name="R_INTERESTAREA_ID"/>
</unique>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,22 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="R_GROUP">
<column name="R_GROUP_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="M_BOM_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="M_CHANGENOTICE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,28 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="R_GROUPUPDATES">
<column name="AD_USER_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="R_GROUP_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISSELFSERVICE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<foreign-key foreignTable="AD_USER" name="ADUSER_RUSERUPDATES">
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
</foreign-key>
<foreign-key foreignTable="R_GROUP" name="RGROUP_RGROUPUPDATES">
<reference local="R_GROUP_ID" foreign="R_GROUP_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsSelfService in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,21 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="R_INTERESTAREA">
<column name="R_INTERESTAREA_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="ISSELFSERVICE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="VALUE" primaryKey="false" required="true" type="VARCHAR" size="40" autoIncrement="false"/>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,43 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="R_ISSUEKNOWN">
<column name="R_ISSUEKNOWN_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISSUESUMMARY" primaryKey="false" required="true" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="RELEASENO" primaryKey="false" required="true" type="CHAR" size="4" autoIncrement="false"/>
<column name="SOURCECLASSNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="SOURCEMETHODNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="LOGGERNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="LINENO" primaryKey="false" required="false" type="INTEGER" default="0" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="ISSUESTATUS" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="R_ISSUESTATUS_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="R_REQUEST_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="R_ISSUERECOMMENDATION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="R_ISSUESTATUS" name="RISSUESTATUS_RISSUEKNOWN">
<reference local="R_ISSUESTATUS_ID" foreign="R_ISSUESTATUS_ID"/>
</foreign-key>
<foreign-key foreignTable="R_REQUEST" name="RREQUEST_RISSUEKNOWN">
<reference local="R_REQUEST_ID" foreign="R_REQUEST_ID"/>
</foreign-key>
<unique name="R_KNOWNISSUE_ALT">
<unique-column name="ISSUESUMMARY"/>
<unique-column name="RELEASENO"/>
<unique-column name="SOURCECLASSNAME"/>
<unique-column name="SOURCEMETHODNAME"/>
<unique-column name="LOGGERNAME"/>
<unique-column name="LINENO"/>
</unique>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,33 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="R_ISSUEPROJECT">
<column name="R_ISSUEPROJECT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="A_ASSET_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_PROJECT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="STATISTICSINFO" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="PROFILEINFO" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="SYSTEMSTATUS" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<foreign-key foreignTable="A_ASSET" name="AASSET_RISSUEPROJECT">
<reference local="A_ASSET_ID" foreign="A_ASSET_ID"/>
</foreign-key>
<foreign-key foreignTable="C_PROJECT" name="CPROJECT_RISSUEPROJECT">
<reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
</foreign-key>
<index name="R_ISSUEPROJECT_NAME">
<index-column name="NAME"/>
</index>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,20 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="R_ISSUERECOMMENDATION">
<column name="R_ISSUERECOMMENDATION_ID" primaryKey="true" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,36 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="R_ISSUESOURCE">
<column name="R_ISSUESOURCE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="R_ISSUESYSTEM_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="R_ISSUEPROJECT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="R_ISSUEUSER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="STATISTICSINFO" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="PROFILEINFO" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<foreign-key foreignTable="R_ISSUEPROJECT" name="RISSUEPROJECT_RISSUESOURCE">
<reference local="R_ISSUEPROJECT_ID" foreign="R_ISSUEPROJECT_ID"/>
</foreign-key>
<foreign-key foreignTable="R_ISSUESYSTEM" name="RISSUESYSTEM_RISSUESOURCE">
<reference local="R_ISSUESYSTEM_ID" foreign="R_ISSUESYSTEM_ID"/>
</foreign-key>
<foreign-key foreignTable="R_ISSUEUSER" name="RISSUEUSER_RISSUESOURCE">
<reference local="R_ISSUEUSER_ID" foreign="R_ISSUEUSER_ID"/>
</foreign-key>
<unique name="R_ISSUESOURCE_SPO">
<unique-column name="R_ISSUESYSTEM_ID"/>
<unique-column name="R_ISSUEPROJECT_ID"/>
<unique-column name="R_ISSUEUSER_ID"/>
</unique>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="R_ISSUESTATUS">
<column name="R_ISSUESTATUS_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,25 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="R_ISSUESYSTEM">
<column name="R_ISSUESYSTEM_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="DBADDRESS" primaryKey="false" required="true" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="STATISTICSINFO" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="PROFILEINFO" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="SYSTEMSTATUS" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="A_ASSET_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<unique name="R_ISSUESYSTEM_ADDRESS">
<unique-column name="DBADDRESS"/>
</unique>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,27 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="R_ISSUEUSER">
<column name="R_ISSUEUSER_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="USERNAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="AD_USER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="AD_USER" name="ADUSER_RISSUEUSER">
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
</foreign-key>
<unique name="R_ISSUEUSER_EMAIL">
<unique-column name="USERNAME"/>
<unique-column name="AD_CLIENT_ID"/>
</unique>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,26 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="R_MAILTEXT">
<column name="R_MAILTEXT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="ISHTML" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="MAILHEADER" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="MAILTEXT" primaryKey="false" required="true" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="MAILTEXT2" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="MAILTEXT3" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsHTML in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,33 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="R_MAILTEXT_TRL">
<column name="R_MAILTEXT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_LANGUAGE" primaryKey="true" required="true" type="VARCHAR" size="6" autoIncrement="false"/>
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" 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="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISTRANSLATED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
<column name="MAILHEADER" primaryKey="false" required="true" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="MAILTEXT" primaryKey="false" required="true" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="MAILTEXT2" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="MAILTEXT3" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<foreign-key foreignTable="AD_LANGUAGE" name="ADLANGUAGE_RMAILTEXTTRL">
<reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
</foreign-key>
<foreign-key foreignTable="R_MAILTEXT" name="RMAILTEXT_RMAILTEXTTRL">
<reference local="R_MAILTEXT_ID" foreign="R_MAILTEXT_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsTranslated in ('Y','N')]]></rule>
</check>
</table>
</database>