Table a_recurring_gift |
Description: Templates of donor gift information which can be copied into the gift system with recurring gift batches. |
PRIMARY KEY | ||
a_ledger_number_i
integer default: 0 NOT NULL | This is used as a key field in most of the accounting system files | a_recurring_gift_batch |
a_batch_number_i
integer default: 0 NOT NULL | identifes which batch a transaction belongs to | a_recurring_gift_batch |
a_gift_transaction_number_i
integer default: 0 NOT NULL | Identifies a transaction within a journal within a batch within a ledger | |
a_receipt_letter_code_c
varchar (16) | ||
a_method_of_giving_code_c
varchar (24) | Defines how a gift is given | a_method_of_giving |
a_method_of_payment_code_c
varchar (16) | This is how the partner paid. Eg cash, Cheque etc | a_method_of_payment |
p_donor_key_n
bigint default: 0 NOT NULL | This is the partner key assigned to each partner. It consists of the fund id followed by a computer generated six digit number. | p_partner |
a_last_detail_number_i
integer default: 0 NOT NULL | Identifies the last gift detail entered | |
a_reference_c
varchar (16) | Reference number/code for the transaction | |
p_banking_details_key_i
integer default: 0 NOT NULL | Bank or credit card account to use for making this gift transaction. | |
a_sepa_mandate_reference_c
varchar (70) | This reference is a unique string that reflects the customer or contract and the date of the SEPA mandate | |
a_sepa_mandate_given_d
date | The date the SEPA Mandate was given | |
a_charge_status_c
varchar (20) | Status of the credit card transaction | |
a_last_debit_d
date | The last date that a successfull direct debit or credit card charge occurred for this gift | |
a_debit_day_i
integer default: 0 | The day of the month to make the recurring gift | |
a_active_l
boolean default: '1' NOT NULL | Whether the recurring gift should be made | |
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_fk1: a_ledger_number_i;a_batch_number_i => a_recurring_gift_batch a_recurring_gift_fk2: a_method_of_giving_code_c => a_method_of_giving a_recurring_gift_fk3: a_method_of_payment_code_c => a_method_of_payment a_recurring_gift_fk4: p_donor_key_n => p_partner a_recurring_gift_fkcr: s_created_by_c => s_user a_recurring_gift_fkmd: s_modified_by_c => s_user | ||
REFERENCED BY a_recurring_gift_detail | ||