* adempiere model files

This commit is contained in:
Heng Sin Low 2006-12-28 22:43:53 +00:00
parent 1338f548d2
commit 671962de19
23 changed files with 810 additions and 0 deletions

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="C_RECURRING">
<column name="C_RECURRING_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="RECURRINGTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="C_ORDER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_INVOICE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_PAYMENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_PROJECT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="GL_JOURNALBATCH_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="FREQUENCYTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="RUNSMAX" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
<column name="RUNSREMAINING" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
<column name="DATELASTRUN" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="DATENEXTRUN" 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="FREQUENCY" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
<foreign-key foreignTable="C_INVOICE" name="CINVOICE_CRECURRING">
<reference local="C_INVOICE_ID" foreign="C_INVOICE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ORDER" name="CORDER_CRECURRING">
<reference local="C_ORDER_ID" foreign="C_ORDER_ID"/>
</foreign-key>
<foreign-key foreignTable="C_PAYMENT" name="CPAYMENT_CRECURRING">
<reference local="C_PAYMENT_ID" foreign="C_PAYMENT_ID"/>
</foreign-key>
<foreign-key foreignTable="C_PROJECT" name="CPROJECT_CRECURRING">
<reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
</foreign-key>
<foreign-key foreignTable="GL_JOURNALBATCH" name="GLJOURNALBATCH_CRECURRING">
<reference local="GL_JOURNALBATCH_ID" foreign="GL_JOURNALBATCH_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="C_RECURRING_RUN">
<column name="C_RECURRING_RUN_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="C_PAYMENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_ORDER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_INVOICE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_PROJECT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="GL_JOURNALBATCH_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_RECURRING_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="DATEDOC" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<foreign-key foreignTable="C_INVOICE" name="CINVOICE_CRECURRINGRUN">
<reference local="C_INVOICE_ID" foreign="C_INVOICE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ORDER" name="CORDER_CRECURRINGRUN">
<reference local="C_ORDER_ID" foreign="C_ORDER_ID"/>
</foreign-key>
<foreign-key foreignTable="C_PAYMENT" name="CPAYMENT_CRECURRINGRUN">
<reference local="C_PAYMENT_ID" foreign="C_PAYMENT_ID"/>
</foreign-key>
<foreign-key foreignTable="C_PROJECT" name="CPROJECT_CRECURRINGRUN">
<reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
</foreign-key>
<foreign-key foreignTable="C_RECURRING" name="CRECURRING_CRECURRINGRUN">
<reference local="C_RECURRING_ID" foreign="C_RECURRING_ID"/>
</foreign-key>
<foreign-key foreignTable="GL_JOURNALBATCH" name="GLJOURNALBATCH_CRECURRINGRUN">
<reference local="GL_JOURNALBATCH_ID" foreign="GL_JOURNALBATCH_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive 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="C_REGION">
<column name="C_REGION_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_COUNTRY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISDEFAULT" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
<foreign-key foreignTable="AD_CLIENT" name="C_REGIONCLIENT">
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_ORG" name="C_REGIONORG">
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
</foreign-key>
<foreign-key foreignTable="C_COUNTRY" name="CCOUNTRY_CREGION">
<reference local="C_COUNTRY_ID" foreign="C_COUNTRY_ID"/>
</foreign-key>
<unique name="C_REGION_NAME">
<unique-column name="C_COUNTRY_ID"/>
<unique-column name="NAME"/>
</unique>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsDefault 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="C_REMUNERATION">
<column name="C_REMUNERATION_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="REMUNERATIONTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="STANDARDHOURS" primaryKey="false" required="true" type="INTEGER" default="0" autoIncrement="false"/>
<column name="GROSSRAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="GROSSRCOST" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="OVERTIMEAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="OVERTIMECOST" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<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="C_REVENUERECOGNITION">
<column name="C_REVENUERECOGNITION_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="ISTIMEBASED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="RECOGNITIONFREQUENCY" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="NOMONTHS" primaryKey="false" required="false" type="INTEGER" 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="C_REVENUERECOGNITION_PLAN">
<column name="C_REVENUERECOGNITION_PLAN_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="C_ACCTSCHEMA_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="C_REVENUERECOGNITION_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="C_INVOICELINE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="UNEARNEDREVENUE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="P_REVENUE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="C_CURRENCY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="TOTALAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="RECOGNIZEDAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_CREVRECPLAN">
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
</foreign-key>
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CREVENUERECPLAN">
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
</foreign-key>
<foreign-key foreignTable="C_INVOICELINE" name="CINVOICELINE_CREVENUERECPLAN">
<reference local="C_INVOICELINE_ID" foreign="C_INVOICELINE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_REVENUERECOGNITION" name="CREVENUERECOGNITION_PLAN">
<reference local="C_REVENUERECOGNITION_ID" foreign="C_REVENUERECOGNITION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PREVENUE_CREVENUERECOGNITIO">
<reference local="P_REVENUE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_UNEARNEDREVENUE_CREVENUEREC">
<reference local="UNEARNEDREVENUE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
</foreign-key>
<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="C_REVENUERECOGNITION_RUN">
<column name="C_REVENUERECOGNITION_RUN_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="C_REVENUERECOGNITION_PLAN_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="GL_JOURNAL_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="RECOGNIZEDAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<foreign-key foreignTable="C_REVENUERECOGNITION_PLAN" name="CREVRECPLAN_CREFRECRUN">
<reference local="C_REVENUERECOGNITION_PLAN_ID" foreign="C_REVENUERECOGNITION_PLAN_ID"/>
</foreign-key>
<foreign-key foreignTable="GL_JOURNAL" name="GLJOURNAL_CREVENUERECRUN">
<reference local="GL_JOURNAL_ID" foreign="GL_JOURNAL_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,85 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="C_RFQ">
<column name="C_RFQ_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_RFQ_TOPIC_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="C_CURRENCY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="DATERESPONSE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="ISRFQRESPONSEACCEPTED" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="DATEWORKSTART" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="DELIVERYDAYS" primaryKey="false" required="false" type="INTEGER" default="0" autoIncrement="false"/>
<column name="DATEWORKCOMPLETE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="QUOTETYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="ISQUOTETOTALAMT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISQUOTEALLQTY" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<column name="ISSELFSERVICE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISINVITEDVENDORSONLY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_BPARTNER_LOCATION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="AD_USER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="SALESREP_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="MARGIN" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
<column name="CREATESO" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="CREATEPO" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="PUBLISHRFQ" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="C_ORDER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="COPYLINES" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="RANKRFQ" primaryKey="false" required="false" type="CHAR" size="1" 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="DOCUMENTNO" primaryKey="false" required="true" type="VARCHAR" size="30" default="." autoIncrement="false"/>
<foreign-key foreignTable="AD_USER" name="ADUSERSALESREP_CRFQ">
<reference local="SALESREP_ID" foreign="AD_USER_ID"/>
</foreign-key>
<foreign-key foreignTable="AD_USER" name="ADUSER_CRFQ">
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
</foreign-key>
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CRFQ">
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
</foreign-key>
<foreign-key foreignTable="C_BPARTNER_LOCATION" name="CBPLOCATION_CRFQ">
<reference local="C_BPARTNER_LOCATION_ID" foreign="C_BPARTNER_LOCATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CRFQ">
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ORDER" name="CORDER_CRFQ">
<reference local="C_ORDER_ID" foreign="C_ORDER_ID"/>
</foreign-key>
<foreign-key foreignTable="C_RFQ_TOPIC" name="CRFQTOPIC_CRFQ">
<reference local="C_RFQ_TOPIC_ID" foreign="C_RFQ_TOPIC_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsRfQResponseAccepted in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsQuoteTotalAmt in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsQuoteAllQty in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsSelfService in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsInvitedVendorsOnly in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[Processed in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,35 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="C_RFQLINE">
<column name="C_RFQLINE_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="C_RFQ_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="LINE" primaryKey="false" required="true" type="INTEGER" default="0" autoIncrement="false"/>
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="M_ATTRIBUTESETINSTANCE_ID" primaryKey="false" required="false" type="ID" default="0" 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="DELIVERYDAYS" primaryKey="false" required="false" type="INTEGER" default="0" autoIncrement="false"/>
<column name="DATEWORKCOMPLETE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="DATEWORKSTART" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<foreign-key foreignTable="C_RFQ" name="CRFQ_CRFQLINE">
<reference local="C_RFQ_ID" foreign="C_RFQ_ID"/>
</foreign-key>
<foreign-key foreignTable="M_ATTRIBUTESETINSTANCE" name="MASETINSTANCE_CRFQLINE">
<reference local="M_ATTRIBUTESETINSTANCE_ID" foreign="M_ATTRIBUTESETINSTANCE_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_CRFQLINE">
<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,39 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="C_RFQLINEQTY">
<column name="C_RFQLINEQTY_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="C_RFQLINE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="C_UOM_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="QTY" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="MARGIN" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
<column name="ISPURCHASEQTY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="BESTRESPONSEAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="ISOFFERQTY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="OFFERAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="BENCHMARKPRICE" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="ISRFQQTY" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
<foreign-key foreignTable="C_RFQLINE" name="CRFQLINE_CRFQLINEQTY">
<reference local="C_RFQLINE_ID" foreign="C_RFQLINE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_UOM" name="CUOM_CRFQLINEQTY">
<reference local="C_UOM_ID" foreign="C_UOM_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsPurchaseQty in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsOfferQty in ('Y','N')]]></rule>
</check>
</table>
</database>

