Table openpetra_trunk.public.s_group_cost_centre
Gives a group access to a specific cost centre (so that people without other finance access can access data on their own department)

Generated by
SchemaSpy
Legend: SourceForge.net
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents Comments
s_group_id_c varchar 20
s_group.s_group_id_c s_group_cost_centre_fk1 R
identifies a system group
s_group_unit_key_n numeric 10 0
s_group.s_unit_key_n s_group_cost_centre_fk1 R
Field that the group belongs to
a_ledger_number_i int4 10 0
a_cost_centre.a_ledger_number_i s_group_cost_centre_fk2 R
Ledger Number
a_cost_centre_code_c varchar 24
a_cost_centre.a_cost_centre_code_c s_group_cost_centre_fk2 R
Cost Centre
s_date_created_d date 13  √  ('now'::text)::date
s_created_by_c varchar 20  √  null
s_user.s_user_id_c s_group_cost_centre_fkcr R
s_date_modified_d date 13  √  null
s_modified_by_c varchar 20  √  null
s_user.s_user_id_c s_group_cost_centre_fkmd R
s_modification_id_c varchar 150  √  null

Table contained 0 rows at Mi Nov 09 18:02 MEZ 2011

Indexes:
Column(s) Type Sort Constraint Name
s_group_id_c + s_group_unit_key_n + a_ledger_number_i + a_cost_centre_code_c Primary key Asc/Asc/Asc/Asc s_group_cost_centre_pk
s_group_id_c + s_group_unit_key_n Performance Asc/Asc inx_s_group_cost_centre_fk1_key1
a_ledger_number_i + a_cost_centre_code_c Performance Asc/Asc inx_s_group_cost_centre_fk2_key2
s_created_by_c Performance Asc inx_s_group_cost_centre_fkcr_key3
s_modified_by_c Performance Asc inx_s_group_cost_centre_fkmd_key4
s_group_id_c + s_group_unit_key_n + a_ledger_number_i + a_cost_centre_code_c Must be unique Asc/Asc/Asc/Asc inx_s_group_cost_centre_pk0

Close relationships  within of separation: