| Table s_group_gift | 
| 
Description: Controls the access that a group has to a specific gift, if the gift is restricted  | 
| PRIMARY KEY | ||
| 
s_group_id_c
 
varchar (20) NOT NULL  | identifies a system group | s_group | 
| 
s_group_unit_key_n
 
bigint default: 0 NOT NULL  | Field that the group belongs to | s_group | 
| 
a_ledger_number_i
 
integer default: 0 NOT NULL  | Ledger Number | a_gift | 
| 
a_batch_number_i
 
integer default: 0 NOT NULL  | identifes which batch a transaction belongs to | a_gift | 
| 
a_gift_transaction_number_i
 
integer default: 0 NOT NULL  | Identifies a transaction within a journal within a batch within a ledger | a_gift | 
| 
s_read_access_l
 
boolean  | Control read access to the gift | |
| 
s_write_access_l
 
boolean  | Control write access to the gift | |
| 
s_delete_access_l
 
boolean  | Control delete access to the gift | |
| 
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 s_group_gift_fk1: s_group_id_c;s_group_unit_key_n => s_group s_group_gift_fk2: a_ledger_number_i;a_batch_number_i;a_gift_transaction_number_i => a_gift s_group_gift_fkcr: s_created_by_c => s_user s_group_gift_fkmd: s_modified_by_c => s_user  | ||