112 lines
8.7 KiB
XML
112 lines
8.7 KiB
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
|
<database name="default" defaultIdMethod="none">
|
|
<table name="R_REQUESTACTION">
|
|
<column name="R_REQUESTACTION_ID" primaryKey="true" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" size="10" 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" size="10" 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" size="10" autoIncrement="false"/>
|
|
<column name="R_REQUEST_ID" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="R_GROUP_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="R_CATEGORY_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="R_STATUS_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="R_RESOLUTION_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="SALESREP_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="AD_ROLE_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="ISESCALATED" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
|
<column name="ISINVOICED" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
|
<column name="CONFIDENTIALTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
|
<column name="ISSELFSERVICE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
|
<column name="PRIORITY" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
|
<column name="PRIORITYUSER" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
|
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="AD_USER_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="C_ORDER_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="C_INVOICE_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="C_PAYMENT_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="C_PROJECT_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="SUMMARY" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
|
<column name="DATENEXTACTION" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
|
<column name="C_ACTIVITY_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="R_REQUESTTYPE_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="A_ASSET_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="M_INOUT_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="M_RMA_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="NULLCOLUMNS" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
|
<column name="TASKSTATUS" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
|
<column name="DATECOMPLETEPLAN" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
|
<column name="QTYPLAN" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false"/>
|
|
<column name="QTYSPENT" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false"/>
|
|
<column name="STARTDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
|
<column name="ENDDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
|
<column name="DATESTARTPLAN" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
|
<column name="QTYINVOICED" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false"/>
|
|
<column name="M_PRODUCTSPENT_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<foreign-key foreignTable="AD_ROLE" name="ADROLE_RREQUESTACTION" onDelete="none">
|
|
<reference local="AD_ROLE_ID" foreign="AD_ROLE_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="AD_USER" name="ADUSERSR_RREQUESTACTION" onDelete="none">
|
|
<reference local="SALESREP_ID" foreign="AD_USER_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="AD_USER" name="ADUSER_RREQUESTACTION" onDelete="none">
|
|
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="A_ASSET" name="AASSET_RREQUESTACTION" onDelete="none">
|
|
<reference local="A_ASSET_ID" foreign="A_ASSET_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_ACTIVITY" name="CACTIVITY_RREQUESTACTION" onDelete="none">
|
|
<reference local="C_ACTIVITY_ID" foreign="C_ACTIVITY_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_RREQUESTACTION" onDelete="none">
|
|
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_INVOICE" name="CINVOICE_RREQUESTACTION" onDelete="none">
|
|
<reference local="C_INVOICE_ID" foreign="C_INVOICE_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_ORDER" name="CORDER_RREQUESTACTION" onDelete="none">
|
|
<reference local="C_ORDER_ID" foreign="C_ORDER_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_PAYMENT" name="CPAYMENT_RREQUESTACTION" onDelete="none">
|
|
<reference local="C_PAYMENT_ID" foreign="C_PAYMENT_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_PROJECT" name="CPROJECT_RREQUESTACTION" onDelete="none">
|
|
<reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="M_INOUT" name="MINOUT_MREQUESTACTION" onDelete="none">
|
|
<reference local="M_INOUT_ID" foreign="M_INOUT_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_RREQUESTACTION" onDelete="none">
|
|
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="M_RMA" name="MRMA_RREQUESTACTION" onDelete="none">
|
|
<reference local="M_RMA_ID" foreign="M_RMA_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="R_CATEGORY" name="RCATEGORY_RREQUESTACTION" onDelete="none">
|
|
<reference local="R_CATEGORY_ID" foreign="R_CATEGORY_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="R_GROUP" name="RGROUP_RREQUESTACTION" onDelete="none">
|
|
<reference local="R_GROUP_ID" foreign="R_GROUP_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="R_REQUEST" name="RREQUEST_RREQUESTACTION" onDelete="none">
|
|
<reference local="R_REQUEST_ID" foreign="R_REQUEST_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="R_REQUESTTYPE" name="RREQUESTTYPE_RREQUESTACTION" onDelete="none">
|
|
<reference local="R_REQUESTTYPE_ID" foreign="R_REQUESTTYPE_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="R_RESOLUTION" name="RRESOLUTION_RREQUESTACTION" onDelete="none">
|
|
<reference local="R_RESOLUTION_ID" foreign="R_RESOLUTION_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="R_STATUS" name="RSTATUS_RREQUESTACTION" onDelete="none">
|
|
<reference local="R_STATUS_ID" foreign="R_STATUS_ID"/>
|
|
</foreign-key>
|
|
<check>
|
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
|
</check>
|
|
</table>
|
|
</database>
|