* adempiere model files
This commit is contained in:
parent
17dd9a78db
commit
1338f548d2
|
@ -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_NONBUSINESSDAY">
|
||||
<column name="C_NONBUSINESSDAY_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="DATE1" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="C_CALENDAR_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_CLIENT" name="C_NONBUSINESDAYSCLIENT">
|
||||
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_ORG" name="C_NONBUSINESDAYSORG">
|
||||
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CALENDAR" name="C_CALENDARNONBUSINESSDAY">
|
||||
<reference local="C_CALENDAR_ID" foreign="C_CALENDAR_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,211 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_ORDER">
|
||||
<column name="C_ORDER_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="ISSOTRX" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="DOCUMENTNO" primaryKey="false" required="true" type="VARCHAR" size="30" 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="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="C_DOCTYPE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_DOCTYPETARGET_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="ISAPPROVED" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="ISCREDITAPPROVED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISDELIVERED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISINVOICED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISPRINTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISTRANSFERRED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISSELECTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="SALESREP_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="DATEORDERED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="DATEPROMISED" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="DATEPRINTED" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="DATEACCT" primaryKey="false" required="true" type="TIMESTAMP" size="7" 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="POREFERENCE" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="ISDISCOUNTPRINTED" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="C_CURRENCY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="PAYMENTRULE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="C_PAYMENTTERM_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="INVOICERULE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="DELIVERYRULE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="FREIGHTCOSTRULE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="FREIGHTAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="DELIVERYVIARULE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="M_SHIPPER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_CHARGE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="CHARGEAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="PRIORITYRULE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="TOTALLINES" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="GRANDTOTAL" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="M_WAREHOUSE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="M_PRICELIST_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISTAXINCLUDED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="C_CAMPAIGN_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_ACTIVITY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="POSTED" 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="C_CASHLINE_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="AD_USER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="COPYFROM" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="ISSELFSERVICE" 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="USER1_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="USER2_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_CONVERSIONTYPE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="BILL_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="BILL_LOCATION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="BILL_USER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="PAY_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="PAY_LOCATION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="REF_ORDER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="ISDROPSHIP" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="VOLUME" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
|
||||
<column name="WEIGHT" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_ORG" name="ADORGTRX_CORDER">
|
||||
<reference local="AD_ORGTRX_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_ORG" name="ADORG_CORDER">
|
||||
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_USER" name="ADUSER_CORDER">
|
||||
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_USER" name="ADUSER_SR_CORDER">
|
||||
<reference local="SALESREP_ID" foreign="AD_USER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_USER" name="ADUSERBILL_CORDER">
|
||||
<reference local="BILL_USER_ID" foreign="AD_USER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ACTIVITY" name="CACTIVITY_CORDER">
|
||||
<reference local="C_ACTIVITY_ID" foreign="C_ACTIVITY_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNERBILL_CORDER">
|
||||
<reference local="BILL_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CORDER">
|
||||
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNERPAY_CORDER">
|
||||
<reference local="PAY_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER_LOCATION" name="CBPARTNERLOCATION_CORDER">
|
||||
<reference local="C_BPARTNER_LOCATION_ID" foreign="C_BPARTNER_LOCATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER_LOCATION" name="CBPLOCATIONPAY_CORDER">
|
||||
<reference local="PAY_LOCATION_ID" foreign="C_BPARTNER_LOCATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER_LOCATION" name="CBPLOCATIONBILL_CORDER">
|
||||
<reference local="BILL_LOCATION_ID" foreign="C_BPARTNER_LOCATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CAMPAIGN" name="CCAMPAIGN_CORDER">
|
||||
<reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CASHLINE" name="CCASHLINE_CORDER">
|
||||
<reference local="C_CASHLINE_ID" foreign="C_CASHLINE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CHARGE" name="CCHARGE_CORDER">
|
||||
<reference local="C_CHARGE_ID" foreign="C_CHARGE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CONVERSIONTYPE" name="CCONVERSIONTYPE_CORDER">
|
||||
<reference local="C_CONVERSIONTYPE_ID" foreign="C_CONVERSIONTYPE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CORDER">
|
||||
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_DOCTYPE" name="CDOCTYPETARGET_CORDER">
|
||||
<reference local="C_DOCTYPETARGET_ID" foreign="C_DOCTYPE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_DOCTYPE" name="C_DOCTYPE_CORDER">
|
||||
<reference local="C_DOCTYPE_ID" foreign="C_DOCTYPE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUEUSER1_CORDER">
|
||||
<reference local="USER1_ID" foreign="C_ELEMENTVALUE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENRVALUEUSER2_CORDER">
|
||||
<reference local="USER2_ID" foreign="C_ELEMENTVALUE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ORDER" name="CORDER_REF">
|
||||
<reference local="REF_ORDER_ID" foreign="C_ORDER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PAYMENT" name="CPAYMENT_CORDER">
|
||||
<reference local="C_PAYMENT_ID" foreign="C_PAYMENT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PAYMENTTERM" name="CPAYMENTTERM_SOHEADER">
|
||||
<reference local="C_PAYMENTTERM_ID" foreign="C_PAYMENTTERM_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PROJECT" name="CPROJECT_CORDER">
|
||||
<reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_PRICELIST" name="MPRICELIST_SOHEADER">
|
||||
<reference local="M_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_SHIPPER" name="MSHIPPER_CORDER">
|
||||
<reference local="M_SHIPPER_ID" foreign="M_SHIPPER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_WAREHOUSE" name="MWAREHOUSE_CORDER">
|
||||
<reference local="M_WAREHOUSE_ID" foreign="M_WAREHOUSE_ID"/>
|
||||
</foreign-key>
|
||||
<index name="C_ORDER_BPARTNER">
|
||||
<index-column name="C_BPARTNER_ID"/>
|
||||
</index>
|
||||
<unique name="C_ORDER_DOCUMENTNO">
|
||||
<unique-column name="DOCUMENTNO"/>
|
||||
<unique-column name="C_DOCTYPE_ID"/>
|
||||
<unique-column name="C_BPARTNER_ID"/>
|
||||
</unique>
|
||||
<index name="C_ORDER_PROCESSED">
|
||||
<index-column name="AD_CLIENT_ID"/>
|
||||
<index-column name="PROCESSED"/>
|
||||
</index>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsSOTrx in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[Processed in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsApproved in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsCreditApproved in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsDelivered in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsInvoiced in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsPrinted in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsTransferred in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsSelected in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsDiscountPrinted in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsTaxIncluded in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,134 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_ORDERLINE">
|
||||
<column name="C_ORDERLINE_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_ORDER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="LINE" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_BPARTNER_LOCATION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="DATEORDERED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="DATEPROMISED" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="DATEDELIVERED" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="DATEINVOICED" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="M_WAREHOUSE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_UOM_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="QTYORDERED" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="QTYRESERVED" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="QTYDELIVERED" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="QTYINVOICED" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="M_SHIPPER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_CURRENCY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="PRICELIST" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="PRICEACTUAL" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="PRICELIMIT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="LINENETAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="DISCOUNT" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
|
||||
<column name="FREIGHTAMT" 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="C_TAX_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="S_RESOURCEASSIGNMENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="REF_ORDERLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="M_ATTRIBUTESETINSTANCE_ID" primaryKey="false" required="false" type="ID" default="0" autoIncrement="false"/>
|
||||
<column name="ISDESCRIPTION" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="QTYENTERED" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
|
||||
<column name="PRICEENTERED" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
|
||||
<column name="C_PROJECT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="PRICECOST" primaryKey="false" required="false" type="NUMERIC" autoIncrement="false"/>
|
||||
<column name="QTYLOSTSALES" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="C_PROJECTPHASE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_PROJECTTASK_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="RRSTARTDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="RRAMT" primaryKey="false" required="false" type="NUMERIC" 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="AD_ORGTRX_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_ORG" name="ADORGTRX_CORDERLINE">
|
||||
<reference local="AD_ORGTRX_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_ORG" name="ADORG_CORDERLINE">
|
||||
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ACTIVITY" name="CACTIVITY_CORDERLINE">
|
||||
<reference local="C_ACTIVITY_ID" foreign="C_ACTIVITY_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_SOLINE">
|
||||
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER_LOCATION" name="CBPARTNERLOCATION_SOLINE">
|
||||
<reference local="C_BPARTNER_LOCATION_ID" foreign="C_BPARTNER_LOCATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CAMPAIGN" name="CCAMPAIGN_CORDERLINE">
|
||||
<reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CHARGE" name="CCHARGE_CORDERLINE">
|
||||
<reference local="C_CHARGE_ID" foreign="C_CHARGE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CORDERLINE">
|
||||
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENRVALUEUSER2_CORDERLINE">
|
||||
<reference local="USER2_ID" foreign="C_ELEMENTVALUE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENRVALUEUSER1_CORDERLINE">
|
||||
<reference local="USER1_ID" foreign="C_ELEMENTVALUE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ORDER" name="CORDER_CORDERLINE">
|
||||
<reference local="C_ORDER_ID" foreign="C_ORDER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ORDERLINE" name="CORDERLINE_REF">
|
||||
<reference local="REF_ORDERLINE_ID" foreign="C_ORDERLINE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PROJECT" name="CPROJECT_CORDERLINE">
|
||||
<reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PROJECTPHASE" name="CPROJECTPHASE_CORDERLINE">
|
||||
<reference local="C_PROJECTPHASE_ID" foreign="C_PROJECTPHASE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PROJECTTASK" name="CPROJECTTASK_CORDERLINE">
|
||||
<reference local="C_PROJECTTASK_ID" foreign="C_PROJECTTASK_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_TAX" name="CTAX_CORDERLINE">
|
||||
<reference local="C_TAX_ID" foreign="C_TAX_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_UOM" name="CUOM_CORDERLINE">
|
||||
<reference local="C_UOM_ID" foreign="C_UOM_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_ATTRIBUTESETINSTANCE" name="MATTRSETINST_CORDERLINE">
|
||||
<reference local="M_ATTRIBUTESETINSTANCE_ID" foreign="M_ATTRIBUTESETINSTANCE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_CORDERLINE">
|
||||
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_SHIPPER" name="MSHIPPER_CORDERLINE">
|
||||
<reference local="M_SHIPPER_ID" foreign="M_SHIPPER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_WAREHOUSE" name="MWAREHOUSE_CORDERLINE">
|
||||
<reference local="M_WAREHOUSE_ID" foreign="M_WAREHOUSE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="S_RESOURCEASSIGNMENT" name="SRESOURCEASSIGN_CORDERLINE">
|
||||
<reference local="S_RESOURCEASSIGNMENT_ID" foreign="S_RESOURCEASSIGNMENT_ID"/>
|
||||
</foreign-key>
|
||||
<index name="C_ORDERLINE_ORDER">
|
||||
<index-column name="C_ORDER_ID"/>
|
||||
</index>
|
||||
<index name="C_ORDERLINE_PRODUCT">
|
||||
<index-column name="M_PRODUCT_ID"/>
|
||||
</index>
|
||||
<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_ORDERTAX">
|
||||
<column name="C_ORDER_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_TAX_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="TAXBASEAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="TAXAMT" 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="ISTAXINCLUDED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_ORDER" name="CORDER_CORDERTAX">
|
||||
<reference local="C_ORDER_ID" foreign="C_ORDER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_TAX" name="CTAX_CORDERTAX">
|
||||
<reference local="C_TAX_ID" foreign="C_TAX_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_ORGASSIGNMENT">
|
||||
<column name="C_ORGASSIGNMENT_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="VALIDFROM" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="VALIDTO" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_ORG" name="ADORG_CORGASSIGNMENT">
|
||||
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_USER" name="ADUSER_CORGASSIGNMENT">
|
||||
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
|
||||
</foreign-key>
|
||||
</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_PAYMENT">
|
||||
<column name="C_PAYMENT_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="DATETRX" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="ISRECEIPT" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="C_DOCTYPE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="TRXTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="C_BANKACCOUNT_ID" primaryKey="false" required="true" type="ID" 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="C_BP_BANKACCOUNT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_PAYMENTBATCH_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="TENDERTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="CREDITCARDTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="CREDITCARDNUMBER" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="CREDITCARDVV" primaryKey="false" required="false" type="VARCHAR" size="4" autoIncrement="false"/>
|
||||
<column name="CREDITCARDEXPMM" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="CREDITCARDEXPYY" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="MICR" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="ROUTINGNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="ACCOUNTNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="CHECKNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="A_NAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="A_STREET" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="A_CITY" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="A_STATE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||
<column name="A_ZIP" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="A_IDENT_DL" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="A_IDENT_SSN" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="A_EMAIL" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="VOICEAUTHCODE" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="ORIG_TRXID" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="PONUM" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="C_CURRENCY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="PAYAMT" 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="TAXAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="ISAPPROVED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="R_PNREF" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="R_RESULT" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="R_RESPMSG" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="R_AUTHCODE" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="R_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="R_INFO" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="OPROCESSING" primaryKey="false" required="false" type="CHAR" size="1" 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="ISRECONCILED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISALLOCATED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISONLINE" primaryKey="false" required="true" type="CHAR" size="1" default="N" 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="ISOVERUNDERPAYMENT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="OVERUNDERAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="A_COUNTRY" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||
<column name="C_PROJECT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="ISSELFSERVICE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="CHARGEAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="C_CHARGE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="ISDELAYEDCAPTURE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="R_AUTHCODE_DC" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="R_CVV2MATCH" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="R_PNREF_DC" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="SWIPE" primaryKey="false" required="false" type="VARCHAR" size="80" autoIncrement="false"/>
|
||||
<column name="AD_ORGTRX_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="C_CONVERSIONTYPE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="DATEACCT" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="C_ORDER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="ISPREPAYMENT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="REF_PAYMENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_ORG" name="ADORGTRX_CPAYMENT">
|
||||
<reference local="AD_ORGTRX_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_ORG" name="ADORG_CPAYMENT">
|
||||
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ACTIVITY" name="CACTIVITY_CPAYMENT">
|
||||
<reference local="C_ACTIVITY_ID" foreign="C_ACTIVITY_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BANKACCOUNT" name="CBANKACCOUNT_CPAYMENT">
|
||||
<reference local="C_BANKACCOUNT_ID" foreign="C_BANKACCOUNT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CPAYMENT">
|
||||
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BP_BANKACCOUNT" name="CBPBANKACCT_CPAYMENT">
|
||||
<reference local="C_BP_BANKACCOUNT_ID" foreign="C_BP_BANKACCOUNT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CAMPAIGN" name="CCAMPAIGN_CPAYMENT">
|
||||
<reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CHARGE" name="CCHARGE_CPAYMENT">
|
||||
<reference local="C_CHARGE_ID" foreign="C_CHARGE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CONVERSIONTYPE" name="CCONVERSIONTYPE_CPAYMENT">
|
||||
<reference local="C_CONVERSIONTYPE_ID" foreign="C_CONVERSIONTYPE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CPAYMENT">
|
||||
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_DOCTYPE" name="CDOCTYPE_CPAYMENT">
|
||||
<reference local="C_DOCTYPE_ID" foreign="C_DOCTYPE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUEUSER2_CPAYMENT">
|
||||
<reference local="USER2_ID" foreign="C_ELEMENTVALUE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUEUSER1_CPAYMENT">
|
||||
<reference local="USER1_ID" foreign="C_ELEMENTVALUE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PAYMENTBATCH" name="CPAYMENTBATCH_CPAYMENT">
|
||||
<reference local="C_PAYMENTBATCH_ID" foreign="C_PAYMENTBATCH_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PROJECT" name="CPROJECT_CPAYMENT">
|
||||
<reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
|
||||
</foreign-key>
|
||||
<index name="C_PAYMENT_BANKACCOUNT">
|
||||
<index-column name="C_BANKACCOUNT_ID"/>
|
||||
</index>
|
||||
<index name="C_PAYMENT_BPARTNER">
|
||||
<index-column name="C_BPARTNER_ID"/>
|
||||
</index>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsReceipt in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsApproved in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsReconciled in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsAllocated in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsOnline in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[Processed 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_PAYMENTALLOCATE">
|
||||
<column name="C_PAYMENTALLOCATE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_PAYMENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_INVOICE_ID" primaryKey="false" required="true" 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="OVERUNDERAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="INVOICEAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="C_ALLOCATIONLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_ALLOCATIONLINE" name="CPAYMTALLOCATE_CALLOCATIONLINE">
|
||||
<reference local="C_ALLOCATIONLINE_ID" foreign="C_ALLOCATIONLINE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_INVOICE" name="CINVOICE_CPAYMENTALLOCATE">
|
||||
<reference local="C_INVOICE_ID" foreign="C_INVOICE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PAYMENT" name="CPAYMENT_CPAYMENTALLOCATE">
|
||||
<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,29 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_PAYMENTBATCH">
|
||||
<column name="C_PAYMENTBATCH_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="C_PAYMENTPROCESSOR_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="DOCUMENTNO" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||
<column name="PROCESSINGDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="PROCESSING" primaryKey="false" required="true" 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_PAYMENTPROCESSOR" name="CPAYMTPROCESSOR_CPAYMTBATCH">
|
||||
<reference local="C_PAYMENTPROCESSOR_ID" foreign="C_PAYMENTPROCESSOR_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,83 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_PAYMENTPROCESSOR">
|
||||
<column name="C_PAYMENTPROCESSOR_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="AD_SEQUENCE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="PAYPROCESSORCLASS" primaryKey="false" required="false" type="VARCHAR" size="60" 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="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="ACCEPTVISA" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="ACCEPTMC" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="ACCEPTAMEX" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="ACCEPTDINERS" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="ACCEPTDISCOVER" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="ACCEPTCORPORATE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="ACCEPTCHECK" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="ACCEPTATM" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="REQUIREVV" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="C_CURRENCY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="COSTPERTRX" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="COMMISSION" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
|
||||
<column name="PARTNERID" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="VENDORID" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="MINIMUMAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="ACCEPTDIRECTDEBIT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ACCEPTDIRECTDEPOSIT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_SEQUENCE" name="ADSEQUENCE_CPAYMENTPROCESSOR">
|
||||
<reference local="AD_SEQUENCE_ID" foreign="AD_SEQUENCE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BANKACCOUNT" name="CBANKACCOUNT_CPAYMTPROCESSOR">
|
||||
<reference local="C_BANKACCOUNT_ID" foreign="C_BANKACCOUNT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CPAYMENTPROCESSOR">
|
||||
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[AcceptVisa in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[AcceptMC in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[AcceptAmex in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[AcceptDiners in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[AcceptDiscover in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[AcceptCorporate in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[AcceptCheck in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[AcceptATM in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[RequireVV in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,50 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_PAYMENTTERM">
|
||||
<column name="C_PAYMENTTERM_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="DOCUMENTNOTE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||
<column name="AFTERDELIVERY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="ISDUEFIXED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="NETDAYS" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="GRACEDAYS" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="FIXMONTHCUTOFF" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="FIXMONTHDAY" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="FIXMONTHOFFSET" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="DISCOUNTDAYS" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="DISCOUNT" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
|
||||
<column name="DISCOUNTDAYS2" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="DISCOUNT2" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
|
||||
<column name="ISNEXTBUSINESSDAY" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="ISDEFAULT" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="VALUE" primaryKey="false" required="true" type="VARCHAR" size="40" autoIncrement="false"/>
|
||||
<column name="NETDAY" primaryKey="false" required="false" type="CHAR" size="1" 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"/>
|
||||
<unique name="C_PAYMENTTERM_NAME">
|
||||
<unique-column name="AD_CLIENT_ID"/>
|
||||
<unique-column name="NAME"/>
|
||||
</unique>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[AfterDelivery in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsDueFixed in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsNextBusinessDay 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_PAYMENTTERM_TRL">
|
||||
<column name="C_PAYMENTTERM_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="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="DOCUMENTNOTE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||
<column name="ISTRANSLATED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_LANGUAGE" name="ADLANGUAGE_CPAYMENTTERMTRL">
|
||||
<reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PAYMENTTERM" name="CPAYMENTTERM_CPAYTERMTRL">
|
||||
<reference local="C_PAYMENTTERM_ID" foreign="C_PAYMENTTERM_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,31 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_PAYSCHEDULE">
|
||||
<column name="C_PAYSCHEDULE_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_PAYMENTTERM_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="PERCENTAGE" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
|
||||
<column name="NETDAYS" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="NETDAY" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="DISCOUNTDAYS" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="DISCOUNT" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
|
||||
<column name="ISVALID" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="GRACEDAYS" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_PAYMENTTERM" name="CPAYMENTTERM_CPAYSCHEDULE">
|
||||
<reference local="C_PAYMENTTERM_ID" foreign="C_PAYMENTTERM_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsValid in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_PAYSELECTION">
|
||||
<column name="C_PAYSELECTION_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="PAYDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="ISAPPROVED" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="TOTALAMT" primaryKey="false" required="true" type="NUMERIC" default="0" 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="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_BANKACCOUNT" name="CBANKACCOUNT_CPAYSELECTION">
|
||||
<reference local="C_BANKACCOUNT_ID" foreign="C_BANKACCOUNT_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsApproved in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[Processed in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -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_PAYSELECTIONCHECK">
|
||||
<column name="C_PAYSELECTIONCHECK_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_PAYSELECTION_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_BPARTNER_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="PAYAMT" 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="C_PAYMENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="DOCUMENTNO" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
||||
<column name="ISPRINTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="PAYMENTRULE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="DISCOUNTAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="ISRECEIPT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="C_BP_BANKACCOUNT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CPAYSELECTIONCHECK">
|
||||
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PAYMENT" name="CPAYMENT_CPAYSELECTIONCHECK">
|
||||
<reference local="C_PAYMENT_ID" foreign="C_PAYMENT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PAYSELECTION" name="CPAYSELECTION_CPAYSELECTCHECK">
|
||||
<reference local="C_PAYSELECTION_ID" foreign="C_PAYSELECTION_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,45 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_PAYSELECTIONLINE">
|
||||
<column name="C_PAYSELECTIONLINE_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_PAYSELECTION_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="PAYMENTRULE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="ISMANUAL" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="C_INVOICE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="PAYAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="DIFFERENCEAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="C_PAYSELECTIONCHECK_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="DISCOUNTAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="OPENAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="ISSOTRX" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_INVOICE" name="CINVOICE_CPAYSELECTLINE">
|
||||
<reference local="C_INVOICE_ID" foreign="C_INVOICE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PAYSELECTION" name="CPAYSEL_CPAYSELLINE">
|
||||
<reference local="C_PAYSELECTION_ID" foreign="C_PAYSELECTION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PAYSELECTIONCHECK" name="CPAYSELCHECK_CPAYSELLINE">
|
||||
<reference local="C_PAYSELECTIONCHECK_ID" foreign="C_PAYSELECTIONCHECK_ID"/>
|
||||
</foreign-key>
|
||||
<index name="C_PAYSELLINE_PAYSEL">
|
||||
<index-column name="C_PAYSELECTION_ID"/>
|
||||
</index>
|
||||
<check>
|
||||
<rule><![CDATA[IsManual in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_PERIOD">
|
||||
<column name="C_PERIOD_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="PERIODNO" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="C_YEAR_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="STARTDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="ENDDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="PERIODTYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_CLIENT" name="C_PERIODCLIENT">
|
||||
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_ORG" name="C_PERIODORG">
|
||||
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_YEAR" name="C_YEAR_PERIOD">
|
||||
<reference local="C_YEAR_ID" foreign="C_YEAR_ID"/>
|
||||
</foreign-key>
|
||||
<unique name="C_PERIOD_NOUNIQUE">
|
||||
<unique-column name="C_YEAR_ID"/>
|
||||
<unique-column name="PERIODNO"/>
|
||||
</unique>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_PERIODCONTROL">
|
||||
<column name="C_PERIODCONTROL_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_PERIOD_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="DOCBASETYPE" primaryKey="false" required="true" type="CHAR" size="3" autoIncrement="false"/>
|
||||
<column name="PERIODSTATUS" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="PERIODACTION" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_PERIOD" name="C_PERIOD_PERIODCONTROL">
|
||||
<reference local="C_PERIOD_ID" foreign="C_PERIOD_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive 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_PHASE">
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="SEQNO" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||
<column name="C_PROJECTTYPE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="STANDARDQTY" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="C_PHASE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_PROJECTTYPE" name="CPROJECTTYPE_CPHASE">
|
||||
<reference local="C_PROJECTTYPE_ID" foreign="C_PROJECTTYPE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_CPHASE">
|
||||
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
|
||||
</foreign-key>
|
||||
</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_POS">
|
||||
<column name="C_POS_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="SALESREP_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="M_PRICELIST_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_CASHBOOK_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="M_WAREHOUSE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="PRINTERNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="C_POSKEYLAYOUT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="ISMODIFYPRICE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="C_BPARTNERCASHTRX_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_DOCTYPE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_USER" name="ADUSER_CPOS">
|
||||
<reference local="SALESREP_ID" foreign="AD_USER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CASHBOOK" name="CCASHBOOK_CPOS">
|
||||
<reference local="C_CASHBOOK_ID" foreign="C_CASHBOOK_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_POSKEYLAYOUT" name="CPOSKEYLAYOUT_CPOS">
|
||||
<reference local="C_POSKEYLAYOUT_ID" foreign="C_POSKEYLAYOUT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_PRICELIST" name="MPRICELIST_CPOS">
|
||||
<reference local="M_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_WAREHOUSE" name="MWAREHOUSE_CPOS">
|
||||
<reference local="M_WAREHOUSE_ID" foreign="M_WAREHOUSE_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_POSKEY">
|
||||
<column name="C_POSKEY_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_POSKEYLAYOUT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="SEQNO" primaryKey="false" required="true" type="INTEGER" default="0" autoIncrement="false"/>
|
||||
<column name="M_PRODUCT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="QTY" primaryKey="false" required="true" type="NUMERIC" autoIncrement="false"/>
|
||||
<column name="AD_PRINTCOLOR_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_POSKEYLAYOUT" name="CPOSKEYLAYOUT_C_POSKEY">
|
||||
<reference local="C_POSKEYLAYOUT_ID" foreign="C_POSKEYLAYOUT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_CPOSKEY">
|
||||
<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,20 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_POSKEYLAYOUT">
|
||||
<column name="C_POSKEYLAYOUT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,106 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_PROJECT">
|
||||
<column name="C_PROJECT_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="NOTE" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||
<column name="ISSUMMARY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="AD_USER_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_BPARTNER_LOCATION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="POREFERENCE" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
||||
<column name="C_PAYMENTTERM_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_CURRENCY_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="M_PRICELIST_VERSION_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_CAMPAIGN_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="ISCOMMITMENT" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="PLANNEDAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="PLANNEDQTY" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="PLANNEDMARGINAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="COMMITTEDAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="DATECONTRACT" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="DATEFINISH" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="GENERATETO" 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="SALESREP_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="COPYFROM" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="C_PROJECTTYPE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="COMMITTEDQTY" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="INVOICEDAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="INVOICEDQTY" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="PROJECTBALANCEAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="C_PHASE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="ISCOMMITCEILING" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="M_WAREHOUSE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="PROJECTCATEGORY" 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="C_BPARTNERSR_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="PROJINVOICERULE" primaryKey="false" required="true" type="CHAR" size="1" default="-" autoIncrement="false"/>
|
||||
<column name="PROJECTLINELEVEL" primaryKey="false" required="true" type="CHAR" size="1" default="P" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_CPROJECT">
|
||||
<reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_ORG" name="ADORG_CPROJECT">
|
||||
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_USER" name="ADUSER_SR_CPROJECT">
|
||||
<reference local="SALESREP_ID" foreign="AD_USER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="AD_USER" name="ADUSER_CPROJECT">
|
||||
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_CPROJECT">
|
||||
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_BPARTNER_LOCATION" name="CBPLOCATION_CPROJECT">
|
||||
<reference local="C_BPARTNER_LOCATION_ID" foreign="C_BPARTNER_LOCATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CAMPAIGN" name="CCAMPAIGN_CPROJECT">
|
||||
<reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_CURRENCY" name="CCURRENCY_CPROJECT">
|
||||
<reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PAYMENTTERM" name="CPAYMENTTERM_CPROJECT">
|
||||
<reference local="C_PAYMENTTERM_ID" foreign="C_PAYMENTTERM_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PHASE" name="CPHASE_CPROJECT">
|
||||
<reference local="C_PHASE_ID" foreign="C_PHASE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PROJECTTYPE" name="CPROJECTTYPE_CPROJECT">
|
||||
<reference local="C_PROJECTTYPE_ID" foreign="C_PROJECTTYPE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_PRICELIST_VERSION" name="MPRICELISTVERSION_CPROJECT">
|
||||
<reference local="M_PRICELIST_VERSION_ID" foreign="M_PRICELIST_VERSION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_WAREHOUSE" name="MWAREHOUSE_CPROJECT">
|
||||
<reference local="M_WAREHOUSE_ID" foreign="M_WAREHOUSE_ID"/>
|
||||
</foreign-key>
|
||||
<unique name="C_PROJECT_VALUE">
|
||||
<unique-column name="AD_CLIENT_ID"/>
|
||||
<unique-column name="VALUE"/>
|
||||
</unique>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[IsCommitment in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[GenerateTo in ('Y','N')]]></rule>
|
||||
</check>
|
||||
<check>
|
||||
<rule><![CDATA[Processed in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,48 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_PROJECTISSUE">
|
||||
<column name="C_PROJECTISSUE_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_PROJECT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="LINE" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="M_PRODUCT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="M_ATTRIBUTESETINSTANCE_ID" primaryKey="false" required="false" type="ID" default="0" autoIncrement="false"/>
|
||||
<column name="M_LOCATOR_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="MOVEMENTQTY" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="POSTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="MOVEMENTDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
||||
<column name="S_TIMEEXPENSELINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="M_INOUTLINE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_PROJECT" name="CPROJECT_CPROJECTISSUE">
|
||||
<reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_ATTRIBUTESETINSTANCE" name="MATTRSETINST_CPROJECTISSUE">
|
||||
<reference local="M_ATTRIBUTESETINSTANCE_ID" foreign="M_ATTRIBUTESETINSTANCE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_INOUTLINE" name="MINOUTLINE_CPROJECTISSUE">
|
||||
<reference local="M_INOUTLINE_ID" foreign="M_INOUTLINE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_LOCATOR" name="MLOCATOR_CPROJECTISSUE">
|
||||
<reference local="M_LOCATOR_ID" foreign="M_LOCATOR_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_CPROJECTISSUE">
|
||||
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="S_TIMEEXPENSELINE" name="STIMEEXPLINE_CPROJECTISSUE">
|
||||
<reference local="S_TIMEEXPENSELINE_ID" foreign="S_TIMEEXPENSELINE_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_PROJECTISSUEMA">
|
||||
<column name="C_PROJECTISSUE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="M_ATTRIBUTESETINSTANCE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="MOVEMENTQTY" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_PROJECTISSUE" name="CPROJECTISSUE_CPROJECTISSUEMA">
|
||||
<reference local="C_PROJECTISSUE_ID" foreign="C_PROJECTISSUE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_ATTRIBUTESETINSTANCE" name="MASI_CPROJECTISSUEMA">
|
||||
<reference local="M_ATTRIBUTESETINSTANCE_ID" foreign="M_ATTRIBUTESETINSTANCE_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_PROJECTLINE">
|
||||
<column name="C_PROJECTLINE_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_PROJECT_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="PLANNEDQTY" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="PLANNEDPRICE" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="PLANNEDAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="PLANNEDMARGINAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="COMMITTEDAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="M_PRODUCT_CATEGORY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="INVOICEDAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="INVOICEDQTY" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="COMMITTEDQTY" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="C_PROJECTISSUE_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_ORDERPO_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="ISPRINTED" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="DOPRICING" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="C_PROJECTPHASE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_PROJECTTASK_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_ORDER" name="CORDERPO_CPROJECTLINE">
|
||||
<reference local="C_ORDERPO_ID" foreign="C_ORDER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_ORDER" name="CORDER_CPROJECTLINE">
|
||||
<reference local="C_ORDER_ID" foreign="C_ORDER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PROJECT" name="CPROJECT_CPROJECTLINE">
|
||||
<reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PROJECTISSUE" name="CPROJECTISSUE_CPROJECTLINE">
|
||||
<reference local="C_PROJECTISSUE_ID" foreign="C_PROJECTISSUE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PROJECTPHASE" name="CPROJECTPHASE_CPROJECTLINE">
|
||||
<reference local="C_PROJECTPHASE_ID" foreign="C_PROJECTPHASE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PROJECTTASK" name="CPROJECTTASK_CPROJECTLINE">
|
||||
<reference local="C_PROJECTTASK_ID" foreign="C_PROJECTTASK_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_CPROJECTLINE">
|
||||
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_PRODUCT_CATEGORY" name="MPRODUCTCAT_CPROJECTLINE">
|
||||
<reference local="M_PRODUCT_CATEGORY_ID" foreign="M_PRODUCT_CATEGORY_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,44 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_PROJECTPHASE">
|
||||
<column name="C_PROJECT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" 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="ISCOMPLETE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="PRICEACTUAL" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="GENERATEORDER" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="C_ORDER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_PHASE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_PROJECTPHASE_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="QTY" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="SEQNO" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="COMMITTEDAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="ISCOMMITCEILING" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
<column name="PROJINVOICERULE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="PLANNEDAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_ORDER" name="CORDER_CPROJECTPHASE">
|
||||
<reference local="C_ORDER_ID" foreign="C_ORDER_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PHASE" name="CPHASE_CPROJECTPHASE">
|
||||
<reference local="C_PHASE_ID" foreign="C_PHASE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PROJECT" name="CPROJECT_CPROJECTPHASE">
|
||||
<reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_CPROJECTPHASE">
|
||||
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
|
||||
</foreign-key>
|
||||
</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_PROJECTTASK">
|
||||
<column name="C_PROJECTTASK_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="C_TASK_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
||||
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
||||
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="SEQNO" primaryKey="false" required="true" type="INTEGER" autoIncrement="false"/>
|
||||
<column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false"/>
|
||||
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
||||
<column name="HELP" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
||||
<column name="M_PRODUCT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
||||
<column name="C_PROJECTPHASE_ID" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="QTY" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="PROJINVOICERULE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
||||
<column name="PLANNEDAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<column name="COMMITTEDAMT" primaryKey="false" required="true" type="NUMERIC" default="0" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_PROJECTPHASE" name="CPROJECTPHASE_CPROJECTTASK">
|
||||
<reference local="C_PROJECTPHASE_ID" foreign="C_PROJECTPHASE_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_TASK" name="CTASK_CPROJECTTASK">
|
||||
<reference local="C_TASK_ID" foreign="C_TASK_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="M_PRODUCT" name="MPRODUCT_CPROJECTTASK">
|
||||
<reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
|
||||
</foreign-key>
|
||||
</table>
|
||||
</database>
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
||||
<database name="default" defaultIdMethod="none">
|
||||
<table name="C_PROJECTTYPE">
|
||||
<column name="C_PROJECTTYPE_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="PROJECTCATEGORY" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
||||
</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_PROJECT_ACCT">
|
||||
<column name="C_PROJECT_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="PJ_ASSET_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<column name="PJ_WIP_ACCT" primaryKey="false" required="true" type="ID" autoIncrement="false"/>
|
||||
<foreign-key foreignTable="C_ACCTSCHEMA" name="CACCTSCHEMA_CPROJECTACCT">
|
||||
<reference local="C_ACCTSCHEMA_ID" foreign="C_ACCTSCHEMA_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_PROJECT" name="C_PROJECT_PROJECTACCT">
|
||||
<reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PJASSET_CPROJECT">
|
||||
<reference local="PJ_ASSET_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<foreign-key foreignTable="C_VALIDCOMBINATION" name="VC_PJWIP_CPROJECT">
|
||||
<reference local="PJ_WIP_ACCT" foreign="C_VALIDCOMBINATION_ID"/>
|
||||
</foreign-key>
|
||||
<check>
|
||||
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
||||
</check>
|
||||
</table>
|
||||
</database>
|
Loading…
Reference in New Issue