Table s_report_template
Description:
filesystem for storage of XML report templates - those provided initially and also tweaks saved by users.
PRIMARY KEY
s_template_id_i
integer NOT NULL
Template Id

s_report_type_c
varchar (100) NOT NULL
Report Type
s_report_variant_c
varchar (100) NOT NULL
Report Title
s_author_c
varchar (100) NOT NULL
Tempate author
s_default_l
boolean default: '0' NOT NULL
Template will be selected by default
s_private_l
boolean default: '0' NOT NULL
Template only available to me
s_private_default_l
boolean default: '0' NOT NULL
Private template will be selected over public default
s_readonly_l
boolean default: '0' NOT NULL
Template cannot be modified
s_xml_text_c
text NOT NULL
Compressed XML text
s_date_created_d
date default: CURRENT_DATE
The date the record was created.
s_created_by_c
varchar (20)
User ID of who created this record. s_user
s_date_modified_d
date
The date the record was modified.
s_modified_by_c
varchar (20)
User ID of who last modified this record. s_user
s_modification_id_t
timestamp default: CURRENT_TIMESTAMP
This identifies the current version of the record.


FOREIGN KEY
s_report_template_fkcr: s_created_by_c => s_user
s_report_template_fkmd: s_modified_by_c => s_user