| Table s_group_cost_centre | 
| 
Description: Gives a group access to a specific cost centre (so that people without other finance access can access data on their own department)  | 
| 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_cost_centre | 
| 
a_cost_centre_code_c
 
varchar (24) NOT NULL  | Cost Centre | a_cost_centre | 
| 
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_cost_centre_fk1: s_group_id_c;s_group_unit_key_n => s_group s_group_cost_centre_fk2: a_ledger_number_i;a_cost_centre_code_c => a_cost_centre s_group_cost_centre_fkcr: s_created_by_c => s_user s_group_cost_centre_fkmd: s_modified_by_c => s_user  | ||