View File

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="C_RFQRESPONSE">
<column name="C_RFQRESPONSE_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="C_RFQ_ID" 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_BPARTNER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="C_BPARTNER_LOCATION_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_USER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="C_CURRENCY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="DATEINVITED" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="DATERESPONSE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="DATEWORKSTART" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="DELIVERYDAYS" primaryKey="false" required="false" type="INTEGER" default="0" autoIncrement="false"/>
<column name="DATEWORKCOMPLETE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="PRICE" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="ISSELFSERVICE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISCOMPLETE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISSELECTEDWINNER" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="RANKING" primaryKey="false" required="false" type="INTEGER" default="0" autoIncrement="false"/>
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="C_ORDER_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="CHECKCOMPLETE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<foreign-key foreignTable="AD_USER" name="ADUSER_CRFQRESPONSE">
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
</foreign-key>
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CRFQRESPONSE">
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
</foreign-key>
<foreign-key foreignTable="C_BPARTNER_LOCATION" name="CBPLOCATION_CRFQRESPONSE">
<reference local="C_BPARTNER_LOCATION_ID" foreign="C_BPARTNER_LOCATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CRFQRESPONSE">
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
</foreign-key>
<foreign-key foreignTable="C_ORDER" name="CORDER_CRFQRESPONSE">
<reference local="C_ORDER_ID" foreign="C_ORDER_ID"/>
</foreign-key>
<foreign-key foreignTable="C_RFQ" name="CRFQ_CRFQRESPONSE">
<reference local="C_RFQ_ID" foreign="C_RFQ_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsSelfService in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsComplete in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsSelectedWinner in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[Processed 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="C_RFQRESPONSELINE">
<column name="C_RFQRESPONSELINE_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="C_RFQLINE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="C_RFQRESPONSE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="ISSELFSERVICE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="ISSELECTEDWINNER" primaryKey="false" required="true" type="CHAR" size="1" default="N" 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="DATEWORKSTART" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="DELIVERYDAYS" primaryKey="false" required="false" type="INTEGER" default="0" autoIncrement="false"/>
<column name="DATEWORKCOMPLETE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
<foreign-key foreignTable="C_RFQLINE" name="CRFQLINE_CRFQRESPONSELINE">
<reference local="C_RFQLINE_ID" foreign="C_RFQLINE_ID"/>
</foreign-key>
<foreign-key foreignTable="C_RFQRESPONSE" name="CRFQRESPONSE_LINE">
<reference local="C_RFQRESPONSE_ID" foreign="C_RFQRESPONSE_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsSelfService in ('Y','N')]]></rule>
</check>
<check>
<rule><![CDATA[IsSelectedWinner 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="C_RFQRESPONSELINEQTY">
<column name="C_RFQRESPONSELINEQTY_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="C_RFQRESPONSELINE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="C_RFQLINEQTY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="PRICE" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
<column name="DISCOUNT" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
<column name="RANKING" primaryKey="false" required="false" type="INTEGER" default="0" autoIncrement="false"/>
<foreign-key foreignTable="C_RFQLINEQTY" name="CRFQLINEQTY_CRFQRESPLINEQTY">
<reference local="C_RFQLINEQTY_ID" foreign="C_RFQLINEQTY_ID"/>
</foreign-key>
<foreign-key foreignTable="C_RFQRESPONSELINE" name="CRFQRESONSELINE_QTY">
<reference local="C_RFQRESPONSELINE_ID" foreign="C_RFQRESPONSELINE_ID"/>
</foreign-key>
<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="C_RFQ_TOPIC">
<column name="C_RFQ_TOPIC_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="AD_PRINTFORMAT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="AD_PRINTFORMAT" name="ADPRINTFORMAT_ARFQTOPIC">
<reference local="AD_PRINTFORMAT_ID" foreign="AD_PRINTFORMAT_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,35 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="C_RFQ_TOPICSUBSCRIBER">
<column name="C_RFQ_TOPICSUBSCRIBER_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="C_RFQ_TOPIC_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="C_BPARTNER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="C_BPARTNER_LOCATION_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="AD_USER_ID" primaryKey="false" required="false" 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"/>
<foreign-key foreignTable="AD_USER" name="ADUSER_ARFQTOPICSUBCR">
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
</foreign-key>
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CRFQTOPICSUBR">
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
</foreign-key>
<foreign-key foreignTable="C_BPARTNER_LOCATION" name="CBPARTNERLOC_CRFQTOPICSUBR">
<reference local="C_BPARTNER_LOCATION_ID" foreign="C_BPARTNER_LOCATION_ID"/>
</foreign-key>
<foreign-key foreignTable="C_RFQ_TOPIC" name="C_RFQTOPIC_SUBSCRIBER">
<reference local="C_RFQ_TOPIC_ID" foreign="C_RFQ_TOPIC_ID"/>
</foreign-key>
<check>
<rule><![CDATA[IsActive 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="C_RFQ_TOPICSUBSCRIBERONLY">
<column name="C_RFQ_TOPICSUBSCRIBERONLY_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="C_RFQ_TOPICSUBSCRIBER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="M_PRODUCT_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="C_RFQ_TOPICSUBSCRIBER" name="CRFQTOPICSUBSCRIBER_ONLY">
<reference local="C_RFQ_TOPICSUBSCRIBER_ID" foreign="C_RFQ_TOPICSUBSCRIBER_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_CRFQTSUBONLY">
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCT_CATEGORY" name="MPRODCATEGORY_CRFQTSUBONLY">
<reference local="M_PRODUCT_CATEGORY_ID" foreign="M_PRODUCT_CATEGORY_ID"/>
</foreign-key>
<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="C_SALESREGION">
<column name="C_SALESREGION_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="ISSUMMARY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="SALESREP_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
<column name="ISDEFAULT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<unique name="C_SALESREGION_VALUE">
<unique-column name="AD_CLIENT_ID"/>
<unique-column name="VALUE"/>
</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="C_SERVICELEVEL">
<column name="C_SERVICELEVEL_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_PRODUCT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="SERVICELEVELPROVIDED" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
<column name="SERVICELEVELINVOICED" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
<column name="PROCESSED" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="C_REVENUERECOGNITION_PLAN_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="C_REVENUERECOGNITION_PLAN" name="CREVRECPLAN_CSERVICELEVEL">
<reference local="C_REVENUERECOGNITION_PLAN_ID" foreign="C_REVENUERECOGNITION_PLAN_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_CSERVICELEVEL">
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_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,28 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="C_SERVICELEVELLINE">
<column name="C_SERVICELEVELLINE_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="C_SERVICELEVEL_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
<column name="SERVICELEVELPROVIDED" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
<column name="SERVICEDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="PROCESSED" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
<foreign-key foreignTable="C_SERVICELEVEL" name="CSERVICELEVEL_LINE">
<reference local="C_SERVICELEVEL_ID" foreign="C_SERVICELEVEL_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,25 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="C_SUBACCT">
<column name="C_SUBACCT_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="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
<column name="C_ELEMENTVALUE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUE_CSUBACCT">
<reference local="C_ELEMENTVALUE_ID" foreign="C_ELEMENTVALUE_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="C_SUBSCRIPTION">
<column name="C_SUBSCRIPTION_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="C_BPARTNER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="M_PRODUCT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="C_SUBSCRIPTIONTYPE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<column name="STARTDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="PAIDUNTILDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
<column name="ISDUE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
<column name="RENEWALDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CSUBSCRIPTION">
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
</foreign-key>
<foreign-key foreignTable="C_SUBSCRIPTIONTYPE" name="CSUBSCRTYPE_CSUBSCRIPTION">
<reference local="C_SUBSCRIPTIONTYPE_ID" foreign="C_SUBSCRIPTIONTYPE_ID"/>
</foreign-key>
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_CSUBSCRIPTION">
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
</foreign-key>
</table>
</database>

View File

@ -0,0 +1,18 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="C_SUBSCRIPTIONTYPE">
<column name="C_SUBSCRIPTIONTYPE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
<column name="AD_CLIENT_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="FREQUENCYTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
<column name="FREQUENCY" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
<column name="AD_ORG_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
</table>
</database>

View File

@ -0,0 +1,18 @@
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
<database name="default" defaultIdMethod="none">
<table name="C_SUBSCRIPTION_DELIVERY">
<column name="C_SUBSCRIPTION_DELIVERY_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="C_SUBSCRIPTION_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
<foreign-key foreignTable="C_SUBSCRIPTION" name="CSUBCRIPTION_CSUBSCRDELIVERY">
<reference local="C_SUBSCRIPTION_ID" foreign="C_SUBSCRIPTION_ID"/>
</foreign-key>
</table>
</database>