Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('account_payment_id_seq'::regclass) |
|
|
|||||||||||||||||||||||
| message_main_attachment_id | int4 | 10 | √ | null |
|
|
Main Attachment |
||||||||||||||||||||||
| move_id | int4 | 10 | null |
|
|
Journal Entry |
|||||||||||||||||||||||
| partner_bank_id | int4 | 10 | √ | null |
|
|
Recipient Bank Account |
||||||||||||||||||||||
| paired_internal_transfer_payment_id | int4 | 10 | √ | null |
|
|
Paired Internal Transfer Payment |
||||||||||||||||||||||
| payment_method_line_id | int4 | 10 | √ | null |
|
|
Payment Method |
||||||||||||||||||||||
| payment_method_id | int4 | 10 | √ | null |
|
|
Method |
||||||||||||||||||||||
| currency_id | int4 | 10 | √ | null |
|
|
Currency |
||||||||||||||||||||||
| partner_id | int4 | 10 | √ | null |
|
|
Customer/Vendor |
||||||||||||||||||||||
| outstanding_account_id | int4 | 10 | √ | null |
|
|
Outstanding Account |
||||||||||||||||||||||
| destination_account_id | int4 | 10 | √ | null |
|
|
Destination Account |
||||||||||||||||||||||
| destination_journal_id | int4 | 10 | √ | null |
|
|
Destination Journal |
||||||||||||||||||||||
| create_uid | int4 | 10 | √ | null |
|
|
Created by |
||||||||||||||||||||||
| write_uid | int4 | 10 | √ | null |
|
|
Last Updated by |
||||||||||||||||||||||
| payment_type | varchar | 2147483647 | null |
|
|
Payment Type |
|||||||||||||||||||||||
| partner_type | varchar | 2147483647 | null |
|
|
Partner Type |
|||||||||||||||||||||||
| payment_reference | varchar | 2147483647 | √ | null |
|
|
Payment Reference |
||||||||||||||||||||||
| amount | numeric | 0 | √ | null |
|
|
Amount |
||||||||||||||||||||||
| amount_company_currency_signed | numeric | 0 | √ | null |
|
|
Amount Company Currency Signed |
||||||||||||||||||||||
| is_reconciled | bool | 1 | √ | null |
|
|
Is Reconciled |
||||||||||||||||||||||
| is_matched | bool | 1 | √ | null |
|
|
Is Matched With a Bank Statement |
||||||||||||||||||||||
| is_internal_transfer | bool | 1 | √ | null |
|
|
Internal Transfer |
||||||||||||||||||||||
| create_date | timestamp | 29,6 | √ | null |
|
|
Created on |
||||||||||||||||||||||
| write_date | timestamp | 29,6 | √ | null |
|
|
Last Updated on |
||||||||||||||||||||||
| payment_transaction_id | int4 | 10 | √ | null |
|
|
Payment Transaction |
||||||||||||||||||||||
| payment_token_id | int4 | 10 | √ | null |
|
|
Saved Payment Token |
||||||||||||||||||||||
| source_payment_id | int4 | 10 | √ | null |
|
|
Source Payment |
||||||||||||||||||||||
| check_number | varchar | 2147483647 | √ | null |
|
|
|||||||||||||||||||||||
| check_amount_in_words | varchar | 2147483647 | √ | null |
|
|
Amount in Words |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| account_payment_pkey | Primary key | Asc | id |
| account_payment__move_id_index | Performance | Asc | move_id |
| account_payment__outstanding_account_id_index | Performance | Asc | outstanding_account_id |
| account_payment__paired_internal_transfer_payment_id_index | Performance | Asc | paired_internal_transfer_payment_id |
| account_payment__payment_method_line_id_index | Performance | Asc | payment_method_line_id |
| account_payment__source_payment_id_index | Performance | Asc | source_payment_id |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| account_payment_check_amount_not_negative | ((amount >= 0.0)) |

