* adempiere model files
This commit is contained in:
parent
9e66106276
commit
691d33e998
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="B_BID">
|
||||
<column name="B_BID_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="B_TOPIC_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_USER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISWILLINGTOCOMMIT" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="B_BUYERFUNDS_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="TEXTMSG" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||
<column name="PRIVATENOTE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="B_BUYER" name="BBUYER_BBID">
|
||||
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="B_BUYERFUNDS" name="BBUYERFUNDS_BBID">
|
||||
<reference local="B_BUYERFUNDS_ID" foreign="B_BUYERFUNDS_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="B_TOPIC" name="BTOPIC_BBID">
|
||||
<reference local="B_TOPIC_ID" foreign="B_TOPIC_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsWillingToCommit in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="B_BIDCOMMENT">
|
||||
<column name="B_TOPIC_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_BIDCOMMENT_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="AD_USER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="TEXTMSG" primaryKey="false" required="true" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_USER" name="ADUSER_BIDCOMMENT">
|
||||
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="B_TOPIC" name="BTOPIC_BBIDCOMMENT">
|
||||
<reference local="B_TOPIC_ID" foreign="B_TOPIC_ID"/>
|
||||
</foreign-key>
|
||||
<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="B_BUYER">
|
||||
<column name="AD_USER_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="VALIDTO" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_USER" name="ADUSER_BBUYER">
|
||||
<reference local="AD_USER_ID" foreign="AD_USER_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="B_BUYERFUNDS">
|
||||
<column name="B_BUYERFUNDS_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="AD_USER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_ORDER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_PAYMENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="COMMITTEDAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="NONCOMMITTEDAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="B_BUYER" name="BBUYER_BBUYERFUNDS">
|
||||
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ORDER" name="CORDER_BBUYERSFUNDS">
|
||||
<reference local="C_ORDER_ID" foreign="C_ORDER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PAYMENT" name="CPAYMENT_BBUYERFUNDS">
|
||||
<reference local="C_PAYMENT_ID" foreign="C_PAYMENT_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="B_OFFER">
|
||||
<column name="B_OFFER_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="B_TOPIC_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_USER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISWILLINGTOCOMMIT" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="B_SELLERFUNDS_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="TEXTMSG" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||
<column name="PRIVATENOTE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="B_SELLER" name="BSELLER_BOFFER">
|
||||
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="B_SELLERFUNDS" name="BSELLERFUNDS_BOFFER">
|
||||
<reference local="B_SELLERFUNDS_ID" foreign="B_SELLERFUNDS_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="B_TOPIC" name="BTOPIC_BOFFER">
|
||||
<reference local="B_TOPIC_ID" foreign="B_TOPIC_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsWillingToCommit in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,27 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="B_SELLER">
|
||||
<column name="AD_USER_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="VALIDTO" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="ISINTERNAL" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_USER" name="ADUSER_BSELLER">
|
||||
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsInternal 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="B_SELLERFUNDS">
|
||||
<column name="B_SELLERFUNDS_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="AD_USER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_ORDER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_PAYMENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="COMMITTEDAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="NONCOMMITTEDAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="B_SELLER" name="BSELLER_BSELLERFUNDS">
|
||||
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ORDER" name="CORDER_BSELLERFUNDS">
|
||||
<reference local="C_ORDER_ID" foreign="C_ORDER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PAYMENT" name="CPAYMENT_BSELLERFUNDS">
|
||||
<reference local="C_PAYMENT_ID" foreign="C_PAYMENT_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,42 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="B_TOPIC">
|
||||
<column name="B_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="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="TEXTMSG" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||
<column name="TOPICSTATUS" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
|
||||
<column name="TOPICACTION" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
|
||||
<column name="ISPUBLISHED" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="TEXTDETAILS" 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="B_TOPICTYPE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_TOPICCATEGORY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="DECISIONDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="B_TOPICCATEGORY" name="BTOPICCATEGORY_BTOPIC">
|
||||
<reference local="B_TOPICCATEGORY_ID" foreign="B_TOPICCATEGORY_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="B_TOPICTYPE" name="BTOPICTYPE_BTOPIC">
|
||||
<reference local="B_TOPICTYPE_ID" foreign="B_TOPICTYPE_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsPublished in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[Processed 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="B_TOPICCATEGORY">
|
||||
<column name="B_TOPICCATEGORY_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="B_TOPICTYPE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="B_TOPICTYPE" name="BTOPICTYPE_BTOPICCATEGORY">
|
||||
<reference local="B_TOPICTYPE_ID" foreign="B_TOPICTYPE_ID"/>
|
||||
</foreign-key>
|
||||
<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="B_TOPICTYPE">
|
||||
<column name="B_TOPICTYPE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||
<column name="M_PRICELIST_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="M_PRODUCT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AUCTIONTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="M_PRODUCTMEMBER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="M_PRICELIST" name="MPRICELIST_BTOPICTYPE">
|
||||
<reference local="M_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_BTOPICTYPE">
|
||||
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_BTOPICTYPEMEMBER">
|
||||
<reference local="M_PRODUCTMEMBER_ID" foreign="M_PRODUCT_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive 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="C_ACCTPROCESSOR">
|
||||
<column name="C_ACCTPROCESSOR_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="FREQUENCYTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="FREQUENCY" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="DATELASTRUN" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="DATENEXTRUN" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="SUPERVISOR_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="KEEPLOGDAYS" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="PROCESSING" 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="AD_TABLE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_USER" name="ADUSER_CACCTPROCESSOR">
|
||||
<reference local="SUPERVISOR_ID" foreign="AD_USER_ID"/>
|
||||
</foreign-key>
|
||||
</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="C_ACCTPROCESSORLOG">
|
||||
<column name="C_ACCTPROCESSOR_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_ACCTPROCESSORLOG_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="ISERROR" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="SUMMARY" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||
<column name="REFERENCE" 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="TEXTMSG" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||
<column name="BINARYDATA" primaryKey="false" required="false" type="BLOB" size="4000" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_ACCTPROCESSOR" name="CACCTPROCESSOR_LOG">
|
||||
<reference local="C_ACCTPROCESSOR_ID" foreign="C_ACCTPROCESSOR_ID"/>
|
||||
</foreign-key>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,78 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_ACCTSCHEMA">
|
||||
<column name="C_ACCTSCHEMA_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="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="GAAP" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
|
||||
<column name="ISACCRUAL" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="COSTINGMETHOD" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="C_CURRENCY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AUTOPERIODCONTROL" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="C_PERIOD_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="PERIOD_OPENHISTORY" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="PERIOD_OPENFUTURE" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="SEPARATOR" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="HASALIAS" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="HASCOMBINATION" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="ISTRADEDISCOUNTPOSTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISDISCOUNTCORRECTSTAX" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="M_COSTTYPE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="COSTINGLEVEL" primaryKey="false" required="true" type="CHAR" size="1" default="C" autoIncrement="false"/>
|
||||
<column name="ISADJUSTCOGS" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="AD_ORGONLY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="ISPOSTSERVICES" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISEXPLICITCOSTADJUSTMENT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="COMMITMENTTYPE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="TAXCORRECTIONTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_CLIENT" name="AD_CLIENT_C_ACCTSCHEMA">
|
||||
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_ORG" name="AD_ORG_C_ACCTSCHEMA">
|
||||
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CURRENCY" name="C_CURRENCY_C_ACCTSCHEMA">
|
||||
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PERIOD" name="CPERIOD_CACCTSCHEMA">
|
||||
<reference local="C_PERIOD_ID" foreign="C_PERIOD_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_COSTTYPE" name="MCOSTTYPE_CACCTSCHEMA">
|
||||
<reference local="M_COSTTYPE_ID" foreign="M_COSTTYPE_ID"/>
|
||||
</foreign-key>
|
||||
<unique name="C_ACCTSCHEMA_NAME">
|
||||
<unique-column name="AD_CLIENT_ID"/>
|
||||
<unique-column name="NAME"/>
|
||||
</unique>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsAccrual in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[AutoPeriodControl in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[HasAlias in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[HasCombination in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsTradeDiscountPosted in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsDiscountCorrectsTax in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,252 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_ACCTSCHEMA_DEFAULT">
|
||||
<column name="C_ACCTSCHEMA_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="W_INVENTORY_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="W_INVACTUALADJUST_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="W_DIFFERENCES_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="W_REVALUATION_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="P_REVENUE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="P_EXPENSE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="P_ASSET_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="P_PURCHASEPRICEVARIANCE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="P_INVOICEPRICEVARIANCE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="P_TRADEDISCOUNTREC_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="P_TRADEDISCOUNTGRANT_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="P_COGS_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_RECEIVABLE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_PREPAYMENT_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="V_LIABILITY_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="V_LIABILITY_SERVICES_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="V_PREPAYMENT_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="PAYDISCOUNT_EXP_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="WRITEOFF_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="PAYDISCOUNT_REV_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UNREALIZEDGAIN_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UNREALIZEDLOSS_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="REALIZEDGAIN_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="REALIZEDLOSS_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="WITHHOLDING_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="E_PREPAYMENT_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="E_EXPENSE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="PJ_ASSET_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="PJ_WIP_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="T_EXPENSE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="T_LIABILITY_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="T_RECEIVABLES_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="T_DUE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="T_CREDIT_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_INTRANSIT_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_ASSET_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_EXPENSE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_INTERESTREV_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_INTERESTEXP_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_UNIDENTIFIED_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_UNALLOCATEDCASH_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_PAYMENTSELECT_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_SETTLEMENTGAIN_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_SETTLEMENTLOSS_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_REVALUATIONGAIN_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_REVALUATIONLOSS_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="CH_EXPENSE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="CH_REVENUE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UNEARNEDREVENUE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="NOTINVOICEDRECEIVABLES_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="NOTINVOICEDREVENUE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="NOTINVOICEDRECEIPTS_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="CB_ASSET_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="CB_CASHTRANSFER_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="CB_DIFFERENCES_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="CB_EXPENSE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="CB_RECEIPT_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="C_RECEIVABLE_SERVICES_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="P_INVENTORYCLEARING_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="P_COSTADJUSTMENT_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_DEFAULT">
|
||||
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_REALIZEDLOSS_CSCHEMADEFAULT">
|
||||
<reference local="REALIZEDLOSS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_TCREDIT_CSCHEMADEFAULT">
|
||||
<reference local="T_CREDIT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_TDUE_CSCHEMADEFAULT">
|
||||
<reference local="T_DUE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_TEXPENSE_CSCHEMADEFAULT">
|
||||
<reference local="T_EXPENSE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_TLIABILITY_CSCHEMADEFAULT">
|
||||
<reference local="T_LIABILITY_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_TREC_CSCHEMADEFAULT">
|
||||
<reference local="T_RECEIVABLES_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_UNEARNEDREVENUE_CSCHEMADEFA">
|
||||
<reference local="UNEARNEDREVENUE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_UNREALIZEDGAIN_CSCHEMADEFAU">
|
||||
<reference local="UNREALIZEDGAIN_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_UNREALIZEDLOSS_CSCHEMADEFAU">
|
||||
<reference local="UNREALIZEDLOSS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_VLIABILITYSERVICES_CSCHEMAD">
|
||||
<reference local="V_LIABILITY_SERVICES_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_VLIABILITY_CSCHEMADEFAULT">
|
||||
<reference local="V_LIABILITY_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_VPREPAYMENT_CSCHEMADEFAULT">
|
||||
<reference local="V_PREPAYMENT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_WDIFFERENCES_CSCHEMADEFAULT">
|
||||
<reference local="W_DIFFERENCES_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_WINVACTUALADJUST_CSCHEMADEF">
|
||||
<reference local="W_INVACTUALADJUST_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_WINVENTORY_CSCHEMADEFAULT">
|
||||
<reference local="W_INVENTORY_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_WITHHOLDING_CSCHEMADEFAULT">
|
||||
<reference local="WITHHOLDING_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_WREVALUATION_CSCHEMADEFAULT">
|
||||
<reference local="W_REVALUATION_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_WRITEOFF_CSCHEMADEFAULT">
|
||||
<reference local="WRITEOFF_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BASSET_CSCHEMADEFAULT">
|
||||
<reference local="B_ASSET_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BEXPENSE_CSCHEMADEFAULT">
|
||||
<reference local="B_EXPENSE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BINTERESTEXP_CSCHEMADEFAULT">
|
||||
<reference local="B_INTERESTEXP_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BINTERESTREV_CSCHEMADEFAULT">
|
||||
<reference local="B_INTERESTREV_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BINTRANSIT_CSCHEMADEFAULT">
|
||||
<reference local="B_INTRANSIT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BPAYMENTSELECT_CSCHEMADEFAU">
|
||||
<reference local="B_PAYMENTSELECT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BREVALUATIONGAIN_CSCHEMADEF">
|
||||
<reference local="B_REVALUATIONGAIN_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BREVALUATIONLOSS_CSCHEMADEF">
|
||||
<reference local="B_REVALUATIONLOSS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BSETTLEMENTGAIN_CSCHEMADEFA">
|
||||
<reference local="B_SETTLEMENTGAIN_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BSETTLEMENTLOSS_CSCHEMADEFA">
|
||||
<reference local="B_SETTLEMENTLOSS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BUNALLOCATEDCASH_CSCHEMADEF">
|
||||
<reference local="B_UNALLOCATEDCASH_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BUNIDENTIFIED_CSCHEMADEFAUL">
|
||||
<reference local="B_UNIDENTIFIED_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CBASSET_CSCHEMADEFAULT">
|
||||
<reference local="CB_ASSET_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CBCASHTRANSFER_CSCHEMADEFAU">
|
||||
<reference local="CB_CASHTRANSFER_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CBDIFFERENCES_CSCHEMADEFAUL">
|
||||
<reference local="CB_DIFFERENCES_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CBEXPENSE_CSCHEMADEFAULT">
|
||||
<reference local="CB_EXPENSE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CBRECEIPT_CSCHEMADEFAULT">
|
||||
<reference local="CB_RECEIPT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CHEXPENSE_CSCHEMADEFAULT">
|
||||
<reference local="CH_EXPENSE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CHREVENUE_CSCHEMADEFAULT">
|
||||
<reference local="CH_REVENUE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CPREPAYMENT_CSCHEMADEFAULT">
|
||||
<reference local="C_PREPAYMENT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CRECEIVABLE_CSCHEMADEFAULT">
|
||||
<reference local="C_RECEIVABLE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_EEXPENSE_CSCHEMADEFAULT">
|
||||
<reference local="E_EXPENSE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_EPREPAYMENT_CSCHEMADEFAULT">
|
||||
<reference local="E_PREPAYMENT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_NOTINVOICEDRECEIPTS_CSCHEMA">
|
||||
<reference local="NOTINVOICEDRECEIPTS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_NOTINVOICEDREC_CSCHEMADEFAU">
|
||||
<reference local="NOTINVOICEDRECEIVABLES_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_NOTINVOICEDREVENUE_CSCHEMAD">
|
||||
<reference local="NOTINVOICEDREVENUE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PASSET_CSCHEMADEFAULT">
|
||||
<reference local="P_ASSET_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PAYDISCOUNTEXP_CSCHEMADEFAU">
|
||||
<reference local="PAYDISCOUNT_EXP_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PAYDISCOUNTREV_CSCHEMADEFAU">
|
||||
<reference local="PAYDISCOUNT_REV_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PCOGS_CSCHEMADEFAULT">
|
||||
<reference local="P_COGS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PEXPENSE_CSCHEMADEFAULT">
|
||||
<reference local="P_EXPENSE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PINVOICEPV_CSCHEMADEFAULT">
|
||||
<reference local="P_INVOICEPRICEVARIANCE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PJASSET_CSCHEMADEFAULT">
|
||||
<reference local="PJ_ASSET_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PJWIP_CSCHEMADEFAULT">
|
||||
<reference local="PJ_WIP_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PPURCHASEPV_CSCHEMADEFAULT">
|
||||
<reference local="P_PURCHASEPRICEVARIANCE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PREVENUE_CSCHEMADEFAULT">
|
||||
<reference local="P_REVENUE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PTDISCOUNTGRANT_CSCHEMADEFA">
|
||||
<reference local="P_TRADEDISCOUNTGRANT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PTDISCOUNTREC_CSCHEMADEFAUL">
|
||||
<reference local="P_TRADEDISCOUNTREC_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_REALIZEDGAIN_CSCHEMADEFAULT">
|
||||
<reference local="REALIZEDGAIN_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,82 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_ACCTSCHEMA_ELEMENT">
|
||||
<column name="C_ACCTSCHEMA_ELEMENT_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="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_ACCTSCHEMA_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ELEMENTTYPE" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="SEQNO" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="C_ELEMENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISMANDATORY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISBALANCED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ORG_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_ELEMENTVALUE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_LOCATION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_SALESREGION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_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="AD_COLUMN_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_CASCHEMAELEMENT">
|
||||
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_ORG" name="ADORGID_C_ASCHEMAELEMENT">
|
||||
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_ORG" name="ADORG_CASCHEMAELEMENT">
|
||||
<reference local="ORG_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_CASCHEMAELEMENT">
|
||||
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ACTIVITY" name="CACTIVITY_CACCTSCHEMAELEMENT">
|
||||
<reference local="C_ACTIVITY_ID" foreign="C_ACTIVITY_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="CBUSPARTNER_CASCHEMAELEMENT">
|
||||
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CAMPAIGN" name="SOCAMPAIGN_CASCHEMAELEMENT">
|
||||
<reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ELEMENT" name="CELEMENT_CASCHEMAELEMENT">
|
||||
<reference local="C_ELEMENT_ID" foreign="C_ELEMENT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUE_CASCHEMAELEMENT">
|
||||
<reference local="C_ELEMENTVALUE_ID" foreign="C_ELEMENTVALUE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_LOCATION" name="CLOCATION_CASCHEMAELEMENT">
|
||||
<reference local="C_LOCATION_ID" foreign="C_LOCATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PROJECT" name="CPROJECT_CASCHEMAELEMENT">
|
||||
<reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_SALESREGION" name="CSALESREGION_CASCHEMAELEMENT">
|
||||
<reference local="C_SALESREGION_ID" foreign="C_SALESREGION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_CASCHEMAELEMENT">
|
||||
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
|
||||
</foreign-key>
|
||||
<index name="C_ACCTSCHEMA_ELEMENT_SCHEMA">
|
||||
<index-column name="C_ACCTSCHEMA_ID"/>
|
||||
</index>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsMandatory in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsBalanced in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,65 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_ACCTSCHEMA_GL">
|
||||
<column name="C_ACCTSCHEMA_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="USESUSPENSEBALANCING" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="SUSPENSEBALANCING_ACCT" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="USESUSPENSEERROR" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="SUSPENSEERROR_ACCT" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="USECURRENCYBALANCING" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CURRENCYBALANCING_ACCT" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="RETAINEDEARNING_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="INCOMESUMMARY_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="INTERCOMPANYDUETO_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="INTERCOMPANYDUEFROM_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="PPVOFFSET_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="COMMITMENTOFFSET_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_CACCTSCHEMAGL">
|
||||
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_INTERCOMPANYDUEFROM_CSCHEMA">
|
||||
<reference local="INTERCOMPANYDUEFROM_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_INTERCOMPANYDUETO_CSCHEMAGL">
|
||||
<reference local="INTERCOMPANYDUETO_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PPVOFFSET_CSCHEMAGL">
|
||||
<reference local="PPVOFFSET_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_SUSPENSEBALANCING_CSCHEMAGL">
|
||||
<reference local="SUSPENSEBALANCING_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_SUSPENSEERROR_CSCHEMAGL">
|
||||
<reference local="SUSPENSEERROR_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CURRENCYBALANCING_CSCHEMAGL">
|
||||
<reference local="CURRENCYBALANCING_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_INCOMESUMMARY_CSCHEMAGL">
|
||||
<reference local="INCOMESUMMARY_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_RETAINEDEARNING_CSCHEMAGL">
|
||||
<reference local="RETAINEDEARNING_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[UseSuspenseBalancing in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[UseSuspenseError in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[UseCurrencyBalancing in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_ACTIVITY">
|
||||
<column name="C_ACTIVITY_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="VALUE" primaryKey="false" required="true" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="ISSUMMARY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||
<unique name="C_ACTIVITY_VALUE">
|
||||
<unique-column name="AD_CLIENT_ID"/>
|
||||
<unique-column name="VALUE"/>
|
||||
</unique>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,42 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_ALLOCATIONHDR">
|
||||
<column name="C_ALLOCATIONHDR_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="DOCUMENTNO" primaryKey="false" required="true" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="DATETRX" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="DATEACCT" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="C_CURRENCY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="APPROVALAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="ISMANUAL" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="DOCSTATUS" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
|
||||
<column name="DOCACTION" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
|
||||
<column name="ISAPPROVED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="POSTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CALLOCATION">
|
||||
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsManual in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsApproved in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[Processed in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,58 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_ALLOCATIONLINE">
|
||||
<column name="C_ALLOCATIONLINE_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="ALLOCATIONNO" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="DATETRX" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="ISMANUAL" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="C_INVOICE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_ORDER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_PAYMENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_CASHLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="AMOUNT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="DISCOUNTAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="WRITEOFFAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="POSTED" 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_ALLOCATIONHDR_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_ALLOCATIONHDR" name="CALLOCATION_CALLOCATIONLINE">
|
||||
<reference local="C_ALLOCATIONHDR_ID" foreign="C_ALLOCATIONHDR_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CALLOCATIONLINE">
|
||||
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CASHLINE" name="CCASHLINE_CALLOCATIONLINE">
|
||||
<reference local="C_CASHLINE_ID" foreign="C_CASHLINE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_INVOICE" name="CINVOICE_CALLOCATIONLINE">
|
||||
<reference local="C_INVOICE_ID" foreign="C_INVOICE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ORDER" name="CORDER_CALLOCATION">
|
||||
<reference local="C_ORDER_ID" foreign="C_ORDER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PAYMENT" name="CPAYMENT_CALLOCATIONLINE">
|
||||
<reference local="C_PAYMENT_ID" foreign="C_PAYMENT_ID"/>
|
||||
</foreign-key>
|
||||
<index name="C_ALLOCATIONLINE_PAYMENT">
|
||||
<index-column name="C_PAYMENT_ID"/>
|
||||
</index>
|
||||
<index name="C_ALLOCATIONLINE_INVOICE">
|
||||
<index-column name="C_INVOICE_ID"/>
|
||||
</index>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsManual 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="C_BANK">
|
||||
<column name="C_BANK_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="ROUTINGNO" primaryKey="false" required="true" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="C_LOCATION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="SWIFTCODE" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="ISOWNBANK" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_LOCATION" name="CLOCATION_CBANK">
|
||||
<reference local="C_LOCATION_ID" foreign="C_LOCATION_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsOwnBank in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_BANKACCOUNT">
|
||||
<column name="C_BANKACCOUNT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_BANK_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_CURRENCY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="BANKACCOUNTTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="ACCOUNTNO" primaryKey="false" required="true" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="CURRENTBALANCE" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="CREDITLIMIT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="ISDEFAULT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="IBAN" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="BBAN" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_BANK" name="CBANK_CBANKACCOUNT">
|
||||
<reference local="C_BANK_ID" foreign="C_BANK_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CBANKACCOUNT">
|
||||
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||
</foreign-key>
|
||||
<index name="C_BANKACCT_BANK">
|
||||
<index-column name="C_BANK_ID"/>
|
||||
</index>
|
||||
<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="C_BANKACCOUNTDOC">
|
||||
<column name="C_BANKACCOUNTDOC_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_BANKACCOUNT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="PAYMENTRULE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="CURRENTNEXT" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="CHECK_PRINTFORMAT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_PRINTFORMAT" name="ADPRINTFORMAT_CBANKACCOUNTDOC">
|
||||
<reference local="CHECK_PRINTFORMAT_ID" foreign="AD_PRINTFORMAT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BANKACCOUNT" name="CBANKACCOUNT_CBADOC">
|
||||
<reference local="C_BANKACCOUNT_ID" foreign="C_BANKACCOUNT_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,72 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_BANKACCOUNT_ACCT">
|
||||
<column name="C_BANKACCOUNT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_ACCTSCHEMA_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_INTRANSIT_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_ASSET_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_EXPENSE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_INTERESTREV_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_INTERESTEXP_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_UNIDENTIFIED_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_UNALLOCATEDCASH_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_PAYMENTSELECT_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_SETTLEMENTGAIN_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_SETTLEMENTLOSS_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_REVALUATIONGAIN_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="B_REVALUATIONLOSS_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_CBANKACCOUNTACCT">
|
||||
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BANKACCOUNT" name="CBANKACCOUNT_CBANKACCTACCT">
|
||||
<reference local="C_BANKACCOUNT_ID" foreign="C_BANKACCOUNT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BPAYMENTSELECT_CBANKACCOUNT">
|
||||
<reference local="B_PAYMENTSELECT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BREVALUATIONGAIN_CBANKACCOU">
|
||||
<reference local="B_REVALUATIONGAIN_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BREVALUATIONLOSS_CBANKACCOU">
|
||||
<reference local="B_REVALUATIONLOSS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BSETTLEMENTLOSS_CBANKACCOUN">
|
||||
<reference local="B_SETTLEMENTLOSS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BUNALLOCATEDCASH_CBANKACCOU">
|
||||
<reference local="B_UNALLOCATEDCASH_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BUNIDENTIFIED_CBANKACCOUNT">
|
||||
<reference local="B_UNIDENTIFIED_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BASSET_CBANKACCOUNT">
|
||||
<reference local="B_ASSET_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BINTERESTEXP_CBANKACCOUNT">
|
||||
<reference local="B_INTERESTEXP_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BEXPENSE_CBANKACCOUNT">
|
||||
<reference local="B_EXPENSE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BINTRANSIT_CBANKACCOUNT">
|
||||
<reference local="B_INTRANSIT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BINTERESTREV_CBANKACCOUNT">
|
||||
<reference local="B_INTERESTREV_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_BSETTLEMENTGAIN_CBANKACCOUN">
|
||||
<reference local="B_SETTLEMENTGAIN_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,47 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_BANKSTATEMENT">
|
||||
<column name="C_BANKSTATEMENT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_BANKACCOUNT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="ISMANUAL" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="STATEMENTDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="BEGINNINGBALANCE" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="ENDINGBALANCE" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="STATEMENTDIFFERENCE" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="CREATEFROM" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="POSTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="EFTSTATEMENTREFERENCE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="EFTSTATEMENTDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="MATCHSTATEMENT" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="ISAPPROVED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="DOCSTATUS" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
|
||||
<column name="DOCACTION" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_BANKACCOUNT" name="CBANKACCOUNT_CBANKSTATEMENT">
|
||||
<reference local="C_BANKACCOUNT_ID" foreign="C_BANKACCOUNT_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsManual in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[CreateFrom in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[Processed in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,74 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_BANKSTATEMENTLINE">
|
||||
<column name="C_BANKSTATEMENTLINE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_BANKSTATEMENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="LINE" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="ISREVERSAL" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="C_PAYMENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="VALUTADATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="DATEACCT" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="C_CURRENCY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="TRXAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="STMTAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="C_CHARGE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="CHARGEAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="INTERESTAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="MEMO" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="REFERENCENO" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||
<column name="ISMANUAL" primaryKey="false" required="true" type="CHAR" size="1" default="N" 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="CREATEPAYMENT" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="STATEMENTLINEDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" 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="EFTCURRENCY" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="EFTAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="EFTCHECKNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="MATCHSTATEMENT" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_INVOICE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_BANKSTATEMENT" name="CBSTATEMENT_CBSTATEMENTLINE">
|
||||
<reference local="C_BANKSTATEMENT_ID" foreign="C_BANKSTATEMENT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CBANKSTATEMENTLINE">
|
||||
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CHARGE" name="CCHARGE_CBANKSTMTLIME">
|
||||
<reference local="C_CHARGE_ID" foreign="C_CHARGE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CBANKSTMTLINE">
|
||||
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_INVOICE" name="CINVOICE_CBANKSTATEMENTLINE">
|
||||
<reference local="C_INVOICE_ID" foreign="C_INVOICE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PAYMENT" name="CPAYMENT_CBANKSTMTLINE">
|
||||
<reference local="C_PAYMENT_ID" foreign="C_PAYMENT_ID"/>
|
||||
</foreign-key>
|
||||
<index name="C_BANKSTMTLINE_BANKSTMT">
|
||||
<index-column name="C_BANKSTATEMENT_ID"/>
|
||||
</index>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsReversal 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="C_BANKSTATEMENTLOADER">
|
||||
<column name="C_BANKSTATEMENTLOADER_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="C_BANKACCOUNT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="STMTLOADERCLASS" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="FINANCIALINSTITUTIONID" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="BRANCHID" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="USERID" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="PASSWORD" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="PIN" 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="HOSTADDRESS" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="HOSTPORT" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="PROXYADDRESS" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="PROXYPORT" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="PROXYLOGON" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="PROXYPASSWORD" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="FILENAME" primaryKey="false" required="false" type="VARCHAR" size="120" autoIncrement="false"/>
|
||||
<column name="DATELASTRUN" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="DATEFORMAT" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_BANKACCOUNT" name="CBANKACCT_CBANKSTMTLOADER">
|
||||
<reference local="C_BANKACCOUNT_ID" foreign="C_BANKACCOUNT_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_BANKSTATEMENTMATCHER">
|
||||
<column name="C_BANKSTATEMENTMATCHER_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="CLASSNAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="SEQNO" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,162 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_BPARTNER">
|
||||
<column name="C_BPARTNER_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="VALUE" primaryKey="false" required="true" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="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="ISSUMMARY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="C_BP_GROUP_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISONETIME" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISPROSPECT" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="ISVENDOR" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISCUSTOMER" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="ISEMPLOYEE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISSALESREP" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="REFERENCENO" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||
<column name="DUNS" primaryKey="false" required="false" type="CHAR" size="11" autoIncrement="false"/>
|
||||
<column name="URL" primaryKey="false" required="false" type="VARCHAR" size="120" autoIncrement="false"/>
|
||||
<column name="AD_LANGUAGE" primaryKey="false" required="false" type="VARCHAR" size="6" autoIncrement="false"/>
|
||||
<column name="TAXID" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="ISTAXEXEMPT" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="C_INVOICESCHEDULE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="RATING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="SALESVOLUME" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="NUMBEREMPLOYEES" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="NAICS" primaryKey="false" required="false" type="CHAR" size="6" autoIncrement="false"/>
|
||||
<column name="FIRSTSALE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="ACQUSITIONCOST" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="POTENTIALLIFETIMEVALUE" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="ACTUALLIFETIMEVALUE" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="SHAREOFCUSTOMER" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="PAYMENTRULE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="SO_CREDITLIMIT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="SO_CREDITUSED" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="C_PAYMENTTERM_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="M_PRICELIST_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="M_DISCOUNTSCHEMA_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_DUNNING_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="ISDISCOUNTPRINTED" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="SO_DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="POREFERENCE" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="PAYMENTRULEPO" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="PO_PRICELIST_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="PO_DISCOUNTSCHEMA_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="PO_PAYMENTTERM_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="DOCUMENTCOPIES" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="C_GREETING_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="INVOICERULE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="DELIVERYRULE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="FREIGHTCOSTRULE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="DELIVERYVIARULE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="SALESREP_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="SENDEMAIL" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="BPARTNER_PARENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="INVOICE_PRINTFORMAT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="SOCREDITSTATUS" primaryKey="false" required="false" type="CHAR" size="1" default="O" autoIncrement="false"/>
|
||||
<column name="SHELFLIFEMINPCT" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="AD_ORGBP_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="FLATDISCOUNT" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
|
||||
<column name="TOTALOPENBALANCE" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_CBPARTNER">
|
||||
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_LANGUAGE" name="AD_LANGUAGE_C_BUSPARTNER">
|
||||
<reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_ORG" name="ADORG_CBPARTNER">
|
||||
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_ORG" name="ADORG_CBPARTNERORG">
|
||||
<reference local="AD_ORGBP_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_PRINTFORMAT" name="ADPRINTFORMATINV_CBPARTNER">
|
||||
<reference local="INVOICE_PRINTFORMAT_ID" foreign="AD_PRINTFORMAT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_USER" name="ADUSERSALESREP_CBPARTNER">
|
||||
<reference local="SALESREP_ID" foreign="AD_USER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CPBARTNERPARENT">
|
||||
<reference local="BPARTNER_PARENT_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BP_GROUP" name="CBPGROUP_CBPARTNER">
|
||||
<reference local="C_BP_GROUP_ID" foreign="C_BP_GROUP_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_DUNNING" name="CDUNNING_CBPARTNER">
|
||||
<reference local="C_DUNNING_ID" foreign="C_DUNNING_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_GREETING" name="CGREETING_CBPARTNER">
|
||||
<reference local="C_GREETING_ID" foreign="C_GREETING_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_INVOICESCHEDULE" name="CINVOICESCHEDULE_CBPARTNER">
|
||||
<reference local="C_INVOICESCHEDULE_ID" foreign="C_INVOICESCHEDULE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PAYMENTTERM" name="CPOPAYMENTTERM_CBPARTNER">
|
||||
<reference local="PO_PAYMENTTERM_ID" foreign="C_PAYMENTTERM_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PAYMENTTERM" name="CPAYMENTTERM_CBPARTNER">
|
||||
<reference local="C_PAYMENTTERM_ID" foreign="C_PAYMENTTERM_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_DISCOUNTSCHEMA" name="MDISCOUNTSPO_CBPARTNER">
|
||||
<reference local="PO_DISCOUNTSCHEMA_ID" foreign="M_DISCOUNTSCHEMA_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_DISCOUNTSCHEMA" name="MDISCOUNTS_CBPARTNER">
|
||||
<reference local="M_DISCOUNTSCHEMA_ID" foreign="M_DISCOUNTSCHEMA_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_PRICELIST" name="MPRICELISTPO_CBUSPARTNER">
|
||||
<reference local="PO_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_PRICELIST" name="MPRICELIST_CBPARTNER">
|
||||
<reference local="M_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
|
||||
</foreign-key>
|
||||
<unique name="C_BPARTNER_VALUE">
|
||||
<unique-column name="AD_CLIENT_ID"/>
|
||||
<unique-column name="VALUE"/>
|
||||
</unique>
|
||||
<index name="C_BPARTNER_NAME">
|
||||
<index-column name="NAME"/>
|
||||
</index>
|
||||
<index name="C_BPARTNER_BPORG">
|
||||
<index-column name="AD_ORGBP_ID"/>
|
||||
</index>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsSummary in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsOneTime in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsProspect in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsVendor in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsCustomer in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsEmployee in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsSalesRep in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsTaxExempt in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsDiscountPrinted in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,62 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_BPARTNER_LOCATION">
|
||||
<column name="C_BPARTNER_LOCATION_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="ISBILLTO" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="ISSHIPTO" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="ISPAYFROM" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="ISREMITTO" primaryKey="false" required="true" type="CHAR" size="1" default="Y" 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="ISDN" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||
<column name="C_SALESREGION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_BPARTNER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_LOCATION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_CLIENT" name="C_BUSPARTNER_LOCATIONCLIENT">
|
||||
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_ORG" name="C_BUSPARTNER_LOCATIONORG">
|
||||
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CBPLOCATION">
|
||||
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_LOCATION" name="CLOCATION_CBPLOCATION">
|
||||
<reference local="C_LOCATION_ID" foreign="C_LOCATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_SALESREGION" name="CSALESREGION_BPARTNERLOCATION">
|
||||
<reference local="C_SALESREGION_ID" foreign="C_SALESREGION_ID"/>
|
||||
</foreign-key>
|
||||
<index name="C_BPLOCATION_BPARTNER">
|
||||
<index-column name="C_BPARTNER_ID"/>
|
||||
</index>
|
||||
<index name="C_BPLOCATION_UPDATED">
|
||||
<index-column name="UPDATED"/>
|
||||
</index>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsBillTo in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsShipTo in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsPayFrom in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsRemitTo 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="C_BPARTNER_PRODUCT">
|
||||
<column name="C_BPARTNER_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="M_PRODUCT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="SHELFLIFEMINPCT" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="SHELFLIFEMINDAYS" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="QUALITYRATING" primaryKey="false" required="false" type="NUMERIC" 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"/>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CBPPRODUCT">
|
||||
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_CBPPRODUCT">
|
||||
<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,56 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_BP_BANKACCOUNT">
|
||||
<column name="C_BP_BANKACCOUNT_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="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_BPARTNER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_BANK_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACH" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="BANKACCOUNTTYPE" primaryKey="false" required="false" type="CHAR" size="1" 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="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="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_IDENT_DL" 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="A_IDENT_SSN" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="R_AVSADDR" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="R_AVSZIP" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="A_COUNTRY" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||
<column name="AD_USER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="BPBANKACCTUSE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_USER" name="ADUSER_CBPBANKACCOUNT">
|
||||
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BANK" name="CBANK_CBPBANKACCOUNT">
|
||||
<reference local="C_BANK_ID" foreign="C_BANK_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CBPBANKACCOUNT">
|
||||
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<index name="C_BPBANKACCT_BPARTNER">
|
||||
<index-column name="C_BPARTNER_ID"/>
|
||||
</index>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsACH 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="C_BP_CUSTOMER_ACCT">
|
||||
<column name="C_BPARTNER_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_ACCTSCHEMA_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_RECEIVABLE_ACCT" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_PREPAYMENT_ACCT" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_RECEIVABLE_SERVICES_ACCT" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_CBPCUSTOMERACCT">
|
||||
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="CBUSPARTNER_CBPCUSTOMER_ACCT">
|
||||
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CPREPAYMENT_CBPCUSTOMER">
|
||||
<reference local="C_PREPAYMENT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CRECEIVABLE_CBPCUSTOMER">
|
||||
<reference local="C_RECEIVABLE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,63 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_BP_EDI">
|
||||
<column name="C_BP_EDI_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="C_BPARTNER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="M_WAREHOUSE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="EDITYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="ISAUDITED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="CUSTOMERNO" primaryKey="false" required="true" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="AD_SEQUENCE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="EMAIL_TO" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="EMAIL_FROM" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="EMAIL_FROM_UID" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="EMAIL_FROM_PWD" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="EMAIL_ERROR_TO" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="ISINFOSENT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="EMAIL_INFO_TO" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="SENDINQUIRY" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="RECEIVEINQUIRYREPLY" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="SENDORDER" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="RECEIVEORDERREPLY" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_SEQUENCE" name="ADSEQUENCE_CBPEDI">
|
||||
<reference local="AD_SEQUENCE_ID" foreign="AD_SEQUENCE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="C_BPARTNER_CBPEDI">
|
||||
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_WAREHOUSE" name="MWAREHOUSE_CBPEDI">
|
||||
<reference local="M_WAREHOUSE_ID" foreign="M_WAREHOUSE_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsAudited in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsInfoSent in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[SendInquiry in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[ReceiveInquiryReply in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[SendOrder in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[ReceiveOrderReply 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="C_BP_EMPLOYEE_ACCT">
|
||||
<column name="C_BPARTNER_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_ACCTSCHEMA_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="E_EXPENSE_ACCT" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="E_PREPAYMENT_ACCT" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_CBPEMPLOYEEACCT">
|
||||
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="CBUSPARTNER_C_BPEMPLOYEEACCT">
|
||||
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_EEXPENSE_CBPEMPLOYEE">
|
||||
<reference local="E_EXPENSE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_EPREPAYMENT_CBPEMPLOYEE">
|
||||
<reference local="E_PREPAYMENT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,47 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_BP_GROUP">
|
||||
<column name="C_BP_GROUP_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="VALUE" primaryKey="false" required="true" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="ISDEFAULT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="AD_PRINTCOLOR_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="ISCONFIDENTIALINFO" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="PRIORITYBASE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="M_PRICELIST_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="PO_PRICELIST_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="M_DISCOUNTSCHEMA_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="PO_DISCOUNTSCHEMA_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="CREDITWATCHPERCENT" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
|
||||
<column name="PRICEMATCHTOLERANCE" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
|
||||
<column name="C_DUNNING_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="M_DISCOUNTSCHEMA" name="MDISCOUNTSCHEMAPO_CBPGROUP">
|
||||
<reference local="PO_DISCOUNTSCHEMA_ID" foreign="M_DISCOUNTSCHEMA_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_DISCOUNTSCHEMA" name="MDISCOUNTSCHEMA_CBPGROUP">
|
||||
<reference local="M_DISCOUNTSCHEMA_ID" foreign="M_DISCOUNTSCHEMA_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_PRICELIST" name="MPRICELISTPO_CBPGROUP">
|
||||
<reference local="PO_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_PRICELIST" name="MPRICELIST_CBPGROUP">
|
||||
<reference local="M_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
|
||||
</foreign-key>
|
||||
<unique name="C_BP_GROUP_VALUE">
|
||||
<unique-column name="AD_CLIENT_ID"/>
|
||||
<unique-column name="VALUE"/>
|
||||
</unique>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,74 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_BP_GROUP_ACCT">
|
||||
<column name="C_ACCTSCHEMA_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_BP_GROUP_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_RECEIVABLE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_PREPAYMENT_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="V_LIABILITY_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="V_LIABILITY_SERVICES_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="V_PREPAYMENT_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="PAYDISCOUNT_EXP_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="PAYDISCOUNT_REV_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="WRITEOFF_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="NOTINVOICEDRECEIPTS_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UNEARNEDREVENUE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="NOTINVOICEDREVENUE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="NOTINVOICEDRECEIVABLES_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="C_RECEIVABLE_SERVICES_ACCT" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_CBPGROUPACCT">
|
||||
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BP_GROUP" name="CBPGROUP_CBPGROUPACCT">
|
||||
<reference local="C_BP_GROUP_ID" foreign="C_BP_GROUP_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_NOTINVOICEDREVENUE_CBPGROUP">
|
||||
<reference local="NOTINVOICEDREVENUE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PAYDISCOUNTEXP_CBPGROUP">
|
||||
<reference local="PAYDISCOUNT_EXP_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PAYDISCOUNTREV_CBPGROUP">
|
||||
<reference local="PAYDISCOUNT_REV_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_VLIABILITYSERVICES_CBPGROUP">
|
||||
<reference local="V_LIABILITY_SERVICES_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_VLIABILITY_CBPGROUP">
|
||||
<reference local="V_LIABILITY_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_VPREPAYMENT_CBPGROUP">
|
||||
<reference local="V_PREPAYMENT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_WRITEOFF_CBPGROUP">
|
||||
<reference local="WRITEOFF_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CRECEIVABLE_CBPGROUP">
|
||||
<reference local="C_RECEIVABLE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CPREPAYMENT_CBPGROUP">
|
||||
<reference local="C_PREPAYMENT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_NOTINVOICEDREC_CBPGROUP">
|
||||
<reference local="NOTINVOICEDRECEIVABLES_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_NOTINVOICEDRECEIPTS_CBPGROU">
|
||||
<reference local="NOTINVOICEDRECEIPTS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_UNEARNEDREVENUE_CBPGROUP">
|
||||
<reference local="UNEARNEDREVENUE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_BP_RELATION">
|
||||
<column name="C_BP_RELATION_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="C_BPARTNER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_BPARTNER_LOCATION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="ISSHIPTO" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISBILLTO" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISPAYFROM" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISREMITTO" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="C_BPARTNERRELATION_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_BPARTNERRELATION_LOCATION_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CBPRELATION">
|
||||
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CBPRELATIONBP">
|
||||
<reference local="C_BPARTNERRELATION_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER_LOCATION" name="CBPLOCATION_CBPRELATION">
|
||||
<reference local="C_BPARTNER_LOCATION_ID" foreign="C_BPARTNER_LOCATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER_LOCATION" name="CBPLOCATION_CBPRELATIONBP">
|
||||
<reference local="C_BPARTNERRELATION_LOCATION_ID" foreign="C_BPARTNER_LOCATION_ID"/>
|
||||
</foreign-key>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_BP_VENDOR_ACCT">
|
||||
<column name="C_ACCTSCHEMA_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_BPARTNER_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="V_LIABILITY_ACCT" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="V_LIABILITY_SERVICES_ACCT" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="V_PREPAYMENT_ACCT" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_CBPVENDORACCT">
|
||||
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="C_BUSPARTNER_C_BP_VENDOR_ACCT">
|
||||
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_VLIABILITYSERVICES_CBPVENDO">
|
||||
<reference local="V_LIABILITY_SERVICES_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_VPREPAYMENT_CBPVENDOR">
|
||||
<reference local="V_PREPAYMENT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_VLIABILITY_CBPVENDOR">
|
||||
<reference local="V_LIABILITY_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<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="C_BP_WITHHOLDING">
|
||||
<column name="C_BPARTNER_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_WITHHOLDING_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="ISMANDATORYWITHHOLDING" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISTEMPORARYEXEMPT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="EXEMPTREASON" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CBPWITHHOLDING">
|
||||
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_WITHHOLDING" name="CWITHHOLDING_CBPWITHHOLDING">
|
||||
<reference local="C_WITHHOLDING_ID" foreign="C_WITHHOLDING_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsMandatoryWithholding in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsTemporaryExempt 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="C_CALENDAR">
|
||||
<column name="C_CALENDAR_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"/>
|
||||
<foreign-key foreignTable="AD_CLIENT" name="C_CALENDARCLIENT">
|
||||
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_ORG" name="C_CALENDARORG">
|
||||
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<unique name="C_CALENDAR_NAME">
|
||||
<unique-column name="AD_CLIENT_ID"/>
|
||||
<unique-column name="NAME"/>
|
||||
</unique>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive 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="C_CAMPAIGN">
|
||||
<column name="C_CAMPAIGN_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="VALUE" primaryKey="false" required="true" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="C_CHANNEL_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="STARTDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="ENDDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="COSTS" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="ISSUMMARY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_CHANNEL" name="CCHANNEL_CCAMPAIGN">
|
||||
<reference local="C_CHANNEL_ID" foreign="C_CHANNEL_ID"/>
|
||||
</foreign-key>
|
||||
<unique name="C_CAMPAIGN_VALUE">
|
||||
<unique-column name="AD_CLIENT_ID"/>
|
||||
<unique-column name="VALUE"/>
|
||||
</unique>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,64 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_CASH">
|
||||
<column name="C_CASH_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_CASHBOOK_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="STATEMENTDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="DATEACCT" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="BEGINNINGBALANCE" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="ENDINGBALANCE" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="STATEMENTDIFFERENCE" 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"/>
|
||||
<column name="POSTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="AD_ORGTRX_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_PROJECT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_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="USER1_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="USER2_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="ISAPPROVED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="DOCSTATUS" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
|
||||
<column name="DOCACTION" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_ORG" name="ADORGTRX_CCASH">
|
||||
<reference local="AD_ORGTRX_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_ORG" name="ADORG_CCASH">
|
||||
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ACTIVITY" name="CACTIVITY_CCASH">
|
||||
<reference local="C_ACTIVITY_ID" foreign="C_ACTIVITY_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CAMPAIGN" name="CCAMPAIGN_CCASH">
|
||||
<reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CASHBOOK" name="CCASHBOOK_CCASH">
|
||||
<reference local="C_CASHBOOK_ID" foreign="C_CASHBOOK_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUEUSER1_CCASH">
|
||||
<reference local="USER1_ID" foreign="C_ELEMENTVALUE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUEUSER2_CCASH">
|
||||
<reference local="USER2_ID" foreign="C_ELEMENTVALUE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PROJECT" name="CPROJECT_CCASH">
|
||||
<reference local="C_PROJECT_ID" foreign="C_PROJECT_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,24 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_CASHBOOK">
|
||||
<column name="C_CASHBOOK_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="ISDEFAULT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="C_CURRENCY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CCASHBOOK">
|
||||
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive 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="C_CASHBOOK_ACCT">
|
||||
<column name="C_CASHBOOK_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_ACCTSCHEMA_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="CB_ASSET_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="CB_CASHTRANSFER_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="CB_DIFFERENCES_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="CB_EXPENSE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="CB_RECEIPT_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_CCASHBOOKACCT">
|
||||
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CASHBOOK" name="CCASHBOOK_CCASHBOOKACCT">
|
||||
<reference local="C_CASHBOOK_ID" foreign="C_CASHBOOK_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CBCASHTRANSFER_CCASHBOOK">
|
||||
<reference local="CB_CASHTRANSFER_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CBASSET_CCASHBOOK">
|
||||
<reference local="CB_ASSET_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CBEXPENSE_CCASHBOOK">
|
||||
<reference local="CB_EXPENSE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CBDIFFERENCES_CCASHBOOK">
|
||||
<reference local="CB_DIFFERENCES_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CBRECEIPT_CCASHBOOK">
|
||||
<reference local="CB_RECEIPT_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,51 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_CASHLINE">
|
||||
<column name="C_CASHLINE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_CASH_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="LINE" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="CASHTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="C_BANKACCOUNT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_CHARGE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_INVOICE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_CURRENCY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="AMOUNT" primaryKey="false" required="true" 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="ISGENERATED" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_BANKACCOUNT" name="CBANKACCT_CCASHLINE">
|
||||
<reference local="C_BANKACCOUNT_ID" foreign="C_BANKACCOUNT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CASH" name="CCASH_CCASHLINE">
|
||||
<reference local="C_CASH_ID" foreign="C_CASH_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CHARGE" name="CCHARGE_CCASHLINE">
|
||||
<reference local="C_CHARGE_ID" foreign="C_CHARGE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CCASHLINE">
|
||||
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_INVOICE" name="CINVOICE_CCASHLINE">
|
||||
<reference local="C_INVOICE_ID" foreign="C_INVOICE_ID"/>
|
||||
</foreign-key>
|
||||
<index name="C_CASHLINE_CASH">
|
||||
<index-column name="C_CASH_ID"/>
|
||||
</index>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsGenerated 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="C_CHANNEL">
|
||||
<column name="C_CHANNEL_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="AD_PRINTCOLOR_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<unique name="C_CHANNEL_NAME">
|
||||
<unique-column name="AD_CLIENT_ID"/>
|
||||
<unique-column name="NAME"/>
|
||||
</unique>
|
||||
<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="C_CHARGE">
|
||||
<column name="C_CHARGE_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="CHARGEAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="ISSAMETAX" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISSAMECURRENCY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="C_TAXCATEGORY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="ISTAXINCLUDED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_TAXCATEGORY" name="CTAXCATEGORY_CCHARGE">
|
||||
<reference local="C_TAXCATEGORY_ID" foreign="C_TAXCATEGORY_ID"/>
|
||||
</foreign-key>
|
||||
<unique name="C_CHARGE_NAME">
|
||||
<unique-column name="AD_CLIENT_ID"/>
|
||||
<unique-column name="NAME"/>
|
||||
</unique>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsSameTax in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsSameCurrency 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="C_CHARGE_ACCT">
|
||||
<column name="C_CHARGE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_ACCTSCHEMA_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="CH_EXPENSE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="CH_REVENUE_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_CCHARGEACCT">
|
||||
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CHARGE" name="CCHRAGE_CCHARGEACCT">
|
||||
<reference local="C_CHARGE_ID" foreign="C_CHARGE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CHEXPENSE_CCHARGE">
|
||||
<reference local="CH_EXPENSE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_CHREVENUE_CCHARGE">
|
||||
<reference local="CH_REVENUE_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,36 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_CITY">
|
||||
<column name="C_CITY_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="LOCODE" primaryKey="false" required="false" type="VARCHAR" size="10" autoIncrement="false"/>
|
||||
<column name="COORDINATES" primaryKey="false" required="false" type="VARCHAR" size="15" autoIncrement="false"/>
|
||||
<column name="POSTAL" primaryKey="false" required="false" type="VARCHAR" size="10" autoIncrement="false"/>
|
||||
<column name="AREACODE" primaryKey="false" required="false" type="VARCHAR" size="10" autoIncrement="false"/>
|
||||
<column name="C_COUNTRY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_REGION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_CLIENT" name="C_CITYCLIENT">
|
||||
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_ORG" name="C_CITYORG">
|
||||
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_COUNTRY" name="CCOUNTRY_CCITY">
|
||||
<reference local="C_COUNTRY_ID" foreign="C_COUNTRY_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_REGION" name="CREGION_CCITY">
|
||||
<reference local="C_REGION_ID" foreign="C_REGION_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,43 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_COMMISSION">
|
||||
<column name="C_COMMISSION_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="C_BPARTNER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_CURRENCY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="FREQUENCYTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="DOCBASISTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="LISTDETAILS" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="DATELASTRUN" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="CREATEFROM" 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="C_CHARGE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CCOMMISSION">
|
||||
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CHARGE" name="CCHARGE_CCOMMISSION">
|
||||
<reference local="C_CHARGE_ID" foreign="C_CHARGE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CCOMMISSION">
|
||||
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[ListDetails in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[CreateFrom in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_COMMISSIONAMT">
|
||||
<column name="C_COMMISSIONAMT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_COMMISSIONRUN_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_COMMISSIONLINE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="CONVERTEDAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="ACTUALQTY" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="COMMISSIONAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_COMMISSIONLINE" name="CCOMLINE_CCOMAMT">
|
||||
<reference local="C_COMMISSIONLINE_ID" foreign="C_COMMISSIONLINE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_COMMISSIONRUN" name="CCOMMENTRUN_CCOMMISSIONAMT">
|
||||
<reference local="C_COMMISSIONRUN_ID" foreign="C_COMMISSIONRUN_ID"/>
|
||||
</foreign-key>
|
||||
<index name="C_COMMISSIONAMT_COMLINE">
|
||||
<index-column name="C_COMMISSIONLINE_ID"/>
|
||||
</index>
|
||||
<index name="C_COMMISSIONAMT_RUN">
|
||||
<index-column name="C_COMMISSIONRUN_ID"/>
|
||||
</index>
|
||||
<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="C_COMMISSIONDETAIL">
|
||||
<column name="C_COMMISSIONDETAIL_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_COMMISSIONAMT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="REFERENCE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="C_ORDERLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_INVOICELINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="INFO" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="C_CURRENCY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ACTUALAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="CONVERTEDAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="ACTUALQTY" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_COMMISSIONAMT" name="CCOMMISSIONAMT_CCOMDETAIL">
|
||||
<reference local="C_COMMISSIONAMT_ID" foreign="C_COMMISSIONAMT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CCOMMISSIONDETAIL">
|
||||
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_INVOICELINE" name="CINVOICELINE_CCOMMISSIONDET">
|
||||
<reference local="C_INVOICELINE_ID" foreign="C_INVOICELINE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ORDERLINE" name="CORDERLINE_CCOMMISSIONDETAIL">
|
||||
<reference local="C_ORDERLINE_ID" foreign="C_ORDERLINE_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,62 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_COMMISSIONLINE">
|
||||
<column name="C_COMMISSIONLINE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_COMMISSION_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="LINE" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="AMTSUBTRACT" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
|
||||
<column name="AMTMULTIPLIER" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
|
||||
<column name="QTYSUBTRACT" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
|
||||
<column name="QTYMULTIPLIER" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
|
||||
<column name="ISPOSITIVEONLY" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="COMMISSIONORDERS" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ORG_ID" primaryKey="false" required="false" type="ID" 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="C_BP_GROUP_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_SALESREGION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_ORG" name="ADORGTRX_CCOMMISSIONLINE">
|
||||
<reference local="ORG_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CCOMMISSIONLINE">
|
||||
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BP_GROUP" name="CBPGROUP_COMMISSIONLINE">
|
||||
<reference local="C_BP_GROUP_ID" foreign="C_BP_GROUP_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_COMMISSION" name="CCOMMISSION_CCOMMISSIONLINE">
|
||||
<reference local="C_COMMISSION_ID" foreign="C_COMMISSION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_SALESREGION" name="CSALESREGION_CCOMMISSIONLINE">
|
||||
<reference local="C_SALESREGION_ID" foreign="C_SALESREGION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_CCOMMISSIONLINE">
|
||||
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_PRODUCT_CATEGORY" name="MPRODUCTCAT_CCOMMISSIONLINE">
|
||||
<reference local="M_PRODUCT_CATEGORY_ID" foreign="M_PRODUCT_CATEGORY_ID"/>
|
||||
</foreign-key>
|
||||
<index name="C_COMMISSIONLINE_COMMISSION">
|
||||
<index-column name="C_COMMISSION_ID"/>
|
||||
</index>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsPositiveOnly in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[CommissionOrders 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="C_COMMISSIONRUN">
|
||||
<column name="C_COMMISSIONRUN_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="DOCUMENTNO" primaryKey="false" required="true" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="C_COMMISSION_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="STARTDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="GRANDTOTAL" primaryKey="false" required="true" 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="C_COMMISSION" name="CCOMMISSION_CCOMMISSIONRUN">
|
||||
<reference local="C_COMMISSION_ID" foreign="C_COMMISSION_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,21 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_CONVERSIONTYPE">
|
||||
<column name="C_CONVERSIONTYPE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="VALUE" primaryKey="false" required="true" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="ISDEFAULT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<check>
|
||||
<rule><![CDATA[IsDefault in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,47 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_CONVERSION_RATE">
|
||||
<column name="C_CONVERSION_RATE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_CURRENCY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_CURRENCY_ID_TO" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="VALIDFROM" primaryKey="false" required="true" 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="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="DIVIDERATE" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="C_CONVERSIONTYPE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_CLIENT" name="C_CONVERSION_RATECLIENT">
|
||||
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_ORG" name="C_CONVERSION_RATEORG">
|
||||
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CONVERSIONTYPE" name="CCONVERSIONTYPE_CCONVRATE">
|
||||
<reference local="C_CONVERSIONTYPE_ID" foreign="C_CONVERSIONTYPE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CCONVERSIONRATE">
|
||||
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CURRENCY" name="C_CURRENCYCONVRATETO">
|
||||
<reference local="C_CURRENCY_ID_TO" foreign="C_CURRENCY_ID"/>
|
||||
</foreign-key>
|
||||
<index name="C_CONVERSIONRATE_ONCE">
|
||||
<index-column name="AD_CLIENT_ID"/>
|
||||
<index-column name="AD_ORG_ID"/>
|
||||
<index-column name="C_CURRENCY_ID"/>
|
||||
<index-column name="C_CURRENCY_ID_TO"/>
|
||||
<index-column name="C_CONVERSIONTYPE_ID"/>
|
||||
<index-column name="VALIDFROM"/>
|
||||
</index>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,56 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_COUNTRY">
|
||||
<column name="C_COUNTRY_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="COUNTRYCODE" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
|
||||
<column name="HASREGION" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="REGIONNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="EXPRESSIONPHONE" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="DISPLAYSEQUENCE" primaryKey="false" required="true" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="EXPRESSIONPOSTAL" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="HASPOSTAL_ADD" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="EXPRESSIONPOSTAL_ADD" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="AD_LANGUAGE" primaryKey="false" required="false" type="VARCHAR" size="6" autoIncrement="false"/>
|
||||
<column name="C_CURRENCY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="DISPLAYSEQUENCELOCAL" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="ISADDRESSLINESREVERSE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISADDRESSLINESLOCALREVERSE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="EXPRESSIONBANKROUTINGNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="EXPRESSIONBANKACCOUNTNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="MEDIASIZE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_CLIENT" name="C_COUNTRYCLIENT">
|
||||
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_LANGUAGE" name="ADLANGUAGE_CCOUNTRY">
|
||||
<reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_ORG" name="C_COUNTRYORG">
|
||||
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CCOUNTRY">
|
||||
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||
</foreign-key>
|
||||
<unique name="C_COUNTRYCODE">
|
||||
<unique-column name="COUNTRYCODE"/>
|
||||
</unique>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[HasRegion in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[HasPostal_Add 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="C_COUNTRY_TRL">
|
||||
<column name="C_COUNTRY_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_LANGUAGE" primaryKey="true" required="true" type="VARCHAR" size="6" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISTRANSLATED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="REGIONNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_LANGUAGE" name="ADLANGUAGE_CCOUNTRYTRL">
|
||||
<reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_COUNTRY" name="CCOUNTRY_CCOUNTRYTRL">
|
||||
<reference local="C_COUNTRY_ID" foreign="C_COUNTRY_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsTranslated 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="C_CURRENCY">
|
||||
<column name="C_CURRENCY_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="ISO_CODE" primaryKey="false" required="true" type="CHAR" size="3" autoIncrement="false"/>
|
||||
<column name="CURSYMBOL" primaryKey="false" required="false" type="VARCHAR" size="10" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="true" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="STDPRECISION" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="COSTINGPRECISION" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="ISEURO" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISEMUMEMBER" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="EMUENTRYDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="EMURATE" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_CLIENT" name="C_CURRENCYCLIENT">
|
||||
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_ORG" name="C_CURRENCYORG">
|
||||
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<unique name="C_CURRENCYISOCODE">
|
||||
<unique-column name="ISO_CODE"/>
|
||||
</unique>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsEuro in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsEMUMember in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,40 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_CURRENCY_ACCT">
|
||||
<column name="C_ACCTSCHEMA_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_CURRENCY_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="UNREALIZEDGAIN_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UNREALIZEDLOSS_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="REALIZEDGAIN_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="REALIZEDLOSS_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_CCURRENCYACCT">
|
||||
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CCURRENCYACCT">
|
||||
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_REALIZEDGAIN_CCURRENCY">
|
||||
<reference local="REALIZEDGAIN_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_REALIZEDLOSS_CCURRENCY">
|
||||
<reference local="REALIZEDLOSS_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_UNREALIZEDGAIN_CCURRENCY">
|
||||
<reference local="UNREALIZEDGAIN_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_UNREALIZEDLOSS_CCURRENCY">
|
||||
<reference local="UNREALIZEDLOSS_ACCT" foreign="C_VALIDCOMBINATION_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="C_CURRENCY_TRL">
|
||||
<column name="C_CURRENCY_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_LANGUAGE" primaryKey="true" required="true" type="VARCHAR" size="6" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISTRANSLATED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="CURSYMBOL" primaryKey="false" required="false" type="VARCHAR" size="10" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="true" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_LANGUAGE" name="ADLANGUAGE_CCURRENCYTRL">
|
||||
<reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CCURRENCYTRL">
|
||||
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsTranslated in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,27 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_CYCLE">
|
||||
<column name="C_CYCLE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="C_CURRENCY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CCYCLE">
|
||||
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||
</foreign-key>
|
||||
<unique name="C_CYCLE_NAME">
|
||||
<unique-column name="AD_CLIENT_ID"/>
|
||||
<unique-column name="NAME"/>
|
||||
</unique>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_CYCLEPHASE">
|
||||
<column name="C_CYCLESTEP_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_PHASE_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"/>
|
||||
<foreign-key foreignTable="C_CYCLESTEP" name="CCYCLESTEP_CCYCLEPHASE">
|
||||
<reference local="C_CYCLESTEP_ID" foreign="C_CYCLESTEP_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PHASE" name="CPHASE_CCYCLEPHASE">
|
||||
<reference local="C_PHASE_ID" foreign="C_PHASE_ID"/>
|
||||
</foreign-key>
|
||||
</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="C_CYCLESTEP">
|
||||
<column name="C_CYCLESTEP_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_CYCLE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="SEQNO" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="RELATIVEWEIGHT" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_CYCLE" name="CCYCLE_CCYCLESTEP">
|
||||
<reference local="C_CYCLE_ID" foreign="C_CYCLE_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,77 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_DOCTYPE">
|
||||
<column name="C_DOCTYPE_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="PRINTNAME" 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="DOCBASETYPE" primaryKey="false" required="true" type="CHAR" size="3" autoIncrement="false"/>
|
||||
<column name="ISSOTRX" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="DOCSUBTYPESO" primaryKey="false" required="false" type="CHAR" size="2" autoIncrement="false"/>
|
||||
<column name="HASPROFORMA" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="C_DOCTYPEPROFORMA_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_DOCTYPESHIPMENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_DOCTYPEINVOICE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="ISDOCNOCONTROLLED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="DOCNOSEQUENCE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="GL_CATEGORY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="HASCHARGES" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="DOCUMENTNOTE" 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="DOCUMENTCOPIES" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="AD_PRINTFORMAT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="ISDEFAULTCOUNTERDOC" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISSHIPCONFIRM" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISPICKQACONFIRM" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISINTRANSIT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISSPLITWHENDIFFERENCE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="C_DOCTYPEDIFFERENCE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="ISCREATECOUNTER" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="ISINDEXED" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_PRINTFORMAT" name="ADPRINTFORMAT_CDOCTYPE">
|
||||
<reference local="AD_PRINTFORMAT_ID" foreign="AD_PRINTFORMAT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_SEQUENCE" name="AD_SEQUENCE_DOCTYPEDOC">
|
||||
<reference local="DOCNOSEQUENCE_ID" foreign="AD_SEQUENCE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_DOCTYPE" name="CDOCTYPE_INVOICE">
|
||||
<reference local="C_DOCTYPEINVOICE_ID" foreign="C_DOCTYPE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_DOCTYPE" name="CDOCTYPE_PROFORMA">
|
||||
<reference local="C_DOCTYPEPROFORMA_ID" foreign="C_DOCTYPE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_DOCTYPE" name="CDOCTYPE_SHIPMENT">
|
||||
<reference local="C_DOCTYPESHIPMENT_ID" foreign="C_DOCTYPE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="GL_CATEGORY" name="GLCATEGORY_CDOCTYPE">
|
||||
<reference local="GL_CATEGORY_ID" foreign="GL_CATEGORY_ID"/>
|
||||
</foreign-key>
|
||||
<unique name="C_DOCTYPE_NAME">
|
||||
<unique-column name="AD_CLIENT_ID"/>
|
||||
<unique-column name="NAME"/>
|
||||
</unique>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsSOTrx in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[HasProForma in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsDocNoControlled in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[HasCharges 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="C_DOCTYPECOUNTER">
|
||||
<column name="C_DOCTYPECOUNTER_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="C_DOCTYPE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="COUNTER_C_DOCTYPE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="ISVALID" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="DOCACTION" primaryKey="false" required="false" type="CHAR" size="2" autoIncrement="false"/>
|
||||
<column name="ISCREATECOUNTER" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_DOCTYPE" name="CDOCTYPECOUNT_CDOCTYPECOUNT">
|
||||
<reference local="COUNTER_C_DOCTYPE_ID" foreign="C_DOCTYPE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_DOCTYPE" name="CDOCTYPE_CDOCTYPECOUNTER">
|
||||
<reference local="C_DOCTYPE_ID" foreign="C_DOCTYPE_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="C_DOCTYPE_TRL">
|
||||
<column name="C_DOCTYPE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_LANGUAGE" primaryKey="true" required="true" type="VARCHAR" size="6" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="PRINTNAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="DOCUMENTNOTE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||
<column name="ISTRANSLATED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_LANGUAGE" name="ADLANGUAGE_CDOCTYPETRL">
|
||||
<reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_DOCTYPE" name="CDOCTYPE_CDOCTYPETRL">
|
||||
<reference local="C_DOCTYPE_ID" foreign="C_DOCTYPE_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsTranslated 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="C_DUNNING">
|
||||
<column name="C_DUNNING_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="SENDDUNNINGLETTER" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="ISDEFAULT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="CREATELEVELSSEQUENTIALLY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[SendDunningLetter 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="C_DUNNINGLEVEL">
|
||||
<column name="C_DUNNINGLEVEL_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_DUNNING_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="PRINTNAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="DAYSAFTERDUE" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="DAYSBETWEENDUNNING" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="NOTE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||
<column name="CHARGEINTEREST" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="INTERESTPERCENT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="CHARGEFEE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="FEEAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="DUNNING_PRINTFORMAT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" default="x" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="ISSHOWALLDUE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISSHOWNOTDUE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISSETCREDITSTOP" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISSETPAYMENTTERM" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="C_PAYMENTTERM_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_PRINTFORMAT" name="ADPRINTFORMAT_CDUNNINGLEVEL">
|
||||
<reference local="DUNNING_PRINTFORMAT_ID" foreign="AD_PRINTFORMAT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_DUNNING" name="CDUNNING_CDUNNINGLEVEL">
|
||||
<reference local="C_DUNNING_ID" foreign="C_DUNNING_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PAYMENTTERM" name="CPAYMENTTERM_CDUNNINGLEVEL">
|
||||
<reference local="C_PAYMENTTERM_ID" foreign="C_PAYMENTTERM_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[ChargeInterest in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[ChargeFee 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="C_DUNNINGLEVEL_TRL">
|
||||
<column name="AD_LANGUAGE" primaryKey="true" required="true" type="VARCHAR" size="6" autoIncrement="false"/>
|
||||
<column name="C_DUNNINGLEVEL_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="PRINTNAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="NOTE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||
<column name="ISTRANSLATED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_LANGUAGE" name="ADLANGUAGE_CDUNNINGLEVEL">
|
||||
<reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_DUNNINGLEVEL" name="CDUNNINGLEVEL_CDLTRL">
|
||||
<reference local="C_DUNNINGLEVEL_ID" foreign="C_DUNNINGLEVEL_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsTranslated 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="C_DUNNINGRUN">
|
||||
<column name="C_DUNNINGRUN_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="DUNNINGDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="C_DUNNINGLEVEL_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="SENDIT" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_DUNNINGLEVEL" name="CDUNNINGLEVEL_CDUNNINGRUN">
|
||||
<reference local="C_DUNNINGLEVEL_ID" foreign="C_DUNNINGLEVEL_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,39 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_DUNNINGRUNENTRY">
|
||||
<column name="C_DUNNINGRUNENTRY_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_BPARTNER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_BPARTNER_LOCATION_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_USER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_DUNNINGRUN_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_CURRENCY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="SALESREP_ID" primaryKey="false" required="true" type="ID" 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="NOTE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||
<column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CDUNNINGRUNENTRY">
|
||||
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CDUNNINGRUNENTRY">
|
||||
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_DUNNINGRUN" name="CDUNNINGRUN_CDUNNINGRUNENTRY">
|
||||
<reference local="C_DUNNINGRUN_ID" foreign="C_DUNNINGRUN_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,42 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_DUNNINGRUNLINE">
|
||||
<column name="C_DUNNINGRUNLINE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_DUNNINGRUNENTRY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_INVOICE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_PAYMENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="AMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="CONVERTEDAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="DAYSDUE" primaryKey="false" required="true" type="INTEGER" default="0" autoIncrement="false"/>
|
||||
<column name="TIMESDUNNED" primaryKey="false" required="true" type="INTEGER" default="0" autoIncrement="false"/>
|
||||
<column name="INTERESTAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="FEEAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="TOTALAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISINDISPUTE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="OPENAMT" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_DUNNINGRUNENTRY" name="CDUNNINGRUNENTRY_LINE">
|
||||
<reference local="C_DUNNINGRUNENTRY_ID" foreign="C_DUNNINGRUNENTRY_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_INVOICE" name="CINVOICE_CDUNNINGRUNLINE">
|
||||
<reference local="C_INVOICE_ID" foreign="C_INVOICE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PAYMENT" name="CPAYMENT_CDUNNINGRUNLINE">
|
||||
<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>
|
||||
</table>
|
||||
</database>
|
Loading…
Reference in New Issue