Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
i_payment_id | numeric | 10 | null |
|
|
||||||
ad_client_id | numeric | 10 | √ | null |
|
|
|||||
ad_org_id | numeric | 10 | √ | null |
|
|
|||||
isactive | bpchar | 1 | √ | 'Y'::bpchar |
|
|
|||||
created | timestamp | 29,6 | statement_timestamp() |
|
|
||||||
createdby | numeric | 10 | √ | null |
|
|
|||||
updated | timestamp | 29,6 | statement_timestamp() |
|
|
||||||
updatedby | numeric | 10 | √ | null |
|
|
|||||
i_isimported | bpchar | 1 | 'N'::bpchar |
|
|
||||||
i_errormsg | varchar | 2000 | √ | null |
|
|
|||||
processed | bpchar | 1 | √ | 'N'::bpchar |
|
|
|||||
c_payment_id | numeric | 10 | √ | null |
|
|
|||||
documentno | varchar | 30 | √ | null |
|
|
|||||
datetrx | timestamp | 29,6 | √ | null |
|
|
|||||
isreceipt | bpchar | 1 | √ | 'Y'::bpchar |
|
|
|||||
c_doctype_id | numeric | 10 | √ | null |
|
|
|||||
doctypename | varchar | 60 | √ | null |
|
|
|||||
trxtype | bpchar | 1 | √ | null |
|
|
|||||
c_bankaccount_id | numeric | 10 | √ | null |
|
|
|||||
bankaccountno | varchar | 20 | √ | null |
|
|
|||||
c_bpartner_id | numeric | 10 | √ | null |
|
|
|||||
bpartnervalue | varchar | 40 | √ | null |
|
|
|||||
c_invoice_id | numeric | 10 | √ | null |
|
|
|||||
invoicedocumentno | varchar | 30 | √ | null |
|
|
|||||
tendertype | bpchar | 1 | √ | null |
|
|
|||||
creditcardtype | bpchar | 1 | √ | null |
|
|
|||||
creditcardnumber | varchar | 20 | √ | null |
|
|
|||||
creditcardvv | varchar | 4 | √ | null |
|
|
|||||
creditcardexpmm | numeric | 10 | √ | null |
|
|
|||||
creditcardexpyy | numeric | 10 | √ | null |
|
|
|||||
micr | varchar | 20 | √ | null |
|
|
|||||
routingno | varchar | 20 | √ | null |
|
|
|||||
accountno | varchar | 20 | √ | null |
|
|
|||||
checkno | varchar | 20 | √ | null |
|
|
|||||
a_name | varchar | 60 | √ | null |
|
|
|||||
a_street | varchar | 60 | √ | null |
|
|
|||||
a_city | varchar | 60 | √ | null |
|
|
|||||
a_state | varchar | 40 | √ | null |
|
|
|||||
a_zip | varchar | 20 | √ | null |
|
|
|||||
a_country | varchar | 40 | √ | null |
|
|
|||||
a_ident_dl | varchar | 20 | √ | null |
|
|
|||||
a_ident_ssn | varchar | 20 | √ | null |
|
|
|||||
a_email | varchar | 60 | √ | null |
|
|
|||||
voiceauthcode | varchar | 20 | √ | null |
|
|
|||||
swipe | varchar | 80 | √ | null |
|
|
|||||
orig_trxid | varchar | 20 | √ | null |
|
|
|||||
ponum | varchar | 60 | √ | null |
|
|
|||||
c_currency_id | numeric | 10 | √ | null |
|
|
|||||
payamt | numeric | 0 | √ | 0 |
|
|
|||||
discountamt | numeric | 0 | √ | 0 |
|
|
|||||
writeoffamt | numeric | 0 | √ | 0 |
|
|
|||||
isoverunderpayment | bpchar | 1 | √ | 'N'::bpchar |
|
|
|||||
overunderamt | numeric | 0 | √ | 0 |
|
|
|||||
c_charge_id | numeric | 10 | √ | null |
|
|
|||||
chargename | varchar | 60 | √ | null |
|
|
|||||
chargeamt | numeric | 0 | √ | 0 |
|
|
|||||
taxamt | numeric | 0 | √ | 0 |
|
|
|||||
isapproved | bpchar | 1 | √ | 'N'::bpchar |
|
|
|||||
isselfservice | bpchar | 1 | √ | 'N'::bpchar |
|
|
|||||
isdelayedcapture | bpchar | 1 | √ | 'N'::bpchar |
|
|
|||||
r_pnref | varchar | 20 | √ | null |
|
|
|||||
r_result | varchar | 20 | √ | null |
|
|
|||||
r_respmsg | varchar | 60 | √ | null |
|
|
|||||
r_authcode | varchar | 20 | √ | null |
|
|
|||||
r_info | varchar | 2000 | √ | null |
|
|
|||||
processing | bpchar | 1 | √ | null |
|
|
|||||
iso_code | bpchar | 3 | √ | null |
|
|
|||||
dateacct | timestamp | 29,6 | √ | null |
|
|
|||||
i_payment_uu | varchar | 36 | √ | NULL::character varying |
|
|
|||||
iban | varchar | 40 | √ | NULL::character varying |
|
|
|||||
swiftcode | varchar | 20 | √ | NULL::character varying |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
i_payment_pkey | Primary key | Asc | i_payment_id |
i_payment_uu_idx | Must be unique | Asc | i_payment_uu |
Check Constraints
Constraint Name | Constraint |
---|---|
i_payment_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
i_payment_isreceipt_check | ((isreceipt = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
i_payment_processed_check | ((processed = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
i_payment_isapproved_check | ((isapproved = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
i_payment_isdelayedcapture_check | ((isdelayedcapture = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
i_payment_isselfservice_check | ((isselfservice = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
i_payment_isoverunderpayment_check | ((isoverunderpayment = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |