Table a_recurring_gift_batch
Description:
Templates of gift batches which can be copied into the gift system.
PRIMARY KEY
a_ledger_number_i
integer default: 0 NOT NULL
ledger number a_ledger, a_account, a_cost_centre
a_batch_number_i
integer default: 0 NOT NULL
Gift batch number

a_batch_description_c
varchar (80)
gift batch description
a_hash_total_n
numeric (24, 10) default: 0
hash total for the gift batch
a_batch_total_n
numeric (24, 10) default: 0
total for the gift batch
a_bank_account_code_c
varchar (16) NOT NULL
bank account code which this batch is for a_account
a_last_gift_number_i
integer default: 0
last gift number of the batch
a_currency_code_c
varchar (16) NOT NULL
This defines which currency is being used a_currency
a_bank_cost_centre_c
varchar (24)
This identifies which cost centre is applied to the bank a_cost_centre
a_gift_type_c
varchar (16) default: 'Gift' NOT NULL
What type of gift is this? a gift or a gift in kind generally
a_method_of_payment_code_c
varchar (16)
This is how the partner paid. EgCash, Cheque etc
s_date_created_d
date default: CURRENT_DATE
The date the record was created.
s_created_by_c
varchar (20)
User ID of who created this record. s_user
s_date_modified_d
date
The date the record was modified.
s_modified_by_c
varchar (20)
User ID of who last modified this record. s_user
s_modification_id_t
timestamp default: CURRENT_TIMESTAMP
This identifies the current version of the record.


FOREIGN KEY
a_recurring_gift_batch_fk1: a_ledger_number_i => a_ledger
a_recurring_gift_batch_fk2: a_ledger_number_i;a_bank_account_code_c => a_account
a_recurring_gift_batch_fk3: a_ledger_number_i;a_bank_cost_centre_c => a_cost_centre
a_recurring_gift_batch_fk4: a_currency_code_c => a_currency
a_recurring_gift_batch_fkcr: s_created_by_c => s_user
a_recurring_gift_batch_fkmd: s_modified_by_c => s_user


REFERENCED BY
a_recurring_gift, a_recurring_gift_detail