Table openpetra_trunk.public.a_ep_statement
List of recently imported bank statements

Generated by
SchemaSpy
Legend: SourceForge.net
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
a_statement_key_i int4 10
a_ep_transaction.a_statement_key_i a_ep_transaction_fk1 R
auto generated unique identifier for bank statements
a_bank_account_key_i int4 10  √  null
p_banking_details.p_banking_details_key_i a_ep_statement_fk1 R
this is the bank account that this statement is for; this is necessary because you can have several accounts at the same bank
a_ledger_number_i int4 10 0
a_account.a_ledger_number_i a_ep_statement_fk3 R
The four digit ledger number of the gift.
a_bank_account_code_c varchar 16  √  null
a_account.a_account_code_c a_ep_statement_fk3 R
The bank account for creating GL transactions against
a_date_d date 13 ('now'::text)::date The date of this statement
a_id_from_bank_c varchar 40  √  null This is the ID that the bank uses for this statement; it can be used to find the paper version of the bank statement
a_filename_c varchar 40  √  null This is the name of the file that this statement was read from; this can be used to prevent duplicate import of bank statements
a_end_balance_n numeric 24,10  √  null The end balance of the bank account after the statement
a_currency_code_c varchar 16
a_currency.a_currency_code_c a_ep_statement_fk2 R
This defines the currency of the transactions on this statement
s_date_created_d date 13  √  ('now'::text)::date
s_created_by_c varchar 20  √  null
s_user.s_user_id_c a_ep_statement_fkcr R
s_date_modified_d date 13  √  null
s_modified_by_c varchar 20  √  null
s_user.s_user_id_c a_ep_statement_fkmd R
s_modification_id_c varchar 150  √  null

Table contained 0 rows at Do Nov 10 18:00 MEZ 2011

Indexes:
Column(s) Type Sort Constraint Name
a_statement_key_i Primary key Asc a_ep_statement_pk
a_bank_account_key_i Performance Asc inx_a_ep_statement_fk1_key1
a_currency_code_c Performance Asc inx_a_ep_statement_fk2_key2
a_ledger_number_i + a_bank_account_code_c Performance Asc/Asc inx_a_ep_statement_fk3_key3
s_created_by_c Performance Asc inx_a_ep_statement_fkcr_key4
s_modified_by_c Performance Asc inx_a_ep_statement_fkmd_key5
a_statement_key_i Must be unique Asc inx_a_ep_statement_pk0

Close relationships  within of separation: