| Table p_bank | 
| 
Description: Details of an bank  | 
| PRIMARY KEY | ||
| 
p_partner_key_n
 
bigint 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 | 
| 
p_branch_name_c
 
varchar (160)  | ||
| 
p_contact_partner_key_n
 
bigint  | Generally the contact person for the unit who will be addressed in any correspondence | p_partner | 
| 
p_branch_code_c
 
varchar (20)  | The bank code/branch code/sort code (synonymous country-specific terms) for identifying a bank branch with a number/code. | |
| 
p_bic_c
 
varchar (22)  | BIC (Bank Identifier Code)/SWIFT code. The Bank Identifier Code is a unique address which, in telecommunication messages, identifies precisely the financial institutions involved in financial transactions. BICs either have 8 or 11 characters. | |
| 
p_ep_format_file_c
 
varchar (96)  | The format file to be used for electronic payment | |
| 
p_credit_card_l
 
boolean default: '0'  | Is this a credit card type (eg. VISA)? | |
| 
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 p_bank_fk1: p_partner_key_n => p_partner p_bank_fk2: p_contact_partner_key_n => p_partner p_bank_fkcr: s_created_by_c => s_user p_bank_fkmd: s_modified_by_c => s_user  | ||
REFERENCED BY p_banking_details  | ||