Table openpetra_trunk.public.p_data_label
This table is used to define data labels for individual use in each office.

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_key_i int4 10
p_data_label_use.p_data_label_key_i p_data_label_use_fk1 R
p_data_label_value_application.p_data_label_key_i p_data_label_value_application_fk2 R
p_data_label_value_partner.p_data_label_key_i p_data_label_value_partner_fk2 R
s_group_data_label.p_data_label_key_i s_group_data_label_fk2 R
A sequence key for data labels.
p_text_c varchar 100  √  null Label Text
p_group_c varchar 100  √  null Data Label Group
p_description_c varchar 400  √  null Description (Help Text) for the label that the user will see
p_data_type_c varchar 40 Data Type (char | integer | float | currency | boolean | date | time | partnerkey | lookup)
p_char_length_i int4 10  √  null Maximum length of data string if data type is set to character.
p_num_decimal_places_i int4 10  √  null Number of decimal places if data type is set to numeric.
p_currency_code_c varchar 16  √  null
a_currency.a_currency_code_c p_data_label_fk1 R
This defines which currency is being used (if data type is currency)
p_lookup_category_code_c varchar 60  √  null
p_data_label_lookup_category.p_category_code_c p_data_label_fk2 R
If a lookup category is selected then the values can be chosen from a drop down box
p_entry_mandatory_l bool 1  √  false If TRUE then a value for this label has to be set
p_displayed_l bool 1  √  true If TRUE then this data label will be displayed. Gives a chance to hide but keep labels for historical reasons.
p_not_displayed_from_d date 13  √  null Data label will not be displayed any longer from this date on.
p_editable_l bool 1  √  true if FALSE then the values will be displayed but are not editable.
p_not_editable_from_d date 13  √  null Data label values will not be editable any longer from this date on.
p_restricted_l bool 1  √  false Indicates whether or not the data label has restricted access. If it does then the access will be controlled by s_group_data_label
s_date_created_d date 13  √  ('now'::text)::date
s_created_by_c varchar 20  √  null
s_user.s_user_id_c p_data_label_fkcr R
s_date_modified_d date 13  √  null
s_modified_by_c varchar 20  √  null
s_user.s_user_id_c p_data_label_fkmd R
s_modification_id_c varchar 150  √  null

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

Indexes:
Column(s) Type Sort Constraint Name
p_key_i Primary key Asc p_data_label_pk
p_currency_code_c Performance Asc inx_p_data_label_fk1_key1
p_lookup_category_code_c Performance Asc inx_p_data_label_fk2_key2
s_created_by_c Performance Asc inx_p_data_label_fkcr_key3
s_modified_by_c Performance Asc inx_p_data_label_fkmd_key4
p_key_i Must be unique Asc inx_p_data_label_pk0

Close relationships  within of separation: