* adempiere model files
This commit is contained in:
parent
4ba07377f3
commit
743f716ddb
|
@ -0,0 +1,97 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||||
|
<database name="default" defaultIdMethod="none">
|
||||||
|
<table name="I_BANKSTATEMENT">
|
||||||
|
<column name="I_BANKSTATEMENT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_CLIENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_ORG_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISACTIVE" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="CREATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="CREATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="UPDATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="UPDATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="I_ISIMPORTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="I_ERRORMSG" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||||
|
<column name="PROCESSED" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="C_BANKSTATEMENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="STATEMENTDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||||
|
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||||
|
<column name="C_BANKACCOUNT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ROUTINGNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="BANKACCOUNTNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="C_PAYMENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="PAYMENTDOCUMENTNO" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||||
|
<column name="C_CURRENCY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISO_CODE" primaryKey="false" required="false" type="CHAR" size="3" autoIncrement="false"/>
|
||||||
|
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="NAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="BPARTNERVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="C_INVOICE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="INVOICEDOCUMENTNO" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||||
|
<column name="C_CHARGE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="CHARGENAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="CHARGEAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="C_BANKSTATEMENTLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="LINE" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||||
|
<column name="DATEACCT" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||||
|
<column name="VALUTADATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||||
|
<column name="STATEMENTLINEDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||||
|
<column name="TRXTYPE" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="REFERENCENO" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="MEMO" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||||
|
<column name="ISREVERSAL" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="INTERESTAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="TRXAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="LINEDESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||||
|
<column name="STMTAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="EFTSTATEMENTDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||||
|
<column name="EFTSTATEMENTREFERENCE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="EFTSTATEMENTLINEDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||||
|
<column name="EFTVALUTADATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||||
|
<column name="EFTREFERENCE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="EFTCHECKNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="EFTTRXID" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="EFTTRXTYPE" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="EFTMEMO" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||||
|
<column name="EFTPAYEE" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||||
|
<column name="EFTPAYEEACCOUNT" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="EFTAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="EFTCURRENCY" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="CREATEPAYMENT" 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="MATCHSTATEMENT" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="C_BANKACCOUNT" name="CBANKACCOUNT_IBANKSTATEMENT">
|
||||||
|
<reference local="C_BANKACCOUNT_ID" foreign="C_BANKACCOUNT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_BANKSTATEMENT" name="CBANKSTATEMENT_IBANKSTATEMENT">
|
||||||
|
<reference local="C_BANKSTATEMENT_ID" foreign="C_BANKSTATEMENT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_BANKSTATEMENTLINE" name="CBANKSTMTLINE_IBANKSTMT">
|
||||||
|
<reference local="C_BANKSTATEMENTLINE_ID" foreign="C_BANKSTATEMENTLINE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_IBANKSTATEMENT">
|
||||||
|
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_CHARGE" name="CCHARGE_IBANKSTMT">
|
||||||
|
<reference local="C_CHARGE_ID" foreign="C_CHARGE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_IBANKSTATEMENT">
|
||||||
|
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_INVOICE" name="CINVOICE_IBANKSTATEMENT">
|
||||||
|
<reference local="C_INVOICE_ID" foreign="C_INVOICE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_PAYMENT" name="CPAYMENT_IBANKSTATEMENT">
|
||||||
|
<reference local="C_PAYMENT_ID" foreign="C_PAYMENT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[Processed in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsReversal in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -0,0 +1,80 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||||
|
<database name="default" defaultIdMethod="none">
|
||||||
|
<table name="I_BPARTNER">
|
||||||
|
<column name="I_BPARTNER_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_CLIENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_ORG_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISACTIVE" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="CREATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="CREATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="UPDATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="UPDATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="I_ISIMPORTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="I_ERRORMSG" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||||
|
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="VALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="NAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="NAME2" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||||
|
<column name="DUNS" primaryKey="false" required="false" type="CHAR" size="11" autoIncrement="false"/>
|
||||||
|
<column name="TAXID" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="NAICS" primaryKey="false" required="false" type="CHAR" size="6" autoIncrement="false"/>
|
||||||
|
<column name="GROUPVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="C_BP_GROUP_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="ADDRESS1" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="ADDRESS2" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="POSTAL" primaryKey="false" required="false" type="VARCHAR" size="10" autoIncrement="false"/>
|
||||||
|
<column name="POSTAL_ADD" primaryKey="false" required="false" type="VARCHAR" size="10" autoIncrement="false"/>
|
||||||
|
<column name="CITY" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="C_REGION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="REGIONNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="C_COUNTRY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="COUNTRYCODE" primaryKey="false" required="false" type="CHAR" size="2" autoIncrement="false"/>
|
||||||
|
<column name="TITLE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="CONTACTNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="CONTACTDESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||||
|
<column name="COMMENTS" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||||
|
<column name="PHONE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="PHONE2" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="FAX" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="EMAIL" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="PASSWORD" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="BIRTHDAY" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||||
|
<column name="C_GREETING_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="BPCONTACTGREETING" primaryKey="false" required="false" type="VARCHAR" size="60" 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="AD_USER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="R_INTERESTAREA_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="INTERESTAREANAME" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="AD_USER" name="ADUSER_IBPARTNER">
|
||||||
|
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_IBPARTNER">
|
||||||
|
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_BPARTNER_LOCATION" name="CBPARTNERLOCATION_IBPARTNER">
|
||||||
|
<reference local="C_BPARTNER_LOCATION_ID" foreign="C_BPARTNER_LOCATION_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_BP_GROUP" name="CBPGROUP_IBPARTNER">
|
||||||
|
<reference local="C_BP_GROUP_ID" foreign="C_BP_GROUP_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_COUNTRY" name="CCOUNTRY_IPARTNER">
|
||||||
|
<reference local="C_COUNTRY_ID" foreign="C_COUNTRY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_GREETING" name="CGREETING_IBPARTNER">
|
||||||
|
<reference local="C_GREETING_ID" foreign="C_GREETING_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_REGION" name="CREGION_IBPARTNER">
|
||||||
|
<reference local="C_REGION_ID" foreign="C_REGION_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[Processed in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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="I_CONVERSION_RATE">
|
||||||
|
<column name="I_CONVERSION_RATE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_CLIENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_ORG_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISACTIVE" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="CREATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="CREATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="UPDATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="UPDATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="C_CONVERSION_RATE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISO_CODE" primaryKey="false" required="false" type="CHAR" size="3" autoIncrement="false"/>
|
||||||
|
<column name="C_CURRENCY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISO_CODE_TO" primaryKey="false" required="false" type="CHAR" size="3" autoIncrement="false"/>
|
||||||
|
<column name="C_CURRENCY_ID_TO" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||||
|
<column name="CONVERSIONTYPEVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="C_CONVERSIONTYPE_ID" primaryKey="false" required="false" 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="MULTIPLYRATE" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
|
||||||
|
<column name="DIVIDERATE" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
|
||||||
|
<column name="CREATERECIPROCALRATE" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="I_ISIMPORTED" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="I_ERRORMSG" primaryKey="false" required="false" type="VARCHAR" size="2000" 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"/>
|
||||||
|
<foreign-key foreignTable="C_CONVERSIONTYPE" name="CCONVTYPE_ICONVRATE">
|
||||||
|
<reference local="C_CONVERSIONTYPE_ID" foreign="C_CONVERSIONTYPE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_CONVERSION_RATE" name="CCONVERSIONRATE_ICONVRATE">
|
||||||
|
<reference local="C_CONVERSION_RATE_ID" foreign="C_CONVERSION_RATE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_ICONVRATETO">
|
||||||
|
<reference local="C_CURRENCY_ID_TO" foreign="C_CURRENCY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_ICONVRATE">
|
||||||
|
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[CreateReciprocalRate in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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="I_ELEMENTVALUE">
|
||||||
|
<column name="I_ELEMENTVALUE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_CLIENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_ORG_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISACTIVE" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="CREATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="CREATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="UPDATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="UPDATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="I_ISIMPORTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="I_ERRORMSG" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||||
|
<column name="C_ELEMENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ELEMENTNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="C_ELEMENTVALUE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="VALUE" primaryKey="false" required="false" type="VARCHAR" size="40" 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"/>
|
||||||
|
<column name="ACCOUNTTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="ACCOUNTSIGN" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="ISDOCCONTROLLED" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="ISSUMMARY" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="PARENTVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="PARENTELEMENTVALUE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="POSTACTUAL" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="POSTBUDGET" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="POSTSTATISTICAL" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="POSTENCUMBRANCE" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="DEFAULT_ACCOUNT" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||||
|
<column name="AD_COLUMN_ID" primaryKey="false" required="false" type="ID" 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"/>
|
||||||
|
<foreign-key foreignTable="AD_COLUMN" name="ADCOLUMN_IELEMENTVALUE">
|
||||||
|
<reference local="AD_COLUMN_ID" foreign="AD_COLUMN_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_ELEMENT" name="CELEMENT_IELEMENTVALUE">
|
||||||
|
<reference local="C_ELEMENT_ID" foreign="C_ELEMENT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUE_IELEMENTVALUE">
|
||||||
|
<reference local="C_ELEMENTVALUE_ID" foreign="C_ELEMENTVALUE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_ELEMENTVALUE" name="CEVALUEPARENT_IELEMENTVALUE">
|
||||||
|
<reference local="PARENTELEMENTVALUE_ID" foreign="C_ELEMENTVALUE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsDocControlled in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[PostActual in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[PostBudget in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[PostStatistical in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[PostEncumbrance in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[Processed in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -0,0 +1,153 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||||
|
<database name="default" defaultIdMethod="none">
|
||||||
|
<table name="I_GLJOURNAL">
|
||||||
|
<column name="I_GLJOURNAL_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_CLIENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="CLIENTVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="AD_ORGDOC_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISACTIVE" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="CREATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="CREATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="UPDATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="UPDATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="I_ISIMPORTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="I_ERRORMSG" primaryKey="false" required="false" type="VARCHAR" size="2000" 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="GL_JOURNALBATCH_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="BATCHDOCUMENTNO" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||||
|
<column name="BATCHDESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||||
|
<column name="GL_JOURNAL_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="JOURNALDOCUMENTNO" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||||
|
<column name="POSTINGTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="C_ACCTSCHEMA_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ACCTSCHEMANAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="C_DOCTYPE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="DOCTYPENAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="GL_CATEGORY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="CATEGORYNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="C_PERIOD_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="GL_BUDGET_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="GL_JOURNALLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="LINE" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||||
|
<column name="DATEACCT" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||||
|
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||||
|
<column name="AMTSOURCEDR" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="AMTACCTDR" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="AMTSOURCECR" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="AMTACCTCR" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="C_CURRENCY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISO_CODE" primaryKey="false" required="false" type="CHAR" size="3" autoIncrement="false"/>
|
||||||
|
<column name="CONVERSIONTYPEVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="C_CONVERSIONTYPE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="CURRENCYRATE" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="C_UOM_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="QTY" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="C_VALIDCOMBINATION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ORGVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="AD_ORG_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ACCOUNT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ACCOUNTVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="AD_ORGTRX_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ORGTRXVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="PRODUCTVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="UPC" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||||
|
<column name="SKU" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||||
|
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="BPARTNERVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="C_PROJECT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="PROJECTVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="C_LOCTO_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="C_LOCFROM_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"/>
|
||||||
|
<column name="C_CAMPAIGN_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="USER1_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="USER2_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISCREATENEWBATCH" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="ISCREATENEWJOURNAL" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="AD_ORG" name="ADORGTRX_IGLJOURNAL">
|
||||||
|
<reference local="AD_ORGTRX_ID" foreign="AD_ORG_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="AD_ORG" name="ADORGDOC_IGLJOURNAL">
|
||||||
|
<reference local="AD_ORGDOC_ID" foreign="AD_ORG_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="AD_ORG" name="ADORG_IGLJOURNAL">
|
||||||
|
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_IGLJOURNAL">
|
||||||
|
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_ACTIVITY" name="CACTIVITY_GLJOURNAL">
|
||||||
|
<reference local="C_ACTIVITY_ID" foreign="C_ACTIVITY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_IGLJOURNAL">
|
||||||
|
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_CAMPAIGN" name="CCAMPAIGN_IGLJOURNAL">
|
||||||
|
<reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_CONVERSIONTYPE" name="CCONVERSIONTYPE_IGLJOURNAL">
|
||||||
|
<reference local="C_CONVERSIONTYPE_ID" foreign="C_CONVERSIONTYPE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_IGLJOURNAL">
|
||||||
|
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_DOCTYPE" name="CDOCTYPE_IGLJOURNAL">
|
||||||
|
<reference local="C_DOCTYPE_ID" foreign="C_DOCTYPE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELVALUEUSER2_IGLJOURNAL">
|
||||||
|
<reference local="USER2_ID" foreign="C_ELEMENTVALUE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELVALUEACCOUNT_IGLJOURNAL">
|
||||||
|
<reference local="ACCOUNT_ID" foreign="C_ELEMENTVALUE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_ELEMENTVALUE" name="CEVALUEUSER1_IGLJOURNAL">
|
||||||
|
<reference local="USER1_ID" foreign="C_ELEMENTVALUE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_LOCATION" name="CLOCTO_IGLJOURNAL">
|
||||||
|
<reference local="C_LOCTO_ID" foreign="C_LOCATION_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_LOCATION" name="CLOCFROM_IGLJOURNAL">
|
||||||
|
<reference local="C_LOCFROM_ID" foreign="C_LOCATION_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_PERIOD" name="CPERIOD_IGLJOURNAL">
|
||||||
|
<reference local="C_PERIOD_ID" foreign="C_PERIOD_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_PROJECT" name="CPROJECT_IGLJOURNAL">
|
||||||
|
<reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_SALESREGION" name="CSALESREGION_IGLJOURNAL">
|
||||||
|
<reference local="C_SALESREGION_ID" foreign="C_SALESREGION_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_VALIDCOMBINATION" name="CVALIDCOMBINATION_IGLJOURNAL">
|
||||||
|
<reference local="C_VALIDCOMBINATION_ID" foreign="C_VALIDCOMBINATION_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="GL_BUDGET" name="GLBUDGET_IGLJOURNAL">
|
||||||
|
<reference local="GL_BUDGET_ID" foreign="GL_BUDGET_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="GL_CATEGORY" name="GLCATEGORY_IGLJOURNAL">
|
||||||
|
<reference local="GL_CATEGORY_ID" foreign="GL_CATEGORY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="GL_JOURNAL" name="GLJOURNAL_IGLJOURNAL">
|
||||||
|
<reference local="GL_JOURNAL_ID" foreign="GL_JOURNAL_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="GL_JOURNALBATCH" name="GLJOURNALBATCH_IGLJOURNAL">
|
||||||
|
<reference local="GL_JOURNALBATCH_ID" foreign="GL_JOURNALBATCH_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="GL_JOURNALLINE" name="GLJOURBELLINE_IGLJOURNAL">
|
||||||
|
<reference local="GL_JOURNALLINE_ID" foreign="GL_JOURNALLINE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_OGLJOURNAL">
|
||||||
|
<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>
|
|
@ -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="I_INOUTLINECONFIRM">
|
||||||
|
<column name="I_INOUTLINECONFIRM_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="I_ISIMPORTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="I_ERRORMSG" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||||
|
<column name="M_INOUTLINECONFIRM_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="CONFIRMATIONNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||||
|
<column name="CONFIRMEDQTY" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="SCRAPPEDQTY" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="DIFFERENCEQTY" primaryKey="false" required="false" type="NUMERIC" default="0" 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="M_INOUTLINECONFIRM" name="MINOUTLINECONFIRM_IMPORT">
|
||||||
|
<reference local="M_INOUTLINECONFIRM_ID" foreign="M_INOUTLINECONFIRM_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[Processed in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -0,0 +1,57 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||||
|
<database name="default" defaultIdMethod="none">
|
||||||
|
<table name="I_INVENTORY">
|
||||||
|
<column name="I_INVENTORY_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_CLIENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_ORG_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISACTIVE" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="CREATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="CREATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="UPDATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="UPDATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="I_ISIMPORTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="I_ERRORMSG" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||||
|
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="UPC" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||||
|
<column name="VALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="LOT" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="SERNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="M_LOCATOR_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="M_WAREHOUSE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="WAREHOUSEVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="LOCATORVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="X" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="Y" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="Z" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="M_INVENTORY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="M_INVENTORYLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="QTYBOOK" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="QTYCOUNT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="MOVEMENTDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||||
|
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" 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"/>
|
||||||
|
<foreign-key foreignTable="M_INVENTORY" name="MINVENTORY_IINVENTORY">
|
||||||
|
<reference local="M_INVENTORY_ID" foreign="M_INVENTORY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_INVENTORYLINE" name="MINVENTORYLINE_IINVENTORY">
|
||||||
|
<reference local="M_INVENTORYLINE_ID" foreign="M_INVENTORYLINE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_LOCATOR" name="MLOCATOR_IINVENTORY">
|
||||||
|
<reference local="M_LOCATOR_ID" foreign="M_LOCATOR_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_IINVENTORY">
|
||||||
|
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_WAREHOUSE" name="MWAREHOUSE_IINVENTORY">
|
||||||
|
<reference local="M_WAREHOUSE_ID" foreign="M_WAREHOUSE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[Processed in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -0,0 +1,132 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||||
|
<database name="default" defaultIdMethod="none">
|
||||||
|
<table name="I_INVOICE">
|
||||||
|
<column name="I_INVOICE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_CLIENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_ORG_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_ORGTRX_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISACTIVE" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="CREATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="CREATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="UPDATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="UPDATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="I_ISIMPORTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="I_ERRORMSG" primaryKey="false" required="false" type="VARCHAR" size="2000" 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="M_PRICELIST_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="C_CURRENCY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="SALESREP_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISSOTRX" primaryKey="false" required="false" type="CHAR" size="1" default="Y" 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="BPARTNERVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="NAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="C_LOCATION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ADDRESS1" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="ADDRESS2" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="POSTAL" primaryKey="false" required="false" type="VARCHAR" size="10" autoIncrement="false"/>
|
||||||
|
<column name="CITY" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="C_REGION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="REGIONNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="AD_USER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="EMAIL" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="CONTACTNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="PHONE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="C_COUNTRY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="COUNTRYCODE" primaryKey="false" required="false" type="CHAR" size="2" autoIncrement="false"/>
|
||||||
|
<column name="C_DOCTYPE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="DOCTYPENAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="C_PAYMENTTERM_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="PAYMENTTERMVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="C_PROJECT_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_ACTIVITY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="C_INVOICE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="DOCUMENTNO" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||||
|
<column name="DATEINVOICED" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||||
|
<column name="DATEACCT" primaryKey="false" required="false" type="TIMESTAMP" size="7" 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="PRODUCTVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="UPC" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||||
|
<column name="SKU" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||||
|
<column name="C_TAX_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="TAXINDICATOR" primaryKey="false" required="false" type="VARCHAR" size="5" autoIncrement="false"/>
|
||||||
|
<column name="TAXAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="C_INVOICELINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="LINEDESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||||
|
<column name="QTYORDERED" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="PRICEACTUAL" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="AD_ORG" name="ADORGTRX_IINVOICE">
|
||||||
|
<reference local="AD_ORGTRX_ID" foreign="AD_ORG_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="AD_ORG" name="ADORG_IINVOICE">
|
||||||
|
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="AD_USER" name="ADUSERSALESREP_IINVOICE">
|
||||||
|
<reference local="SALESREP_ID" foreign="AD_USER_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="AD_USER" name="ADUSER_IINVOICE">
|
||||||
|
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_ACTIVITY" name="CACTIVITY_IINVOICE">
|
||||||
|
<reference local="C_ACTIVITY_ID" foreign="C_ACTIVITY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_IINVOICE">
|
||||||
|
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_BPARTNER_LOCATION" name="CBPLOCATION_IINVOICE">
|
||||||
|
<reference local="C_BPARTNER_LOCATION_ID" foreign="C_BPARTNER_LOCATION_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_CAMPAIGN" name="CCAMPAIGN_IINVOICE">
|
||||||
|
<reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_COUNTRY" name="CCOUNTRY_IINVOICE">
|
||||||
|
<reference local="C_COUNTRY_ID" foreign="C_COUNTRY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_IINVOICE">
|
||||||
|
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_DOCTYPE" name="CDOCTYPE_IINVOICE">
|
||||||
|
<reference local="C_DOCTYPE_ID" foreign="C_DOCTYPE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_INVOICE" name="CINVOICE_IINVOICE">
|
||||||
|
<reference local="C_INVOICE_ID" foreign="C_INVOICE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_INVOICELINE" name="CINVLICELINE_IINVOICE">
|
||||||
|
<reference local="C_INVOICELINE_ID" foreign="C_INVOICELINE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_LOCATION" name="CLOCATION_IINVOICE">
|
||||||
|
<reference local="C_LOCATION_ID" foreign="C_LOCATION_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_PAYMENTTERM" name="CPAYMENTTERM_IINVOICE">
|
||||||
|
<reference local="C_PAYMENTTERM_ID" foreign="C_PAYMENTTERM_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_PROJECT" name="CPROJECT_IINVOICE">
|
||||||
|
<reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_REGION" name="CREGION_IINVOICE">
|
||||||
|
<reference local="C_REGION_ID" foreign="C_REGION_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_TAX" name="CTAX_IINVOICE">
|
||||||
|
<reference local="C_TAX_ID" foreign="C_TAX_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_PRICELIST" name="MPRICELIST_IINVOICE">
|
||||||
|
<reference local="M_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_PRODUCT" name="NPRODUCT_IINVOICE">
|
||||||
|
<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>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsSOTrx in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -0,0 +1,149 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||||
|
<database name="default" defaultIdMethod="none">
|
||||||
|
<table name="I_ORDER">
|
||||||
|
<column name="I_ORDER_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_CLIENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_ORG_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_ORGTRX_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISACTIVE" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="CREATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="CREATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="UPDATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="UPDATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="I_ISIMPORTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="I_ERRORMSG" primaryKey="false" required="false" type="VARCHAR" size="2000" 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="SALESREP_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="M_WAREHOUSE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="M_PRICELIST_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="C_CURRENCY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="M_SHIPPER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISSOTRX" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="BPARTNERVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="NAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="C_BPARTNER_LOCATION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="BILLTO_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="C_LOCATION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ADDRESS1" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="ADDRESS2" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="POSTAL" primaryKey="false" required="false" type="VARCHAR" size="10" autoIncrement="false"/>
|
||||||
|
<column name="CITY" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="C_REGION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="REGIONNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="C_COUNTRY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="COUNTRYCODE" primaryKey="false" required="false" type="CHAR" size="2" autoIncrement="false"/>
|
||||||
|
<column name="AD_USER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="CONTACTNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="EMAIL" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="PHONE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="C_PROJECT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="C_ACTIVITY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="C_DOCTYPE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="DOCTYPENAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="C_PAYMENTTERM_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="PAYMENTTERMVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="C_ORDER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="DOCUMENTNO" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||||
|
<column name="DATEORDERED" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||||
|
<column name="DATEACCT" primaryKey="false" required="false" type="TIMESTAMP" size="7" 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="PRODUCTVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="UPC" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||||
|
<column name="SKU" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||||
|
<column name="C_TAX_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="TAXINDICATOR" primaryKey="false" required="false" type="VARCHAR" size="5" autoIncrement="false"/>
|
||||||
|
<column name="TAXAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="C_ORDERLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="LINEDESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||||
|
<column name="C_UOM_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="QTYORDERED" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="PRICEACTUAL" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="FREIGHTAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="C_CAMPAIGN_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="AD_ORG" name="ADORGTRX_IORDER">
|
||||||
|
<reference local="AD_ORGTRX_ID" foreign="AD_ORG_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="AD_ORG" name="ADORG_IORDER">
|
||||||
|
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="AD_USER" name="ADUSERSALESREP_IORDER">
|
||||||
|
<reference local="SALESREP_ID" foreign="AD_USER_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="AD_USER" name="ADUSER_IORDER">
|
||||||
|
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_ACTIVITY" name="CACTIVITY_IORDER">
|
||||||
|
<reference local="C_ACTIVITY_ID" foreign="C_ACTIVITY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_IORDER">
|
||||||
|
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_BPARTNER_LOCATION" name="CBPARTNERLOCBILLTO_IORDER">
|
||||||
|
<reference local="BILLTO_ID" foreign="C_BPARTNER_LOCATION_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_BPARTNER_LOCATION" name="CBOLOCATION_IORDER">
|
||||||
|
<reference local="C_BPARTNER_LOCATION_ID" foreign="C_BPARTNER_LOCATION_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_CAMPAIGN" name="CCAMPAIGN_IORDER">
|
||||||
|
<reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_COUNTRY" name="CCOUNTRY_IORDER">
|
||||||
|
<reference local="C_COUNTRY_ID" foreign="C_COUNTRY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_IORDER">
|
||||||
|
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_DOCTYPE" name="CDOCTYPE_IORDER">
|
||||||
|
<reference local="C_DOCTYPE_ID" foreign="C_DOCTYPE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_LOCATION" name="CLOCATION_IORDER">
|
||||||
|
<reference local="C_LOCATION_ID" foreign="C_LOCATION_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_ORDER" name="CORDER_IORDER">
|
||||||
|
<reference local="C_ORDER_ID" foreign="C_ORDER_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_ORDERLINE" name="CORDERLINE_IORDER">
|
||||||
|
<reference local="C_ORDERLINE_ID" foreign="C_ORDERLINE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_PAYMENTTERM" name="CPAYMENTTERM_IORDER">
|
||||||
|
<reference local="C_PAYMENTTERM_ID" foreign="C_PAYMENTTERM_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_PROJECT" name="CPROJECT_IORDER">
|
||||||
|
<reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_REGION" name="CREGION_IORDER">
|
||||||
|
<reference local="C_REGION_ID" foreign="C_REGION_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_TAX" name="CTAX_IORDER">
|
||||||
|
<reference local="C_TAX_ID" foreign="C_TAX_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_UOM" name="CUOM_IORDER">
|
||||||
|
<reference local="C_UOM_ID" foreign="C_UOM_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_PRICELIST" name="MPRICELIST_IORDER">
|
||||||
|
<reference local="M_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_IORDER">
|
||||||
|
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_SHIPPER" name="MSHIPPER_IORDER">
|
||||||
|
<reference local="M_SHIPPER_ID" foreign="M_SHIPPER_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_WAREHOUSE" name="MWAREHOUSE_IORDER">
|
||||||
|
<reference local="M_WAREHOUSE_ID" foreign="M_WAREHOUSE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[Processed in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsSOTrx in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -0,0 +1,113 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||||
|
<database name="default" defaultIdMethod="none">
|
||||||
|
<table name="I_PAYMENT">
|
||||||
|
<column name="I_PAYMENT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_CLIENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_ORG_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISACTIVE" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="CREATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="CREATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="UPDATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="UPDATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="I_ISIMPORTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="I_ERRORMSG" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||||
|
<column name="PROCESSED" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="C_PAYMENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="DOCUMENTNO" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||||
|
<column name="DATETRX" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||||
|
<column name="ISRECEIPT" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="C_DOCTYPE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="DOCTYPENAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="TRXTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="C_BANKACCOUNT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="BANKACCOUNTNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="BPARTNERVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="C_INVOICE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="INVOICEDOCUMENTNO" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||||
|
<column name="TENDERTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="CREDITCARDTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="CREDITCARDNUMBER" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="CREDITCARDVV" primaryKey="false" required="false" type="VARCHAR" size="4" autoIncrement="false"/>
|
||||||
|
<column name="CREDITCARDEXPMM" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||||
|
<column name="CREDITCARDEXPYY" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||||
|
<column name="MICR" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="ROUTINGNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="ACCOUNTNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="CHECKNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="A_NAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="A_STREET" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="A_CITY" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="A_STATE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="A_ZIP" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="A_COUNTRY" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="A_IDENT_DL" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="A_IDENT_SSN" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="A_EMAIL" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="VOICEAUTHCODE" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="SWIPE" primaryKey="false" required="false" type="VARCHAR" size="80" autoIncrement="false"/>
|
||||||
|
<column name="ORIG_TRXID" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="PONUM" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="C_CURRENCY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="PAYAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="DISCOUNTAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="WRITEOFFAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="ISOVERUNDERPAYMENT" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="OVERUNDERAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="C_CHARGE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="CHARGENAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="CHARGEAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="TAXAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="ISAPPROVED" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="ISSELFSERVICE" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="ISDELAYEDCAPTURE" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="R_PNREF" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="R_RESULT" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="R_RESPMSG" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="R_AUTHCODE" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||||
|
<column name="R_INFO" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||||
|
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="ISO_CODE" primaryKey="false" required="false" type="CHAR" size="3" autoIncrement="false"/>
|
||||||
|
<column name="DATEACCT" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="C_BANKACCOUNT" name="CBANKACCOUNT_IPAYMENT">
|
||||||
|
<reference local="C_BANKACCOUNT_ID" foreign="C_BANKACCOUNT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_IPAYMENT">
|
||||||
|
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_CHARGE" name="CCHARGE_IPAYMENT">
|
||||||
|
<reference local="C_CHARGE_ID" foreign="C_CHARGE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_DOCTYPE" name="CDOCTYPE_IPAYMENT">
|
||||||
|
<reference local="C_DOCTYPE_ID" foreign="C_DOCTYPE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_INVOICE" name="CINVOICE_IPAYMENT">
|
||||||
|
<reference local="C_INVOICE_ID" foreign="C_INVOICE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_PAYMENT" name="CPAYMENT_IPAYMENT">
|
||||||
|
<reference local="C_PAYMENT_ID" foreign="C_PAYMENT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[Processed in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsReceipt in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsOverUnderPayment in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsApproved in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsSelfService in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsDelayedCapture in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -0,0 +1,83 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||||
|
<database name="default" defaultIdMethod="none">
|
||||||
|
<table name="I_PRODUCT">
|
||||||
|
<column name="I_PRODUCT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_CLIENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_ORG_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISACTIVE" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="CREATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="CREATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="UPDATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="UPDATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="I_ISIMPORTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="I_ERRORMSG" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||||
|
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="VALUE" primaryKey="false" required="false" type="VARCHAR" size="40" 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"/>
|
||||||
|
<column name="DOCUMENTNOTE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||||
|
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||||
|
<column name="UPC" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||||
|
<column name="SKU" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||||
|
<column name="X12DE355" primaryKey="false" required="false" type="CHAR" size="2" autoIncrement="false"/>
|
||||||
|
<column name="C_UOM_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="PRODUCTCATEGORY_VALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="M_PRODUCT_CATEGORY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="PRODUCTTYPE" primaryKey="false" required="false" type="CHAR" size="1" default="I" autoIncrement="false"/>
|
||||||
|
<column name="CLASSIFICATION" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="VOLUME" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="WEIGHT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="SHELFWIDTH" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||||
|
<column name="SHELFHEIGHT" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||||
|
<column name="SHELFDEPTH" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||||
|
<column name="UNITSPERPALLET" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||||
|
<column name="DISCONTINUED" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="DISCONTINUEDBY" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||||
|
<column name="IMAGEURL" primaryKey="false" required="false" type="VARCHAR" size="120" autoIncrement="false"/>
|
||||||
|
<column name="DESCRIPTIONURL" primaryKey="false" required="false" type="VARCHAR" size="120" autoIncrement="false"/>
|
||||||
|
<column name="BPARTNER_VALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISO_CODE" primaryKey="false" required="false" type="CHAR" size="3" autoIncrement="false"/>
|
||||||
|
<column name="C_CURRENCY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="PRICELIST" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="PRICEPO" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="ROYALTYAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="PRICEEFFECTIVE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||||
|
<column name="VENDORPRODUCTNO" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||||
|
<column name="VENDORCATEGORY" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||||
|
<column name="MANUFACTURER" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||||
|
<column name="ORDER_MIN" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="ORDER_PACK" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="COSTPERORDER" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="DELIVERYTIME_PROMISED" primaryKey="false" required="false" type="INTEGER" 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="PRICESTD" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
|
||||||
|
<column name="PRICELIMIT" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_IPRODUCT">
|
||||||
|
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_IPRODUCT">
|
||||||
|
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_UOM" name="CUOM_IPRODUCT">
|
||||||
|
<reference local="C_UOM_ID" foreign="C_UOM_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_IPRODUCT">
|
||||||
|
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_PRODUCT_CATEGORY" name="MPRODUCTCATEGORY_IPRODUCT">
|
||||||
|
<reference local="M_PRODUCT_CATEGORY_ID" foreign="M_PRODUCT_CATEGORY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[Discontinued in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[Processed in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -0,0 +1,54 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||||
|
<database name="default" defaultIdMethod="none">
|
||||||
|
<table name="I_REPORTLINE">
|
||||||
|
<column name="I_REPORTLINE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_CLIENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_ORG_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISACTIVE" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="CREATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="CREATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="UPDATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="UPDATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="I_ISIMPORTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="I_ERRORMSG" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||||
|
<column name="REPORTLINESETNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="PA_REPORTLINESET_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="NAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="PA_REPORTLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||||
|
<column name="SEQNO" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||||
|
<column name="ISSUMMARY" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="ISPRINTED" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="LINETYPE" 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="POSTINGTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="PA_REPORTSOURCE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="C_ELEMENTVALUE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ELEMENTVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" 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"/>
|
||||||
|
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUE_IREPORTLINE">
|
||||||
|
<reference local="C_ELEMENTVALUE_ID" foreign="C_ELEMENTVALUE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="PA_REPORTLINE" name="PAREPORTLINE_IREPORTLINE">
|
||||||
|
<reference local="PA_REPORTLINE_ID" foreign="PA_REPORTLINE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="PA_REPORTLINESET" name="PAREPORTLINESET_IREPORTLINE">
|
||||||
|
<reference local="PA_REPORTLINESET_ID" foreign="PA_REPORTLINESET_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="PA_REPORTSOURCE" name="PAREPORTSOURCE_IREPORTLINE">
|
||||||
|
<reference local="PA_REPORTSOURCE_ID" foreign="PA_REPORTSOURCE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsPrinted in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[Processed in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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="K_CATEGORY">
|
||||||
|
<column name="K_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"/>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -0,0 +1,23 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||||
|
<database name="default" defaultIdMethod="none">
|
||||||
|
<table name="K_CATEGORYVALUE">
|
||||||
|
<column name="K_CATEGORYVALUE_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="K_CATEGORY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="K_CATEGORY" name="KCATEGORY_KCATEGORYVALUE">
|
||||||
|
<reference local="K_CATEGORY_ID" foreign="K_CATEGORY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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="K_COMMENT">
|
||||||
|
<column name="K_COMMENT_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="K_ENTRY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="RATING" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||||
|
<column name="ISPUBLIC" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="AD_SESSION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="TEXTMSG" primaryKey="false" required="true" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="AD_SESSION" name="ADSESSION_KCOMMENT">
|
||||||
|
<reference local="AD_SESSION_ID" foreign="AD_SESSION_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="K_ENTRY" name="KENTRY_KCOMMENT">
|
||||||
|
<reference local="K_ENTRY_ID" foreign="K_ENTRY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsPublic in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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="K_ENTRY">
|
||||||
|
<column name="K_ENTRY_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="K_TOPIC_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="RATING" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||||
|
<column name="ISPUBLIC" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="KEYWORDS" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||||
|
<column name="K_SOURCE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="DESCRIPTIONURL" primaryKey="false" required="false" type="VARCHAR" size="120" autoIncrement="false"/>
|
||||||
|
<column name="VALIDTO" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||||
|
<column name="AD_SESSION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="TEXTMSG" primaryKey="false" required="true" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="AD_SESSION" name="ADSESSION_KENTRY">
|
||||||
|
<reference local="AD_SESSION_ID" foreign="AD_SESSION_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="K_SOURCE" name="KSOURCE_KENTRY">
|
||||||
|
<reference local="K_SOURCE_ID" foreign="K_SOURCE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="K_TOPIC" name="KTOPIC_KENTRY">
|
||||||
|
<reference local="K_TOPIC_ID" foreign="K_TOPIC_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsPublic in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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="K_ENTRYCATEGORY">
|
||||||
|
<column name="K_CATEGORY_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="K_ENTRY_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="K_CATEGORYVALUE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="K_CATEGORY" name="KCATEGORY_KENTRYCATEGORY">
|
||||||
|
<reference local="K_CATEGORY_ID" foreign="K_CATEGORY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="K_CATEGORYVALUE" name="KCATEGORYVALUE_KENTRYCATEGORY">
|
||||||
|
<reference local="K_CATEGORYVALUE_ID" foreign="K_CATEGORYVALUE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="K_ENTRY" name="KENTRY_KENTRYCATALOG">
|
||||||
|
<reference local="K_ENTRY_ID" foreign="K_ENTRY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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="K_ENTRYRELATED">
|
||||||
|
<column name="K_ENTRY_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="K_ENTRYRELATED_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"/>
|
||||||
|
<foreign-key foreignTable="K_ENTRY" name="KENTRY_KENTRYRELATED">
|
||||||
|
<reference local="K_ENTRY_ID" foreign="K_ENTRY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="K_ENTRY" name="KENTRY_KENTRYRELATEDID">
|
||||||
|
<reference local="K_ENTRYRELATED_ID" foreign="K_ENTRY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -0,0 +1,41 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||||
|
<database name="default" defaultIdMethod="none">
|
||||||
|
<table name="K_INDEX">
|
||||||
|
<column name="K_INDEX_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="KEYWORD" primaryKey="false" required="true" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||||
|
<column name="EXCERPT" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||||
|
<column name="AD_TABLE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="RECORD_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="SOURCEUPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||||
|
<column name="CM_WEBPROJECT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="R_REQUESTTYPE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="C_DOCTYPE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="AD_TABLE" name="ADTABLE_KINDEX">
|
||||||
|
<reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="CM_WEBPROJECT" name="CMWEBPROJECT_KINDEX">
|
||||||
|
<reference local="CM_WEBPROJECT_ID" foreign="CM_WEBPROJECT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_DOCTYPE" name="CDOCTYPE_KINDEX">
|
||||||
|
<reference local="C_DOCTYPE_ID" foreign="C_DOCTYPE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="R_REQUESTTYPE" name="RREQUESTTYPE_KINDEX">
|
||||||
|
<reference local="R_REQUESTTYPE_ID" foreign="R_REQUESTTYPE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<index name="K_INDEX_KEYWORD">
|
||||||
|
<index-column name="AD_CLIENT_ID"/>
|
||||||
|
<index-column name="KEYWORD"/>
|
||||||
|
</index>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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="K_INDEXLOG">
|
||||||
|
<column name="K_INDEXLOG_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="INDEXQUERY" primaryKey="false" required="true" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||||
|
<column name="INDEXQUERYRESULT" primaryKey="false" required="true" type="INTEGER" default="0" autoIncrement="false"/>
|
||||||
|
<column name="QUERYSOURCE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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="K_INDEXSTOP">
|
||||||
|
<column name="K_INDEXSTOP_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="KEYWORD" primaryKey="false" required="true" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||||
|
<column name="ISMANUAL" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="CM_WEBPROJECT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="R_REQUESTTYPE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="C_DOCTYPE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="CM_WEBPROJECT" name="CMWEBPROJECT_KINDEXSTOP">
|
||||||
|
<reference local="CM_WEBPROJECT_ID" foreign="CM_WEBPROJECT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_DOCTYPE" name="CDOCTYPE_KINDEXSTOP">
|
||||||
|
<reference local="C_DOCTYPE_ID" foreign="C_DOCTYPE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="R_REQUESTTYPE" name="RREQUESTTYPE_KINDEXSTOP">
|
||||||
|
<reference local="R_REQUESTTYPE_ID" foreign="R_REQUESTTYPE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<index name="K_INDEXSTOP_KEYWORD">
|
||||||
|
<index-column name="AD_CLIENT_ID"/>
|
||||||
|
<index-column name="KEYWORD"/>
|
||||||
|
</index>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsManual in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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="K_SOURCE">
|
||||||
|
<column name="K_SOURCE_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="DESCRIPTIONURL" primaryKey="false" required="false" type="VARCHAR" size="120" autoIncrement="false"/>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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="K_SYNONYM">
|
||||||
|
<column name="K_SYNONYM_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="SYNONYMNAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||||
|
<column name="AD_LANGUAGE" primaryKey="false" required="true" type="VARCHAR" size="6" autoIncrement="false"/>
|
||||||
|
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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="K_TOPIC">
|
||||||
|
<column name="K_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="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||||
|
<column name="K_TYPE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISPUBLIC" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="ISPUBLICWRITE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="K_TYPE" name="KTYPE_KTOPIC">
|
||||||
|
<reference local="K_TYPE_ID" foreign="K_TYPE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsPublic in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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="K_TYPE">
|
||||||
|
<column name="K_TYPE_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="ISPUBLIC" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="ISPUBLICWRITE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsPublic in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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_ATTRIBUTE">
|
||||||
|
<column name="M_ATTRIBUTE_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="ISMANDATORY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="ISINSTANCEATTRIBUTE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="M_ATTRIBUTESEARCH_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ATTRIBUTEVALUETYPE" primaryKey="false" required="true" type="CHAR" size="1" default="S" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="M_ATTRIBUTESEARCH" name="MATTRIBUTESEARCH_MATTRIBUTE">
|
||||||
|
<reference local="M_ATTRIBUTESEARCH_ID" foreign="M_ATTRIBUTESEARCH_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsMandatory in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsInstanceAttribute in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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="M_ATTRIBUTEINSTANCE">
|
||||||
|
<column name="M_ATTRIBUTESETINSTANCE_ID" primaryKey="true" required="true" type="ID" default="0" autoIncrement="false"/>
|
||||||
|
<column name="M_ATTRIBUTE_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_ATTRIBUTEVALUE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="VALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="VALUENUMBER" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="M_ATTRIBUTE" name="MATTRIBUTE_MATTRIBUTEINST">
|
||||||
|
<reference local="M_ATTRIBUTE_ID" foreign="M_ATTRIBUTE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_ATTRIBUTESETINSTANCE" name="MATTRSETINST__MATTRINST">
|
||||||
|
<reference local="M_ATTRIBUTESETINSTANCE_ID" foreign="M_ATTRIBUTESETINSTANCE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_ATTRIBUTEVALUE" name="MATTRIBUTEVALUE_MATTRINST">
|
||||||
|
<reference local="M_ATTRIBUTEVALUE_ID" foreign="M_ATTRIBUTEVALUE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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="M_ATTRIBUTESEARCH">
|
||||||
|
<column name="M_ATTRIBUTESEARCH_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>
|
|
@ -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_ATTRIBUTESET">
|
||||||
|
<column name="M_ATTRIBUTESET_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="ISSERNO" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="M_SERNOCTL_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISLOT" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="M_LOTCTL_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISGUARANTEEDATE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="GUARANTEEDAYS" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||||
|
<column name="ISINSTANCEATTRIBUTE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="MANDATORYTYPE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="ISGUARANTEEDATEMANDATORY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="ISLOTMANDATORY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="ISSERNOMANDATORY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="SERNOCHARSOVERWRITE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="LOTCHARSOVERWRITE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="LOTCHAREOVERWRITE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="SERNOCHAREOVERWRITE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="M_LOTCTL" name="MLOTCTL_MATTRIBUTESET">
|
||||||
|
<reference local="M_LOTCTL_ID" foreign="M_LOTCTL_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_SERNOCTL" name="MSERNOCTL_ATTRIBUTESET">
|
||||||
|
<reference local="M_SERNOCTL_ID" foreign="M_SERNOCTL_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsSerNo in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsLot in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsGuaranteeDate in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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_ATTRIBUTESETEXCLUDE">
|
||||||
|
<column name="M_ATTRIBUTESETEXCLUDE_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_ATTRIBUTESET_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="Y" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="AD_TABLE" name="ADTABLE_MATTRIBUTESETEXCLUDE">
|
||||||
|
<reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_ATTRIBUTESET" name="MATTRIBUTESET_MASEXCLUDE">
|
||||||
|
<reference local="M_ATTRIBUTESET_ID" foreign="M_ATTRIBUTESET_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsSOTrx in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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_ATTRIBUTESETINSTANCE">
|
||||||
|
<column name="M_ATTRIBUTESETINSTANCE_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_ATTRIBUTESET_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="SERNO" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="LOT" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||||
|
<column name="GUARANTEEDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||||
|
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||||
|
<column name="M_LOT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="M_ATTRIBUTESET" name="MATTRIBUTESET_MATTRIBSETINST">
|
||||||
|
<reference local="M_ATTRIBUTESET_ID" foreign="M_ATTRIBUTESET_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_LOT" name="MLOT_MATTRIBUTESETINSTANCE">
|
||||||
|
<reference local="M_LOT_ID" foreign="M_LOT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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_ATTRIBUTEUSE">
|
||||||
|
<column name="M_ATTRIBUTE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="M_ATTRIBUTESET_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" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="M_ATTRIBUTE" name="MATTRIBUTE_MATTRIBUTEUSE">
|
||||||
|
<reference local="M_ATTRIBUTE_ID" foreign="M_ATTRIBUTE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_ATTRIBUTESET" name="MATTRIBUTESET_MATTRIBUTEUSE">
|
||||||
|
<reference local="M_ATTRIBUTESET_ID" foreign="M_ATTRIBUTESET_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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_ATTRIBUTEVALUE">
|
||||||
|
<column name="M_ATTRIBUTEVALUE_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_ATTRIBUTE_ID" 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"/>
|
||||||
|
<foreign-key foreignTable="M_ATTRIBUTE" name="MATTRIBUTE_MATTRIBUTEVALUE">
|
||||||
|
<reference local="M_ATTRIBUTE_ID" foreign="M_ATTRIBUTE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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="M_BOM">
|
||||||
|
<column name="M_BOM_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="M_CHANGENOTICE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="BOMTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="BOMUSE" primaryKey="false" required="true" type="CHAR" size="1" 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="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="M_CHANGENOTICE" name="MCN_MBOM">
|
||||||
|
<reference local="M_CHANGENOTICE_ID" foreign="M_CHANGENOTICE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MBOM">
|
||||||
|
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<unique name="M_BOM_PRODUCTVERSIONTYPE">
|
||||||
|
<unique-column name="M_PRODUCT_ID"/>
|
||||||
|
<unique-column name="M_CHANGENOTICE_ID"/>
|
||||||
|
</unique>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -0,0 +1,23 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||||
|
<database name="default" defaultIdMethod="none">
|
||||||
|
<table name="M_BOMALTERNATIVE">
|
||||||
|
<column name="M_BOMALTERNATIVE_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="M_PRODUCT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MBOMALTERNATIVE">
|
||||||
|
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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="M_BOMPRODUCT">
|
||||||
|
<column name="M_BOMPRODUCT_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" default="0" autoIncrement="false"/>
|
||||||
|
<column name="M_BOM_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="BOMPRODUCTTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="ISPHANTOM" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="M_PRODUCTBOM_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="M_CHANGENOTICE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="M_ATTRIBUTESETINSTANCE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="M_BOMALTERNATIVE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="BOMQTY" 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="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||||
|
<column name="M_PRODUCTOPERATION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="SEQNO" primaryKey="false" required="false" type="INTEGER" default="0" autoIncrement="false"/>
|
||||||
|
<column name="LEADTIMEOFFSET" primaryKey="false" required="true" type="INTEGER" default="0" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="M_ATTRIBUTESETINSTANCE" name="MASI_MBOMPRODUCT">
|
||||||
|
<reference local="M_ATTRIBUTESETINSTANCE_ID" foreign="M_ATTRIBUTESETINSTANCE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_BOM" name="MBOM_MBOMPRODUCT">
|
||||||
|
<reference local="M_BOM_ID" foreign="M_BOM_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_BOMALTERNATIVE" name="MBOMALTERNATIVE_MBOMPRODUCT">
|
||||||
|
<reference local="M_BOMALTERNATIVE_ID" foreign="M_BOMALTERNATIVE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_CHANGENOTICE" name="MCN_MBOMPRODUCT">
|
||||||
|
<reference local="M_CHANGENOTICE_ID" foreign="M_CHANGENOTICE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MBOMPRODUCT">
|
||||||
|
<reference local="M_PRODUCTBOM_ID" foreign="M_PRODUCT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_PRODUCTOPERATION" name="MPRODUCTOP_MBOMPRODUCT">
|
||||||
|
<reference local="M_PRODUCTOPERATION_ID" foreign="M_PRODUCTOPERATION_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsPhantom in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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_CHANGENOTICE">
|
||||||
|
<column name="M_CHANGENOTICE_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="DETAILINFO" primaryKey="false" required="false" type="CLOB" size="4000" 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="ISAPPROVED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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_CHANGEREQUEST">
|
||||||
|
<column name="M_CHANGEREQUEST_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_BOM_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="M_CHANGENOTICE_ID" primaryKey="false" required="false" 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="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||||
|
<column name="DETAILINFO" primaryKey="false" required="false" type="CLOB" size="4000" autoIncrement="false"/>
|
||||||
|
<column name="M_FIXCHANGENOTICE_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="ISAPPROVED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="M_BOM" name="MBOM_MCHANGEREQUEST">
|
||||||
|
<reference local="M_BOM_ID" foreign="M_BOM_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_CHANGENOTICE" name="MCN_MCR">
|
||||||
|
<reference local="M_CHANGENOTICE_ID" foreign="M_CHANGENOTICE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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_COST">
|
||||||
|
<column name="AD_CLIENT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="AD_ORG_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="M_PRODUCT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="M_COSTTYPE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="C_ACCTSCHEMA_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="M_COSTELEMENT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="M_ATTRIBUTESETINSTANCE_ID" primaryKey="true" 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="CURRENTCOSTPRICE" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
|
||||||
|
<column name="CURRENTQTY" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="CUMULATEDAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="CUMULATEDQTY" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="FUTURECOSTPRICE" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
|
||||||
|
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||||
|
<column name="PERCENT" primaryKey="false" required="false" type="INTEGER" default="0" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_MCOST">
|
||||||
|
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="AD_ORG" name="ADORG_M_COST">
|
||||||
|
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_MCOST">
|
||||||
|
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_ATTRIBUTESETINSTANCE" name="MASI_MCOST">
|
||||||
|
<reference local="M_ATTRIBUTESETINSTANCE_ID" foreign="M_ATTRIBUTESETINSTANCE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_COSTELEMENT" name="MCOSTELEMENT_MCOST">
|
||||||
|
<reference local="M_COSTELEMENT_ID" foreign="M_COSTELEMENT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_COSTTYPE" name="MCOSTTYPE_MCOST">
|
||||||
|
<reference local="M_COSTTYPE_ID" foreign="M_COSTTYPE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MCOST">
|
||||||
|
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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="M_COSTDETAIL">
|
||||||
|
<column name="M_COSTDETAIL_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="C_ACCTSCHEMA_ID" 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" 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_COSTELEMENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="C_ORDERLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="M_INOUTLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="C_INVOICELINE_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_INVENTORYLINE_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="ISSOTRX" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="AMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="QTY" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="DELTAAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="DELTAQTY" primaryKey="false" required="false" 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="AD_CLIENT" name="ADCLIENT_MCOSTDETAIL">
|
||||||
|
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="AD_ORG" name="ADORG_MCOSTDETAIL">
|
||||||
|
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_MCOSTDETAIL">
|
||||||
|
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_INVOICELINE" name="MINVOICELINE_MCOSTDETAIL">
|
||||||
|
<reference local="C_INVOICELINE_ID" foreign="C_INVOICELINE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_ORDERLINE" name="CORDERLINE_MCOSTDETAIL">
|
||||||
|
<reference local="C_ORDERLINE_ID" foreign="C_ORDERLINE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_PROJECTISSUE" name="CPROJECTISSUE_MCOSTDETAIL">
|
||||||
|
<reference local="C_PROJECTISSUE_ID" foreign="C_PROJECTISSUE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_ATTRIBUTESETINSTANCE" name="MASI_MCOSTDETAIL">
|
||||||
|
<reference local="M_ATTRIBUTESETINSTANCE_ID" foreign="M_ATTRIBUTESETINSTANCE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_COSTELEMENT" name="MCOSTELEMENT_MCOSTDETAIL">
|
||||||
|
<reference local="M_COSTELEMENT_ID" foreign="M_COSTELEMENT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_INOUTLINE" name="MINOUTLINE_MCOSTDETAIL">
|
||||||
|
<reference local="M_INOUTLINE_ID" foreign="M_INOUTLINE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_INVENTORYLINE" name="MINVENTORYLINE_MCOSTDETAIL">
|
||||||
|
<reference local="M_INVENTORYLINE_ID" foreign="M_INVENTORYLINE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_MOVEMENTLINE" name="MMOVEMENTLINE_MCOSTDETAIL">
|
||||||
|
<reference local="M_MOVEMENTLINE_ID" foreign="M_MOVEMENTLINE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MCOSTDETAIL">
|
||||||
|
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_PRODUCTIONLINE" name="MPRODUCTIONLINE_MCOSTDETAIL">
|
||||||
|
<reference local="M_PRODUCTIONLINE_ID" foreign="M_PRODUCTIONLINE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<index name="M_COSTDETAIL_PRODUCT">
|
||||||
|
<index-column name="AD_ORG_ID"/>
|
||||||
|
<index-column name="M_PRODUCT_ID"/>
|
||||||
|
<index-column name="M_ATTRIBUTESETINSTANCE_ID"/>
|
||||||
|
</index>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsSOTrx in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[Processed in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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_COSTELEMENT">
|
||||||
|
<column name="M_COSTELEMENT_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="COSTELEMENTTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="COSTINGMETHOD" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="ISCALCULATED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsCalculated in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -0,0 +1,44 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||||
|
<database name="default" defaultIdMethod="none">
|
||||||
|
<table name="M_COSTQUEUE">
|
||||||
|
<column name="M_COSTQUEUE_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_COSTTYPE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="C_ACCTSCHEMA_ID" 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" autoIncrement="false"/>
|
||||||
|
<column name="M_COSTELEMENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="CURRENTCOSTPRICE" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="CURRENTQTY" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_MCOSTQUEUE">
|
||||||
|
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_ATTRIBUTESETINSTANCE" name="MASI_MCOSTQUEUE">
|
||||||
|
<reference local="M_ATTRIBUTESETINSTANCE_ID" foreign="M_ATTRIBUTESETINSTANCE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_COSTELEMENT" name="MCOSTELEMENT_MCOSTQUEUE">
|
||||||
|
<reference local="M_COSTELEMENT_ID" foreign="M_COSTELEMENT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_COSTTYPE" name="MCOSTTYPE_MCOSTQUEUE">
|
||||||
|
<reference local="M_COSTTYPE_ID" foreign="M_COSTTYPE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MCOSTQUEUE">
|
||||||
|
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<index name="M_COSTQUEUE_PRODUCT">
|
||||||
|
<index-column name="C_ACCTSCHEMA_ID"/>
|
||||||
|
<index-column name="M_PRODUCT_ID"/>
|
||||||
|
<index-column name="M_COSTELEMENT_ID"/>
|
||||||
|
</index>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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_COSTTYPE">
|
||||||
|
<column name="M_COSTTYPE_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>
|
|
@ -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_DEMAND">
|
||||||
|
<column name="M_DEMAND_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="ISDEFAULT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<column name="C_CALENDAR_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="C_YEAR_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="C_CALENDAR" name="CCALENDAR_MDEMAND">
|
||||||
|
<reference local="C_CALENDAR_ID" foreign="C_CALENDAR_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_YEAR" name="CYEAR_MDEMAND">
|
||||||
|
<reference local="C_YEAR_ID" foreign="C_YEAR_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsDefault in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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_DEMANDDETAIL">
|
||||||
|
<column name="M_DEMANDDETAIL_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_DEMANDLINE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="M_FORECASTLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="M_REQUISITIONLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="C_ORDERLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="C_ORDERLINE" name="CORDERLINE_MDEMANDDETAIL">
|
||||||
|
<reference local="C_ORDERLINE_ID" foreign="C_ORDERLINE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_DEMANDLINE" name="MDEMANDLINE_MDEMANDDETAIL">
|
||||||
|
<reference local="M_DEMANDLINE_ID" foreign="M_DEMANDLINE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_FORECASTLINE" name="MFORECASTLINE_MDEMANDDETAIL">
|
||||||
|
<reference local="M_FORECASTLINE_ID" foreign="M_FORECASTLINE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_REQUISITIONLINE" name="MREQLINE_MDEMANDDETAIL">
|
||||||
|
<reference local="M_REQUISITIONLINE_ID" foreign="M_REQUISITIONLINE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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="M_DEMANDLINE">
|
||||||
|
<column name="M_DEMANDLINE_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_DEMAND_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="C_PERIOD_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="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="QTYCALCULATED" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="C_PERIOD" name="CPERIOD_MDEMANDLINE">
|
||||||
|
<reference local="C_PERIOD_ID" foreign="C_PERIOD_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_DEMAND" name="MDEMAND_MDEMANDLINE">
|
||||||
|
<reference local="M_DEMAND_ID" foreign="M_DEMAND_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MDEMANDLINE">
|
||||||
|
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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="M_DISCOUNTSCHEMA">
|
||||||
|
<column name="M_DISCOUNTSCHEMA_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="VALIDFROM" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||||
|
<column name="DISCOUNTTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="SCRIPT" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||||
|
<column name="FLATDISCOUNT" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
|
||||||
|
<column name="ISQUANTITYBASED" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||||
|
<column name="CUMULATIVELEVEL" 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="ISBPARTNERFLATDISCOUNT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsQuantityBased in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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_DISCOUNTSCHEMABREAK">
|
||||||
|
<column name="M_DISCOUNTSCHEMABREAK_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_DISCOUNTSCHEMA_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="SEQNO" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||||
|
<column name="BREAKVALUE" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
|
||||||
|
<column name="BREAKDISCOUNT" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
|
||||||
|
<column name="M_PRODUCT_CATEGORY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="ISBPARTNERFLATDISCOUNT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="M_DISCOUNTSCHEMA" name="MDISCOUNTS_MDSBREAK">
|
||||||
|
<reference local="M_DISCOUNTSCHEMA_ID" foreign="M_DISCOUNTSCHEMA_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MDISCOUNTSBREAK">
|
||||||
|
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_PRODUCT_CATEGORY" name="MPRODCATEGORY_MDISCOUNTSBREAK">
|
||||||
|
<reference local="M_PRODUCT_CATEGORY_ID" foreign="M_PRODUCT_CATEGORY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -0,0 +1,60 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||||
|
<database name="default" defaultIdMethod="none">
|
||||||
|
<table name="M_DISCOUNTSCHEMALINE">
|
||||||
|
<column name="M_DISCOUNTSCHEMALINE_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_DISCOUNTSCHEMA_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<column name="SEQNO" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||||
|
<column name="M_PRODUCT_CATEGORY_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="CONVERSIONDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||||
|
<column name="LIST_BASE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="LIST_ADDAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="LIST_DISCOUNT" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
|
||||||
|
<column name="LIST_ROUNDING" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="LIST_MINAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="LIST_MAXAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="LIST_FIXED" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="STD_BASE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="STD_ADDAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="STD_DISCOUNT" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
|
||||||
|
<column name="STD_ROUNDING" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="STD_MINAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="STD_MAXAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="STD_FIXED" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="LIMIT_BASE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="LIMIT_ADDAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="LIMIT_DISCOUNT" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
|
||||||
|
<column name="LIMIT_ROUNDING" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<column name="LIMIT_MINAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="LIMIT_MAXAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="LIMIT_FIXED" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||||
|
<column name="C_CONVERSIONTYPE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||||
|
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_MDISCOUNTSLINE">
|
||||||
|
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="C_CONVERSIONTYPE" name="CCONVERSIONTYPE_MDISCSCHLINE">
|
||||||
|
<reference local="C_CONVERSIONTYPE_ID" foreign="C_CONVERSIONTYPE_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_DISCOUNTSCHEMA" name="MDISCOUNTSCHEMA_MDSLINE">
|
||||||
|
<reference local="M_DISCOUNTSCHEMA_ID" foreign="M_DISCOUNTSCHEMA_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_MDISCOUNTSLINE">
|
||||||
|
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<foreign-key foreignTable="M_PRODUCT_CATEGORY" name="MPRODCATEGORY_MDISCOUNTSLINE">
|
||||||
|
<reference local="M_PRODUCT_CATEGORY_ID" foreign="M_PRODUCT_CATEGORY_ID"/>
|
||||||
|
</foreign-key>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
|
@ -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="M_DISTRIBUTIONLIST">
|
||||||
|
<column name="M_DISTRIBUTIONLIST_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="RATIOTOTAL" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
|
||||||
|
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||||
|
<check>
|
||||||
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||||
|
</check>
|
||||||
|
</table>
|
||||||
|
</database>
|
Loading…
Reference in New Issue