146 lines
11 KiB
XML
146 lines
11 KiB
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
|
<database name="default" defaultIdMethod="none">
|
|
<table name="M_INOUT">
|
|
<column name="M_INOUT_ID" primaryKey="true" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="AD_CLIENT_ID" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="AD_ORG_ID" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
|
<column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
|
<column name="CREATEDBY" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
|
<column name="UPDATEDBY" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="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="DOCACTION" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
|
|
<column name="DOCSTATUS" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
|
|
<column name="POSTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
|
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
|
<column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
|
<column name="C_DOCTYPE_ID" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
|
|
<column name="C_ORDER_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="DATEORDERED" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
|
<column name="ISPRINTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
|
<column name="MOVEMENTTYPE" primaryKey="false" required="true" type="CHAR" size="2" autoIncrement="false"/>
|
|
<column name="MOVEMENTDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
|
<column name="DATEACCT" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
|
<column name="C_BPARTNER_ID" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="C_BPARTNER_LOCATION_ID" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="M_WAREHOUSE_ID" primaryKey="false" required="true" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="POREFERENCE" primaryKey="false" required="false" type="VARCHAR" size="20" 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="DECIMAL" size="22" 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" size="10" autoIncrement="false"/>
|
|
<column name="C_CHARGE_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="CHARGEAMT" primaryKey="false" required="false" type="DECIMAL" size="22" default="0" autoIncrement="false"/>
|
|
<column name="PRIORITYRULE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false"/>
|
|
<column name="DATEPRINTED" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
|
<column name="C_INVOICE_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="CREATEFROM" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
|
<column name="GENERATETO" primaryKey="false" required="false" type="CHAR" size="1" 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" size="10" autoIncrement="false"/>
|
|
<column name="SALESREP_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="NOPACKAGES" primaryKey="false" required="false" type="DECIMAL" size="10" autoIncrement="false"/>
|
|
<column name="PICKDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
|
<column name="SHIPDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
|
<column name="TRACKINGNO" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
|
<column name="AD_ORGTRX_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="C_PROJECT_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="C_CAMPAIGN_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="C_ACTIVITY_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="USER1_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="USER2_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="DATERECEIVED" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
|
<column name="ISINTRANSIT" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
|
<column name="REF_INOUT_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
|
|
<column name="CREATECONFIRM" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
|
<column name="CREATEPACKAGE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
|
<column name="ISAPPROVED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
|
<column name="ISINDISPUTE" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
|
<column name="VOLUME" primaryKey="false" required="false" type="DECIMAL" size="22" autoIncrement="false"/>
|
|
<column name="WEIGHT" primaryKey="false" required="false" type="DECIMAL" size="22" autoIncrement="false"/>
|
|
<foreign-key foreignTable="AD_ORG" name="ADORGTRX_MINOUT">
|
|
<reference local="AD_ORGTRX_ID" foreign="AD_ORG_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="AD_ORG" name="ADORG_MINOUT">
|
|
<reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="AD_USER" name="ADUSER_MINOUT">
|
|
<reference local="AD_USER_ID" foreign="AD_USER_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="AD_USER" name="ADUSER_SR_MINOUT">
|
|
<reference local="SALESREP_ID" foreign="AD_USER_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_ACTIVITY" name="CACTIVITY_MINOUT">
|
|
<reference local="C_ACTIVITY_ID" foreign="C_ACTIVITY_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_MINOUT">
|
|
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_BPARTNER_LOCATION" name="VBPLOCATION_MINOUT">
|
|
<reference local="C_BPARTNER_LOCATION_ID" foreign="C_BPARTNER_LOCATION_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_CAMPAIGN" name="CCAMPAIGN_MINOUT">
|
|
<reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_CHARGE" name="CCHARGE_MINOUT">
|
|
<reference local="C_CHARGE_ID" foreign="C_CHARGE_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_DOCTYPE" name="CDOCTYPE_MINOUT">
|
|
<reference local="C_DOCTYPE_ID" foreign="C_DOCTYPE_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUEUSER1_MINOUT">
|
|
<reference local="USER1_ID" foreign="C_ELEMENTVALUE_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_ELEMENTVALUE" name="CELEMENTVALUEUSER2_MINOUT">
|
|
<reference local="USER2_ID" foreign="C_ELEMENTVALUE_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_ORDER" name="CORDER_MINOUT">
|
|
<reference local="C_ORDER_ID" foreign="C_ORDER_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_PROJECT" name="CPROJECT_MINOUT">
|
|
<reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="M_INOUT" name="MINOUT_REF">
|
|
<reference local="REF_INOUT_ID" foreign="M_INOUT_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="M_SHIPPER" name="MSHIPPER_MINOUT">
|
|
<reference local="M_SHIPPER_ID" foreign="M_SHIPPER_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="M_WAREHOUSE" name="MWAREHOUSE_MINOUT">
|
|
<reference local="M_WAREHOUSE_ID" foreign="M_WAREHOUSE_ID"/>
|
|
</foreign-key>
|
|
<index name="M_INOUT_ORDER">
|
|
<index-column name="C_ORDER_ID"/>
|
|
</index>
|
|
<index name="M_INOUT_BPARTNER">
|
|
<index-column name="C_BPARTNER_ID"/>
|
|
</index>
|
|
<index name="M_INOUT_DOCUMENTNO">
|
|
<index-column name="DOCUMENTNO"/>
|
|
</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[IsPrinted in ('Y','N')]]></rule>
|
|
</check>
|
|
<check>
|
|
<rule><![CDATA[CreateFrom in ('Y','N')]]></rule>
|
|
</check>
|
|
<check>
|
|
<rule><![CDATA[GenerateTo in ('Y','N')]]></rule>
|
|
</check>
|
|
</table>
|
|
</database>
|