114 lines
9.5 KiB
XML
114 lines
9.5 KiB
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
|
|
<database name="default" defaultIdMethod="none">
|
|
<table name="I_PAYMENT">
|
|
<column name="I_PAYMENT_ID" primaryKey="true" required="true" type="ID" autoIncrement="false"/>
|
|
<column name="AD_CLIENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
|
<column name="AD_ORG_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
|
<column name="ISACTIVE" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
|
<column name="CREATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
|
<column name="CREATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
|
<column name="UPDATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
|
|
<column name="UPDATEDBY" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
|
<column name="I_ISIMPORTED" primaryKey="false" required="true" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
|
<column name="I_ERRORMSG" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
|
<column name="PROCESSED" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
|
<column name="C_PAYMENT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
|
<column name="DOCUMENTNO" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
|
<column name="DATETRX" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
|
<column name="ISRECEIPT" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
|
|
<column name="C_DOCTYPE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
|
<column name="DOCTYPENAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
|
<column name="TRXTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
|
<column name="C_BANKACCOUNT_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
|
<column name="BANKACCOUNTNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
|
<column name="C_BPARTNER_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
|
<column name="BPARTNERVALUE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
|
<column name="C_INVOICE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
|
<column name="INVOICEDOCUMENTNO" primaryKey="false" required="false" type="VARCHAR" size="30" autoIncrement="false"/>
|
|
<column name="TENDERTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
|
<column name="CREDITCARDTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
|
<column name="CREDITCARDNUMBER" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
|
<column name="CREDITCARDVV" primaryKey="false" required="false" type="VARCHAR" size="4" autoIncrement="false"/>
|
|
<column name="CREDITCARDEXPMM" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
|
<column name="CREDITCARDEXPYY" primaryKey="false" required="false" type="INTEGER" autoIncrement="false"/>
|
|
<column name="MICR" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
|
<column name="ROUTINGNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
|
<column name="ACCOUNTNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
|
<column name="CHECKNO" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
|
<column name="A_NAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
|
<column name="A_STREET" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
|
<column name="A_CITY" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
|
<column name="A_STATE" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
|
<column name="A_ZIP" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
|
<column name="A_COUNTRY" primaryKey="false" required="false" type="VARCHAR" size="40" autoIncrement="false"/>
|
|
<column name="A_IDENT_DL" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
|
<column name="A_IDENT_SSN" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
|
<column name="A_EMAIL" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
|
<column name="VOICEAUTHCODE" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
|
<column name="SWIPE" primaryKey="false" required="false" type="VARCHAR" size="80" autoIncrement="false"/>
|
|
<column name="ORIG_TRXID" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
|
<column name="PONUM" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
|
<column name="C_CURRENCY_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
|
<column name="PAYAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
|
<column name="DISCOUNTAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
|
<column name="WRITEOFFAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
|
<column name="ISOVERUNDERPAYMENT" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
|
<column name="OVERUNDERAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
|
<column name="C_CHARGE_ID" primaryKey="false" required="false" type="ID" autoIncrement="false"/>
|
|
<column name="CHARGENAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
|
<column name="CHARGEAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
|
<column name="TAXAMT" primaryKey="false" required="false" type="NUMERIC" default="0" autoIncrement="false"/>
|
|
<column name="ISAPPROVED" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
|
<column name="ISSELFSERVICE" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
|
<column name="ISDELAYEDCAPTURE" primaryKey="false" required="false" type="CHAR" size="1" default="N" autoIncrement="false"/>
|
|
<column name="R_PNREF" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
|
<column name="R_RESULT" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
|
<column name="R_RESPMSG" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
|
|
<column name="R_AUTHCODE" primaryKey="false" required="false" type="VARCHAR" size="20" autoIncrement="false"/>
|
|
<column name="R_INFO" primaryKey="false" required="false" type="VARCHAR" size="2000" autoIncrement="false"/>
|
|
<column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false"/>
|
|
<column name="ISO_CODE" primaryKey="false" required="false" type="CHAR" size="3" autoIncrement="false"/>
|
|
<column name="DATEACCT" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
|
|
<foreign-key foreignTable="C_BANKACCOUNT" name="CBANKACCOUNT_IPAYMENT">
|
|
<reference local="C_BANKACCOUNT_ID" foreign="C_BANKACCOUNT_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_BPARTNER" name="CBPARTNER_IPAYMENT">
|
|
<reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_CHARGE" name="CCHARGE_IPAYMENT">
|
|
<reference local="C_CHARGE_ID" foreign="C_CHARGE_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_DOCTYPE" name="CDOCTYPE_IPAYMENT">
|
|
<reference local="C_DOCTYPE_ID" foreign="C_DOCTYPE_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_INVOICE" name="CINVOICE_IPAYMENT">
|
|
<reference local="C_INVOICE_ID" foreign="C_INVOICE_ID"/>
|
|
</foreign-key>
|
|
<foreign-key foreignTable="C_PAYMENT" name="CPAYMENT_IPAYMENT">
|
|
<reference local="C_PAYMENT_ID" foreign="C_PAYMENT_ID"/>
|
|
</foreign-key>
|
|
<check>
|
|
<rule><![CDATA[IsActive in ('Y','N')]]></rule>
|
|
</check>
|
|
<check>
|
|
<rule><![CDATA[Processed in ('Y','N')]]></rule>
|
|
</check>
|
|
<check>
|
|
<rule><![CDATA[IsReceipt in ('Y','N')]]></rule>
|
|
</check>
|
|
<check>
|
|
<rule><![CDATA[IsOverUnderPayment in ('Y','N')]]></rule>
|
|
</check>
|
|
<check>
|
|
<rule><![CDATA[IsApproved in ('Y','N')]]></rule>
|
|
</check>
|
|
<check>
|
|
<rule><![CDATA[IsSelfService in ('Y','N')]]></rule>
|
|
</check>
|
|
<check>
|
|
<rule><![CDATA[IsDelayedCapture in ('Y','N')]]></rule>
|
|
</check>
|
|
</table>
|
|
</database>
|