Table openpetra_trunk.public.a_recurring_gift_batch
Templates of gift batches which can be copied into the gift system.

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_ledger_number_i int4 10 0
a_recurring_gift.a_ledger_number_i a_recurring_gift_fk1 R
a_cost_centre.a_ledger_number_i a_recurring_gift_batch_fk3 R
a_ledger.a_ledger_number_i a_recurring_gift_batch_fk1 R
a_account.a_ledger_number_i a_recurring_gift_batch_fk2 R
ledger number
a_batch_number_i int4 10 0
a_recurring_gift.a_batch_number_i a_recurring_gift_fk1 R
Gift batch number
a_batch_description_c varchar 80  √  null gift batch description
a_hash_total_n numeric 24,10  √  0 hash total for the gift batch
a_batch_total_n numeric 24,10  √  0 total for the gift batch
a_bank_account_code_c varchar 16
a_account.a_account_code_c a_recurring_gift_batch_fk2 R
bank account code which this batch is for
a_last_gift_number_i int4 10  √  0 last gift number of the batch
a_currency_code_c varchar 16
a_currency.a_currency_code_c a_recurring_gift_batch_fk4 R
This defines which currency is being used
a_bank_cost_centre_c varchar 24  √  null
a_cost_centre.a_cost_centre_code_c a_recurring_gift_batch_fk3 R
This identifies which cost centre is applied to the bank
a_gift_type_c varchar 16 'Gift'::character varying What type of gift is this? a gift or a gift in kind generally
a_method_of_payment_code_c varchar 16  √  null This is how the partner paid. EgCash, Cheque etc
s_date_created_d date 13  √  ('now'::text)::date
s_created_by_c varchar 20  √  null
s_user.s_user_id_c a_recurring_gift_batch_fkcr R
s_date_modified_d date 13  √  null
s_modified_by_c varchar 20  √  null
s_user.s_user_id_c a_recurring_gift_batch_fkmd R
s_modification_id_c varchar 150  √  null

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

Indexes:
Column(s) Type Sort Constraint Name
a_ledger_number_i + a_batch_number_i Primary key Asc/Asc a_recurring_gift_batch_pk
a_ledger_number_i + a_batch_number_i Must be unique Asc/Asc inx_a_recurring_gift_batch_pk0
s_created_by_c Performance Asc inx_ecurring_gift_batch_fkcr_key5
s_modified_by_c Performance Asc inx_ecurring_gift_batch_fkmd_key6
a_ledger_number_i Performance Asc inx_recurring_gift_batch_fk1_key1
a_ledger_number_i + a_bank_account_code_c Performance Asc/Asc inx_recurring_gift_batch_fk2_key2
a_ledger_number_i + a_bank_cost_centre_c Performance Asc/Asc inx_recurring_gift_batch_fk3_key3
a_currency_code_c Performance Asc inx_recurring_gift_batch_fk4_key4

Close relationships  within of separation: