Table idempiere9.adempiere.c_payment
Payment identifier

Generated by
Quality Systems & Solutions
Legend:
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents Comments
c_payment_id numeric 10
b_buyerfunds.c_payment_id cpayment_bbuyerfunds R
b_sellerfunds.c_payment_id cpayment_bsellerfunds R
c_allocationline.c_payment_id cpayment_callocationline R
c_bankstatementline.c_payment_id cpayment_cbankstmtline R
c_cashline.c_payment_id cpayment_ccashline R
c_depositbatchline.c_payment_id cpayment_cdepositbatchline R
c_dunningrunline.c_payment_id cpayment_cdunningrunline N
c_invoice.c_payment_id cpayment_cinvoice R
c_order.c_payment_id cpayment_corder R
c_payment.ref_payment_id refpayment_cpayment R
c_payment.reversal_id reversal_cpayment R
c_paymentallocate.c_payment_id cpayment_cpaymentallocate C
c_paymenttransaction.c_payment_id cpayment_cpaymenttransaction R
c_payselectioncheck.c_payment_id cpayment_cpayselectioncheck R
c_pospayment.c_payment_id cpayment_cpospayment R
c_recurring.c_payment_id cpayment_crecurring R
c_recurring_run.c_payment_id cpayment_crecurringrun R
i_bankstatement.c_payment_id cpayment_ibankstatement N
i_payment.c_payment_id cpayment_ipayment N
r_request.c_payment_id cpayment_rrequest R
r_requestaction.c_payment_id cpayment_rrequestaction R
Payment identifier
ad_client_id numeric 10 Client/Tenant for this installation.
ad_org_id numeric 10
ad_org.ad_org_id adorg_cpayment R
Organizational entity within client
isactive bpchar 1 'Y'::bpchar The record is active in the system
created timestamp 29,6 now() Date this record was created
createdby numeric 10 User who created this records
updated timestamp 29,6 now() Date this record was updated
updatedby numeric 10 User who updated this records
documentno varchar 30 Document sequence number of the document
datetrx timestamp 29,6 Transaction Date
isreceipt bpchar 1 'Y'::bpchar This is a sales transaction (receipt)
c_doctype_id numeric 10
c_doctype.c_doctype_id cdoctype_cpayment R
Document type or rules
trxtype bpchar 1 Type of credit card transaction
c_bankaccount_id numeric 10  √  null
c_bankaccount.c_bankaccount_id cbankaccount_cpayment R
Account at the Bank
c_bpartner_id numeric 10  √  null
c_bpartner.c_bpartner_id cbpartner_cpayment R
Identifies a Business Partner
c_invoice_id numeric 10  √  null
c_invoice.c_invoice_id cinvoice_cpayment R
Invoice Identifier
c_bp_bankaccount_id numeric 10  √  null
c_bp_bankaccount.c_bp_bankaccount_id cbpbankacct_cpayment N
Bank Account of the Business Partner
c_paymentbatch_id numeric 10  √  null
c_paymentbatch.c_paymentbatch_id cpaymentbatch_cpayment R
Payment batch for EFT
tendertype bpchar 1 Method of Payment
creditcardtype bpchar 1  √  null Credit Card (Visa, MC, AmEx)
creditcardnumber varchar 20  √  null Credit Card Number
creditcardvv varchar 4  √  null Credit Card Verification code on credit card
creditcardexpmm numeric 10  √  null Expiry Month
creditcardexpyy numeric 10  √  null Expiry Year
micr varchar 20  √  null Combination of routing no, account and check no
routingno varchar 20  √  null Bank Routing Number
accountno varchar 20  √  null Account Number
checkno varchar 20  √  null Check Number
a_name varchar 60  √  null Name on Credit Card or Account holder
a_street varchar 60  √  null Street address of the Credit Card or Account holder
a_city varchar 60  √  null City or the Credit Card or Account Holder
a_state varchar 40  √  null State of the Credit Card or Account holder
a_zip varchar 20  √  null Zip Code of the Credit Card or Account Holder
a_ident_dl varchar 20  √  null Payment Identification - Driver License
a_ident_ssn varchar 20  √  null Payment Identification - Social Security No
a_email varchar 60  √  null Email Address
voiceauthcode varchar 20  √  null Voice Authorization Code from credit card company
orig_trxid varchar 20  √  null Original Transaction ID
ponum varchar 60  √  null Purchase Order Number
c_currency_id numeric 10
c_currency.c_currency_id ccurrency_cpayment R
The Currency for this record
payamt numeric 0 0 Amount being paid
discountamt numeric 0  √  0 Calculated amount of discount
writeoffamt numeric 0  √  0 Amount to write-off
taxamt numeric 0  √  0 Tax Amount for a document
isapproved bpchar 1 'N'::bpchar Indicates if this document requires approval
r_pnref varchar 20  √  null Payment reference
r_result varchar 20  √  null Result of transmission
r_respmsg varchar 60  √  null Response message
r_authcode varchar 20  √  null Authorization Code returned
r_avsaddr bpchar 1  √  null This address has been verified
r_avszip bpchar 1  √  null The Zip Code has been verified
r_info varchar 2000  √  null Response info
processing bpchar 1  √  null Process Now
oprocessing bpchar 1  √  null This payment can be processed online
docstatus bpchar 2 The current status of the document
docaction bpchar 2 The targeted status of the document
isreconciled bpchar 1 'N'::bpchar Payment is reconciled with bank statement
isallocated bpchar 1 'N'::bpchar Indicates if the payment has been allocated
isonline bpchar 1 'N'::bpchar Can be accessed online
processed bpchar 1 'N'::bpchar The document has been processed
posted bpchar 1 'N'::bpchar Posting status
isoverunderpayment bpchar 1 'Y'::bpchar Over-Payment (unallocated) or Under-Payment (partial payment)
overunderamt numeric 0  √  0 Over-Payment (unallocated) or Under-Payment (partial payment) Amount
a_country varchar 40  √  null Country
c_project_id numeric 10  √  null
c_project.c_project_id cproject_cpayment R
Financial Project
isselfservice bpchar 1 'N'::bpchar This is a Self-Service entry or this entry can be changed via Self-Service
chargeamt numeric 0  √  0 Charge Amount
c_charge_id numeric 10  √  null
c_charge.c_charge_id ccharge_cpayment R
Additional document charges
isdelayedcapture bpchar 1 'N'::bpchar Charge after Shipment
r_authcode_dc varchar 20  √  null Authorization Code Delayed Capture returned
r_cvv2match bpchar 1  √  null Credit Card Verification Code Match
r_pnref_dc varchar 20  √  null Payment Reference Delayed Capture
swipe varchar 80  √  null Track 1 and 2 of the Credit Card
ad_orgtrx_id numeric 10  √  null
ad_org.ad_org_id adorgtrx_cpayment R
Performing or initiating organization
c_campaign_id numeric 10  √  null
c_campaign.c_campaign_id ccampaign_cpayment R
Marketing Campaign
c_activity_id numeric 10  √  null
c_activity.c_activity_id cactivity_cpayment R
Business Activity
user1_id numeric 10  √  null
c_elementvalue.c_elementvalue_id celementvalueuser1_cpayment R
User defined list element #1
user2_id numeric 10  √  null
c_elementvalue.c_elementvalue_id celementvalueuser2_cpayment R
User defined list element #2
c_conversiontype_id numeric 10  √  null
c_conversiontype.c_conversiontype_id cconversiontype_cpayment R
Currency Conversion Rate Type
description varchar 255  √  null Optional short description of the record
dateacct timestamp 29,6 Accounting Date
c_order_id numeric 10  √  null
c_order.c_order_id corder_cpayment R
Order
isprepayment bpchar 1 'N'::bpchar The Payment/Receipt is a Prepayment
ref_payment_id numeric 10  √  null
c_payment.c_payment_id refpayment_cpayment R
Referenced Payment
reversal_id numeric 10  √  null
c_payment.c_payment_id reversal_cpayment R
ID of document reversal
c_cashbook_id numeric 10  √  null
c_cashbook.c_cashbook_id c_payment__c_cashbo_c_cashbook R
Cash Book for recording petty cash transactions
processedon numeric 0  √  null The date+time (expressed in decimal format) when the document has been processed
c_payment_uu varchar 36  √  NULL::character varying C_Payment_UU
c_postendertype_id numeric 10  √  NULL::numeric
c_postendertype.c_postendertype_id cpostendertype_cpayment R
POS Tender Type
c_paymentprocessor_id numeric 10  √  NULL::numeric
c_paymentprocessor.c_paymentprocessor_id cpaymentprocessor_cpayment R
Payment processor for electronic payments
customerpaymentprofileid varchar 60  √  NULL::character varying Customer Payment Profile ID
customerprofileid varchar 60  √  NULL::character varying Customer Profile ID
customeraddressid varchar 60  √  NULL::character varying Customer Address ID
isvoided bpchar 1 'N'::bpchar Voided
r_voidmsg varchar 255  √  NULL::character varying Void Message
c_depositbatch_id numeric 10  √  NULL::numeric
c_depositbatch.c_depositbatch_id cdepositbatch_cpayment R
Deposit Batch
iban varchar 40  √  NULL::character varying International Bank Account Number
swiftcode varchar 20  √  NULL::character varying Swift Code or BIC
currencyrate numeric 0  √  null Currency Conversion Rate
convertedamt numeric 0  √  null Converted Amount
isoverridecurrencyrate bpchar 1 'N'::bpchar Override Currency Conversion Rate

Table contained 2 rows at 2021-12-25 14:43 +0100

Indexes:
Column(s) Type Sort Constraint Name
c_payment_id Primary key Asc c_payment_pkey
c_bankaccount_id Performance Asc c_payment_bankaccount
c_bpartner_id Performance Asc c_payment_bpartner
c_payment_uu Must be unique Asc c_payment_uu_idx
posted + processed + processedon + ad_client_id Performance Asc/Asc/Asc/Asc idxc_payment_proc_on


SchemaSpy was unable to generate a diagram of table relationships.
SchemaSpy requires Graphviz version 2.2.1 or versions greater than 2.4 from www.graphviz.org.