Table openpetra_trunk.public.p_partner_reminder
A reminder that can be linked to a Partner or Partner contact

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_partner_key_n numeric 10
p_partner_action.p_partner_key_n p_partner_action_fk6 R
s_group_partner_reminder.p_partner_key_n s_group_partner_reminder_fk2 R
p_partner.p_partner_key_n p_partner_reminder_fk1 R
Partner key of Partner to which the reminder is related
p_contact_id_i int4 10
p_partner_action.p_contact_id_i p_partner_action_fk6 R
s_group_partner_reminder.p_contact_id_i s_group_partner_reminder_fk2 R
p_partner_contact.p_contact_id_i p_partner_reminder_fk2 R
ID of Contact to which reminder relates. Null means that reminder relates just to a Partner
p_reminder_id_i int4 10 0
p_partner_action.p_reminder_id_i p_partner_action_fk6 R
s_group_partner_reminder.p_reminder_id_i s_group_partner_reminder_fk2 R
ID of this reminder (only unique per Partner/Contact)
s_user_id_c varchar 20  √  null
s_user.s_user_id_c p_partner_reminder_fk3 R
The user that requires this reminder
p_category_code_c varchar 40  √  null
p_reminder_category.p_code_c p_partner_reminder_fk6 R
This is a category, by which reminders can be grouped.
p_action_type_c varchar 16  √  null Type of action to take on getting the reminder (eg. Email etc)
p_reminder_reason_c varchar 600  √  null Reason for the reminder (eg. birthday, etc.)
p_comment_c varchar 600  √  null Additional Comments
p_event_date_d date 13  √  null Date of event that reminder is about (if the reminder relates to a specific event like a birthday).
p_first_reminder_date_d date 13 Date on which to send/display first reminder.
p_reminder_frequency_i int4 10  √  0 Frequency (in days) with which re-reminders should be sent.
p_last_reminder_sent_d date 13  √  null Date on which the last reminder was sent
p_next_reminder_date_d date 13  √  null Date on which the next reminder will be sent
p_reminder_active_l bool 1 true Is this reminder still active?
p_email_address_c varchar 1000  √  null Email address to which reminder should be sent
p_restricted_l bool 1  √  false Indicates whether or not the contact has restricted access. If it does then the access will be controlled by s_group_partner_reminder
s_module_id_c varchar 20  √  null
s_module.s_module_id_c p_partner_reminder_fk4 R
Identifies a module. A module is any part of aprogram which is related to each menu entry or to the sub-system. Eg, partner administration, AP, AR etc.
s_user_restriction_c varchar 20  √  null
s_user.s_user_id_c p_partner_reminder_fk5 R
If set, this contact is restricted to one user.
s_date_created_d date 13  √  ('now'::text)::date
s_created_by_c varchar 20  √  null
s_user.s_user_id_c p_partner_reminder_fkcr R
s_date_modified_d date 13  √  null
s_modified_by_c varchar 20  √  null
s_user.s_user_id_c p_partner_reminder_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
p_partner_key_n + p_contact_id_i + p_reminder_id_i Primary key Asc/Asc/Asc p_partner_reminder_pk
p_partner_key_n Performance Asc inx_p_partner_reminder_fk1_key1
p_contact_id_i Performance Asc inx_p_partner_reminder_fk2_key2
s_user_id_c Performance Asc inx_p_partner_reminder_fk3_key3
s_module_id_c Performance Asc inx_p_partner_reminder_fk4_key4
s_user_restriction_c Performance Asc inx_p_partner_reminder_fk5_key5
p_category_code_c Performance Asc inx_p_partner_reminder_fk6_key6
s_created_by_c Performance Asc inx_p_partner_reminder_fkcr_key7
s_modified_by_c Performance Asc inx_p_partner_reminder_fkmd_key8
p_partner_key_n + p_contact_id_i + p_reminder_id_i Must be unique Asc/Asc/Asc inx_p_partner_reminder_pk0
p_partner_key_n + p_next_reminder_date_d Performance Asc/Asc p_partner_reminder_k0

Close relationships  within of separation: