Table openpetra_trunk.public.p_state
A particular state within a process which can apply to a Partner. Each state will probably need to have an Idle state to indicate when no state applies.

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
p_process_code_c varchar 60
p_partner_state.p_process_code_c p_partner_state_fk2 R
p_process.p_process_code_c p_state_fk1 R
Process that this state belongs to
p_state_code_c varchar 60
p_partner_state.p_state_code_c p_partner_state_fk2 R
Code for the state
p_state_descr_c varchar 400  √  null Description of the state
p_active_l bool 1  √  null Is this a currently active state?
p_system_state_l bool 1  √  null Is this a system defined state (as opposed to a user defined one)?
s_date_created_d date 13  √  ('now'::text)::date
s_created_by_c varchar 20  √  null
s_user.s_user_id_c p_state_fkcr R
s_date_modified_d date 13  √  null
s_modified_by_c varchar 20  √  null
s_user.s_user_id_c p_state_fkmd R
s_modification_id_c varchar 150  √  null

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

Indexes:
Column(s) Type Sort Constraint Name
p_process_code_c + p_state_code_c Primary key Asc/Asc p_state_pk
p_process_code_c Performance Asc inx_p_state_fk1_key1
s_created_by_c Performance Asc inx_p_state_fkcr_key2
s_modified_by_c Performance Asc inx_p_state_fkmd_key3
p_process_code_c + p_state_code_c Must be unique Asc/Asc inx_p_state_pk0

Close relationships  within of separation: