Table openpetra_trunk.public.a_motivation_group
This is used to track a partner's reason for contacting the organisation/sending money. Divided into Motivation Detail codes.

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
a_ledger_number_i int4 10 0
a_motivation_detail.a_ledger_number_i a_motivation_detail_fk1 R
a_ledger.a_ledger_number_i a_motivation_group_fk1 R
This is used as a key field in most of the accounting system files
a_motivation_group_code_c varchar 16
a_motivation_detail.a_motivation_group_code_c a_motivation_detail_fk1 R
This defines a motivation group.
a_motivation_group_description_c varchar 100 This is a long description and is 80 characters long.
a_group_status_l bool 1 true Defines whether the motivation group is still in use
a_motivation_group_desc_local_c varchar 100  √  null This is a long description and is 80 characters long in the local language.
a_restricted_l bool 1  √  false Indicates whether or not the motivation has restricted access. If it does then the access will be controlled by s_group_motivation
s_date_created_d date 13  √  ('now'::text)::date
s_created_by_c varchar 20  √  null
s_user.s_user_id_c a_motivation_group_fkcr R
s_date_modified_d date 13  √  null
s_modified_by_c varchar 20  √  null
s_user.s_user_id_c a_motivation_group_fkmd R
s_modification_id_c varchar 150  √  null

Table contained 28 rows at Do Nov 10 18:00 MEZ 2011

Indexes:
Column(s) Type Sort Constraint Name
a_ledger_number_i + a_motivation_group_code_c Primary key Asc/Asc a_motivation_group_pk
a_ledger_number_i Performance Asc inx_a_motivation_group_fk1_key1
s_created_by_c Performance Asc inx_a_motivation_group_fkcr_key2
s_modified_by_c Performance Asc inx_a_motivation_group_fkmd_key3
a_ledger_number_i + a_motivation_group_code_c Must be unique Asc/Asc inx_a_motivation_group_pk0

Close relationships  within of separation: