| Table a_form | 
| 
Description: The form description for user definable forms such as receipts  | 
| PRIMARY KEY | ||
| 
a_form_code_c
 
varchar (20) NOT NULL  | The code which defines the type of form described in the table | |
| 
a_form_name_c
 
varchar (20) NOT NULL  | The name of the form being created for the form code. | |
| 
a_form_description_c
 
varchar (100)  | Description of the form | |
| 
a_form_file_name_c
 
varchar (2000)  | File name used for the form. Includes path information. | |
| 
a_form_type_code_c
 
varchar (24) NOT NULL  | If there are several types of form then it can be specified here. Eg an annual receipt and an individual receipt. | |
| 
a_number_of_details_i
 
integer default: 0  | The number of repeating lines that will be displayed on each page of a form. | |
| 
a_print_in_bold_l
 
boolean default: '0' NOT NULL  | Is the report to be formatted to print in bold or not. | |
| 
a_lines_on_page_i
 
integer default: 66 NOT NULL  | The total number of lines that can be displayed on the page | |
| 
a_minimum_amount_n
 
numeric (24, 10) default: 0  | The minimum amount that is acceptable on a receipt | |
| 
a_options_c
 
varchar (64)  | Allows the exclusion of certain records from a report | |
| 
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 a_form_fkcr: s_created_by_c => s_user a_form_fkmd: s_modified_by_c => s_user  | ||
REFERENCED BY a_form_element  | ||