<APP billing="false" name="Human Resources" org="org_id" password="change_password" material="true">
	<MENU name="Human Resources">
		<MENU name="Service Desk">
			<MENU name="My Details" role="staff">4</MENU>
			<MENU name="Leave Application" role="staff">5</MENU>
			<MENU name="Perfomance Management" role="staff">44</MENU>
			<MENU name="My Tasks" role="staff">47</MENU>
			<MENU name="My Details" role="applicant">10</MENU>
			<MENU name="Vacancies">14</MENU>
			<MENU name="Internships" role="applicant">15</MENU>
			<MENU name="Claims Requests" role="staff">36</MENU>
			<MENU name="Loan Application" role="staff">205</MENU>
			<MENU name="Advance Application" role="staff">210</MENU>
			<MENU name="Pay Slip" role="staff">16</MENU>
			<MENU name="Petty Cash Request" role="staff">92</MENU>
			<MENU name="Petty Cash" role="pettycash">90</MENU>
			<MENU name="Transaction Ledger" role="finance">190</MENU>
			<MENU name="Client Forms" role="forms">72</MENU>
			<MENU name="Subscription" role="subscription">215</MENU>
			<MENU name="Approvals" role="staff">83</MENU>
		</MENU>
		<MENU name="Internship" role="admin,hr">
			<MENU name="Applicant">23</MENU>
			<MENU name="Internships">35</MENU>
		</MENU>
		<MENU name="Employees" role="admin,hr">
			<MENU name="Employees">24</MENU>
			<MENU name="Employees Archives">54</MENU>
			<MENU name="Casuals">25</MENU>
			<MENU name="Leave">26</MENU>
			<MENU name="Contracting">30</MENU>
			<MENU name="Objectives Review">42</MENU>
			<MENU name="Perfomance Review">40</MENU>
			<MENU name="Arbitration">45</MENU>
		</MENU>
		<MENU name="Administration" role="admin">
			<MENU name="Organisation">20</MENU>
			<MENU name="Subscriptions" role="master">94</MENU>
			<MENU name="Banks">21</MENU>
			<MENU name="Departments and Roles">22</MENU>
			<MENU name="Salary Scales">55</MENU>
			<MENU name="News Admin">19</MENU>
			<MENU name="Entitys">80</MENU>
			<MENU name="Forms" role="admin">71</MENU>
			<MENU name="EMails">81</MENU>
			<MENU name="Workflows">82</MENU>
			<MENU name="All Approvals">84</MENU>
		</MENU>
		<MENU name="Staff Reports" role="staff">
			<MENU name="Supervisor Review Report" role="staff">165</MENU>
			<MENU name="Leave Summary">220</MENU>
		</MENU>
		<MENU name="Training" role="training">
			<MENU name="Employee Trainings">50</MENU>
			<MENU name="Aptitude Tests">180</MENU>
			<MENU name="Aptitude Test Report">185</MENU>
		</MENU>
		<MENU name="Reports" role="admin,hr,reports">
			<MENU name="Summary Reports" role="hr">150</MENU>
			<MENU name="Employee List" role="hr">106</MENU>
			<MENU name="Banks" role="hr,reports">101</MENU>
			<MENU name="Departments" role="hr,reports">102</MENU>
			<MENU name="Definations" role="hr,reports">103</MENU>
			<MENU name="Applicants" role="hr">104</MENU>
			<MENU name="CV Applicant" role="hr">105</MENU>
			<MENU name="CV Employees" role="hr">107</MENU>
			<MENU name="Casuals" role="hr">108</MENU>
			<MENU name="Leave" role="hr">109</MENU>
			<MENU name="Intake" role="hr">110</MENU>
			<MENU name="Internships" role="hr">111</MENU>
			<MENU name="Perfomance Review" role="hr">112</MENU>
			<MENU name="Review Reports" role="admin,hr">160</MENU>
			<MENU name="Arbitration" role="hr">113</MENU>
			<MENU name="Staff Contracts" role="hr">155</MENU>
			<MENU name="Transaction ledger">195</MENU>
		</MENU>
		<MENU name="Payroll" role="admin,payroll,hr,reports" xml="payroll.xml">0</MENU>
		<MENU name="Projects" role="staff,admin,payroll,hr" xml="projects.xml">0</MENU>
		<MENU name="Business" role="finance" xml="business.xml">0</MENU>
		<MENU page="billing.jsp" name="Billing" role="subscription">0</MENU>
	</MENU>
	<CONFIGS name="Full system configurations">
		<AUDIT name="Full Table Audits">
			<TABLE>employees</TABLE>
			<TABLE>employee_month</TABLE>
			<TABLE>employee_adjustments</TABLE>
			<TABLE>employee_tax_types</TABLE>
			<TABLE>employee_advances</TABLE>
			<TABLE>advance_deductions</TABLE>
		</AUDIT>
	</CONFIGS>
	<DESK w="700" name="Dashboard" access="open" key="1" h="500">
		<DASHBOARD w="700" name="Dashboard">
			<TILE name="Number of Staff" role="staff" noorg.query="true" table="employees" where="(active = true)">
				<TEXTFIELD w="75" fnct="COALESCE(count(entity_id), 0)" title="Total Staff">total_staff</TEXTFIELD>
			</TILE>
			<TILE name="Pending Tasks" role="staff" noorg.query="true" table="tasks" where="(completed = true)" user="entity_id">
				<TEXTFIELD w="75" fnct="COALESCE(count(task_id), 0)" title="Pending Tasks">pending_tasks</TEXTFIELD>
			</TILE>
			<TILE name="Available Jobs" role="staff,applicant" noorg.query="true" table="vw_intake" where="(closing_date > current_date)">
				<TEXTFIELD w="75" fnct="COALESCE(count(intake_id), 0)" title="Jobs Available">jobs_available</TEXTFIELD>
			</TILE>
			<TILE name="Available Internships" role="applicant" noorg.query="true" table="vw_internships" where="(closing_date > current_date)">
				<TEXTFIELD w="75" fnct="COALESCE(count(internship_id), 0)" title="Jobs Available">jobs_available</TEXTFIELD>
			</TILE>
			<TILELIST name="News" keyfield="sys_news_id" role="staff" table="sys_news" where="(publish = true)">
				<TEXTFIELD w="75" title="News Title">sys_news_title</TEXTFIELD>
				<TEXTAREA w="430" title="Details" y="70" h="70" x="10">details</TEXTAREA>
			</TILELIST>
			<TILELIST name="Out of Office" keyfield="employee_leave_id" role="staff" orderby="leave_from" table="vw_employee_leave" where="((approve_status = 'Approved') AND (leave_to >= current_date))">
				<TEXTFIELD w="75" title="Employee Name">entity_name</TEXTFIELD>
				<TEXTDATE w="75" title="Leave From">leave_from</TEXTDATE>
				<TEXTDATE w="75" title="Leave To">leave_to</TEXTDATE>
			</TILELIST>
		</DASHBOARD>
	</DESK>
	<DESK w="700" name="Registration" key="2" h="500">
		<FORM new="true" name="Applicant" keyfield="entity_id" edit="false" delete="false" audit="false" table="applicants">
			<DEFAULT default="0">org_id</DEFAULT>
			<COMBOLIST w="50" title="Title" y="10" h="20" x="10">person_title
				<DATA>Miss</DATA>
				<DATA>Mr</DATA>
				<DATA>Mrs</DATA>
				<DATA>Dr</DATA>
				<DATA>Prof</DATA>
			</COMBOLIST>
			<TEXTFIELD w="100" title="Surname" y="10" h="20" x="190">surname</TEXTFIELD>
			<TEXTFIELD w="100" title="First Name" y="10" h="20" x="490">first_name</TEXTFIELD>
			<TEXTFIELD w="150" title="Middle Name" y="30" h="20" x="10">middle_name</TEXTFIELD>
			<TEXTFIELD w="150" title="Applicant Email" y="30" h="20" x="290">applicant_email</TEXTFIELD>
			<TEXTDATE w="150" title="Date Of Birth" y="50" h="20" x="10">date_of_birth</TEXTDATE>
			<COMBOBOX w="150" title="Nationality" default="KE" lptable="sys_countrys" noorg="true" lpkey="sys_country_id" y="50" h="20" x="290" lpfield="sys_country_name">nationality</COMBOBOX>
			<COMBOLIST w="150" title="Gender" y="70" h="20" x="10">gender
				<DATA key="M">Male</DATA>
				<DATA key="F">Female</DATA>
			</COMBOLIST>
			<COMBOLIST w="150" title="Marital Status" y="70" h="20" x="290">marital_status
				<DATA key="M">Married</DATA>
				<DATA key="S">Single</DATA>
			</COMBOLIST>
			<TEXTFIELD w="150" title="Identity Card" y="90" h="20" x="10">identity_card</TEXTFIELD>
			<TEXTFIELD w="430" title="Language" y="110" h="20" x="10">language</TEXTFIELD>
			<TEXTAREA w="550" tab="Interests" y="130" h="70" x="10">interests</TEXTAREA>
			<TEXTAREA w="550" tab="Objective" y="200" h="70" x="10">objective</TEXTAREA>
			<TEXTAREA w="550" tab="Field of Study" y="1" h="150" x="10">field_of_study</TEXTAREA>
			<TEXTAREA w="550" tab="Details" y="270" h="70" x="10">details</TEXTAREA>
			<GRID name="Applicant" keyfield="entity_id" linkfield="entity_id" display="form" table="applicants">
				<TEXTFIELD w="430" fnct="CAST('Data submited check your email for details' as varchar)" title="Submit" y="110" h="20" x="10">disp</TEXTFIELD>
				<TEXTFIELD w="150" title="Surname" y="10" h="20" x="10">surname</TEXTFIELD>
				<TEXTFIELD w="150" title="First Name" y="10" h="20" x="290">first_name</TEXTFIELD>
				<TEXTFIELD w="150" title="Middle Name" y="30" h="20" x="10">middle_name</TEXTFIELD>
				<TEXTFIELD w="150" title="Applicant Email" y="30" h="20" x="290">applicant_email</TEXTFIELD>
				<TEXTDATE w="150" title="Date Of Birth" y="50" h="20" x="10">date_of_birth</TEXTDATE>
				<TEXTFIELD w="150" title="Identity Card" y="90" h="20" x="10">identity_card</TEXTFIELD>
				<TEXTFIELD w="430" title="Language" y="110" h="20" x="10">language</TEXTFIELD>
			</GRID>
		</FORM>
	</DESK>
	<DESK w="700" name="Reset Passwords" key="3" h="500">
		<FORM name="Reset Passwords" keyfield="sys_password_id" table="sys_passwords">
			<TEXTFIELD w="430" title="User Name" y="10" h="20" x="10">sys_user_name</TEXTFIELD>
		</FORM>
	</DESK>
	<DESK w="700" name="My Details" key="4" h="580">
		<FORMVIEW new="false" name="My Details" gohint="Follow this link to update your details" keyfield="entity_id" table="vw_employees" user="entity_id">
			<TEXTFIELD w="75" title="ID">employee_id</TEXTFIELD>
			<TEXTFIELD w="75" title="First Name">first_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Surname">surname</TEXTFIELD>
			<TEXTFIELD w="75" title="Gender">gender_name</TEXTFIELD>
			<TEXTDECIMAL w="75" title="Basic Salary">basic_salary</TEXTDECIMAL>
			<TEXTFIELD w="75" title="Department">department_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Department Role">department_role_name</TEXTFIELD>
			<CHECKBOX w="75" title="Active">active</CHECKBOX>
			<JASPER name="CV" org.table="vw_employees" reportfile="cv_employees.jasper"></JASPER>
			<FORM new="false" tw="570" name="Details" keyfield="entity_id" table="employees" user="entity_id" th="200">
				<COMBOLIST w="150" title="Marital Status" y="10" h="20" x="290">marital_status
					<DATA key="M">Married</DATA>
					<DATA key="S">Single</DATA>
				</COMBOLIST>
				<COMBOBOX w="150" title="Nationality" default="KE" lptable="sys_countrys" noorg="true" lpkey="sys_country_id" y="30" h="20" x="10" lpfield="sys_country_name">nationality</COMBOBOX>
				<TEXTFIELD w="430" title="Language" y="50" h="20" x="10">language</TEXTFIELD>
				<TEXTAREA w="550" tab="Objective" y="1" h="170" x="10">objective</TEXTAREA>
				<TEXTAREA w="550" tab="Interests" y="1" h="170" x="10">Interests</TEXTAREA>
				<TEXTAREA w="550" tab="Field of Study" y="1" h="150" x="10">field_of_study</TEXTAREA>
				<TEXTAREA w="550" tab="Details" y="1" h="170" x="10">details</TEXTAREA>
			</FORM>
			<GRID name="Address" keyfield="address_id" linkfield="table_id" table="vw_address" where="table_name = 'employees'">
				<TEXTFIELD w="100" title="Country Name">sys_country_name</TEXTFIELD>
				<TEXTFIELD w="100" title="Postal Code">postal_code</TEXTFIELD>
				<TEXTFIELD w="100" title="Town">town</TEXTFIELD>
				<TEXTFIELD w="100" title="Phone Number">phone_number</TEXTFIELD>
				<TEXTFIELD w="100" title="Mobile">mobile</TEXTFIELD>
				<TEXTFIELD w="140" title="Email">email</TEXTFIELD>
				<CHECKBOX w="140" title="Default">is_default</CHECKBOX>
				<FORM name="Address" keyfield="address_id" linkfield="table_id" table="address">
					<DEFAULT default="employees">table_name</DEFAULT>
					<COMBOBOX w="430" title="Country" default="KE" lptable="sys_countrys" noorg="true" y="10" h="20" x="10" lpfield="sys_country_name">sys_country_id</COMBOBOX>
					<TEXTFIELD w="150" title="Post Office Box" y="30" h="20" x="10">post_office_box</TEXTFIELD>
					<TEXTFIELD w="150" title="Postal Code" y="30" h="20" x="290">postal_code</TEXTFIELD>
					<TEXTFIELD w="150" title="Town" y="50" h="20" x="10">town</TEXTFIELD>
					<TEXTFIELD w="430" title="Premises" y="70" h="20" x="10">premises</TEXTFIELD>
					<TEXTFIELD w="430" title="Street" y="90" h="20" x="10">street</TEXTFIELD>
					<TEXTFIELD w="430" title="Phone Number" y="110" h="20" x="10">phone_number</TEXTFIELD>
					<TEXTFIELD w="150" title="Extension" y="130" h="20" x="10">extension</TEXTFIELD>
					<TEXTFIELD w="430" title="Mobile" y="150" h="20" x="10">mobile</TEXTFIELD>
					<TEXTFIELD w="430" title="Fax" y="170" h="20" x="10">fax</TEXTFIELD>
					<TEXTFIELD w="430" title="Email" y="190" h="20" x="10">email</TEXTFIELD>
					<CHECKBOX w="30" title="Default" y="210" h="20" x="10">is_default</CHECKBOX>
					<TEXTAREA w="430" title="Details" y="230" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Education" keyfield="education_id" orderby="date_from desc" linkfield="entity_id" table="vw_education" user="entity_id">
				<TEXTFIELD w="75" title="Education Class Name">education_class_name</TEXTFIELD>
				<TEXTDATE w="75" title="Date From">date_from</TEXTDATE>
				<TEXTDATE w="75" title="Date To">date_to</TEXTDATE>
				<TEXTFIELD w="75" title="Name of Institution">name_of_school</TEXTFIELD>
				<TEXTFIELD w="75" title="Certification">examination_taken</TEXTFIELD>
				<TEXTFIELD w="75" title="Grades Obtained">grades_obtained</TEXTFIELD>
				<FORM name="Education" keyfield="education_id" linkfield="entity_id" table="education">
					<COMBOBOX w="430" title="Education Class" lptable="education_class" orderby="education_class_id" y="10" h="20" x="10" lpfield="education_class_name">education_class_id</COMBOBOX>
					<TEXTDATE w="150" title="Date From" required="true" y="30" h="20" x="10">date_from</TEXTDATE>
					<TEXTDATE w="150" title="Date To" y="30" h="20" x="290">date_to</TEXTDATE>
					<TEXTFIELD w="430" title="Name of Institution" required="true" y="50" h="20" x="10">name_of_school</TEXTFIELD>
					<TEXTFIELD w="430" title="Certification or Degree" placeholder="Certification or Degree: e.g. Msc Computer Science" y="70" h="20" x="10">examination_taken</TEXTFIELD>
					<TEXTFIELD w="150" title="Grades Obtained" placeholder="Grades Obtained: e.g. Upper second-class honours" y="90" h="20" x="10">grades_obtained</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="110" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Employment" keyfield="employment_id" orderby="date_from desc" linkfield="entity_id" table="vw_employment" user="entity_id">
				<TEXTDATE w="75" title="Date From">date_from</TEXTDATE>
				<TEXTDATE w="75" title="Date To">date_to</TEXTDATE>
				<TEXTFIELD w="75" title="Employers Name">employers_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Position Held">position_held</TEXTFIELD>
				<FORM name="Employment" keyfield="employment_id" linkfield="entity_id" table="employment">
					<TEXTDATE w="150" title="Date From" y="10" h="20" x="10">date_from</TEXTDATE>
					<TEXTDATE w="150" title="Date To" y="10" h="20" x="290">date_to</TEXTDATE>
					<TEXTFIELD w="430" title="Employers Name" y="30" h="20" x="10">employers_name</TEXTFIELD>
					<TEXTFIELD w="430" title="Position Held" y="50" h="20" x="10">position_held</TEXTFIELD>
					<TEXTAREA w="430" title="Responsibilities" y="70" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Kins" keyfield="kin_id" orderby="kin_type_id" linkfield="entity_id" table="vw_kins" user="entity_id">
				<TEXTFIELD w="75" title="Kin Type Name">kin_type_name</TEXTFIELD>
				<TEXTDATE w="75" title="Date Of Birth">date_of_birth</TEXTDATE>
				<TEXTFIELD w="75" title="Name">full_names</TEXTFIELD>
				<TEXTFIELD w="75" title="Identification">identification</TEXTFIELD>
				<FORM name="Kins" keyfield="kin_id" linkfield="entity_id" table="kins">
					<COMBOBOX w="430" title="Kin Type" lptable="kin_types" orderby="kin_type_id" y="10" h="20" x="10" lpfield="kin_type_name">kin_type_id</COMBOBOX>
					<TEXTFIELD w="430" title="Full Names" y="30" h="20" x="10">full_names</TEXTFIELD>
					<TEXTDATE w="150" title="Date Of Birth" y="50" h="20" x="10">date_of_birth</TEXTDATE>
					<TEXTFIELD w="150" title="Identification" y="50" h="20" x="290">identification</TEXTFIELD>
					<TEXTFIELD w="150" title="Relation" y="70" h="20" x="10">relation</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="90" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Seminars" keyfield="cv_seminar_id" linkfield="entity_id" table="vw_cv_seminars" user="entity_id">
				<TEXTFIELD w="75" title="Seminar Name">cv_seminar_name</TEXTFIELD>
				<TEXTDATE w="75" title="Seminar Date">cv_seminar_date</TEXTDATE>
				<FORM name="Cv Seminars" keyfield="cv_seminar_id" linkfield="entity_id" table="cv_seminars">
					<TEXTFIELD w="430" title="Seminar Name" y="10" h="20" x="10">cv_seminar_name</TEXTFIELD>
					<TEXTDATE w="150" title="Seminar Date" y="30" h="20" x="10">cv_seminar_date</TEXTDATE>
					<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Projects" keyfield="cv_projectid" linkfield="entity_id" table="vw_cv_projects" user="entity_id">
				<TEXTFIELD w="75" title="Project Name">cv_project_name</TEXTFIELD>
				<TEXTDATE w="75" title="Project Date">cv_project_date</TEXTDATE>
				<FORM name="Projects" keyfield="cv_projectid" linkfield="entity_id" table="cv_projects">
					<TEXTFIELD w="430" title="Project Name" y="10" h="20" x="10">cv_project_name</TEXTFIELD>
					<TEXTDATE w="150" title="Project Date" y="30" h="20" x="10">cv_project_date</TEXTDATE>
					<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Skills" keyfield="skill_id" linkfield="entity_id" table="vw_skills" user="entity_id">
				<TEXTFIELD w="75" title="Skill Type Name">skill_type_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Skill Level">skill_level_name</TEXTFIELD>
				<CHECKBOX w="75" title="Aquired">aquired</CHECKBOX>
				<TEXTDATE w="75" title="Training Date">training_date</TEXTDATE>
				<CHECKBOX w="75" title="Trained">trained</CHECKBOX>
				<TEXTFIELD w="75" title="Training Institution">training_institution</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Training Cost">training_cost</TEXTDECIMAL>
				<FORM name="Skills" keyfield="skill_id" linkfield="entity_id" table="skills">
					<COMBOBOX w="430" title="Skill Type" lptable="vw_skill_types" cmb_fnct="(skill_category_name || ' - ' || skill_type_name)" y="10" h="20" x="10" lpfield="skill_type_name">skill_type_id</COMBOBOX>
					<TEXTFIELD w="150" title="State Skill" y="30" h="20" x="10">state_skill</TEXTFIELD>
					<COMBOLIST w="150" title="Skill Level" y="50" h="20" x="10">skill_level
						<DATA key="1">Basic</DATA>
						<DATA key="2">Intermediate</DATA>
						<DATA key="3">Advanced</DATA>
					</COMBOLIST>
					<CHECKBOX w="150" title="Aquired" y="50" h="20" x="290">aquired</CHECKBOX>
					<TEXTDATE w="150" title="Training Date" y="70" h="20" x="10">training_date</TEXTDATE>
					<CHECKBOX w="150" title="Trained" y="70" h="20" x="290">trained</CHECKBOX>
					<TEXTFIELD w="430" title="Training Institution" y="90" h="20" x="10">training_institution</TEXTFIELD>
					<TEXTDECIMAL w="150" title="Training Cost" y="110" h="20" x="10">training_cost</TEXTDECIMAL>
					<TEXTAREA w="430" title="Details" y="130" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Referees" keyfield="address_id" linkfield="table_id" table="vw_referees">
				<TEXTFIELD w="100" title="Name">address_name</TEXTFIELD>
				<TEXTFIELD w="100" title="Company">company_name</TEXTFIELD>
				<TEXTFIELD w="100" title="Position">position_held</TEXTFIELD>
				<TEXTFIELD w="100" title="Town">town</TEXTFIELD>
				<TEXTFIELD w="100" title="Phone Number">phone_number</TEXTFIELD>
				<TEXTFIELD w="100" title="Mobile">mobile</TEXTFIELD>
				<TEXTFIELD w="140" title="Email">email</TEXTFIELD>
				<FORM name="Referees" keyfield="address_id" linkfield="table_id" table="address">
					<DEFAULT default="referees">table_name</DEFAULT>
					<TEXTFIELD w="430" title="Name" y="10" h="20" x="10">address_name</TEXTFIELD>
					<TEXTFIELD w="150" title="Company Name" y="30" h="20" x="10">company_name</TEXTFIELD>
					<TEXTFIELD w="150" title="Position Held" y="30" h="20" x="290">position_held</TEXTFIELD>
					<TEXTFIELD w="150" title="Post Office Box" y="50" h="20" x="10">post_office_box</TEXTFIELD>
					<TEXTFIELD w="150" title="Postal Code" y="50" h="20" x="290">postal_code</TEXTFIELD>
					<TEXTFIELD w="150" title="Town" y="70" h="20" x="10">town</TEXTFIELD>
					<TEXTFIELD w="430" title="Premises" y="90" h="20" x="10">premises</TEXTFIELD>
					<TEXTFIELD w="430" title="Street" y="110" h="20" x="10">street</TEXTFIELD>
					<COMBOBOX w="430" title="Country" default="KE" lptable="sys_countrys" noorg="true" y="130" h="20" x="10" lpfield="sys_country_name">sys_country_id</COMBOBOX>
					<TEXTFIELD w="250" title="Phone Number" y="150" h="20" x="10">phone_number</TEXTFIELD>
					<TEXTFIELD w="50" title="Extension" y="150" h="20" x="390">extension</TEXTFIELD>
					<TEXTFIELD w="430" title="Mobile" y="170" h="20" x="10">mobile</TEXTFIELD>
					<TEXTFIELD w="430" title="Fax" y="190" h="20" x="10">fax</TEXTFIELD>
					<TEXTFIELD w="430" title="Email" y="210" h="20" x="10">email</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="230" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<FILES username="repository" repository="/repository/webdav/files/" name="Upload Documents" keyfield="sys_file_id" linkfield="table_id" table="sys_files" noorg="true" password="baraza">
				<TEXTFIELD w="75" title="File ID">sys_file_id</TEXTFIELD>
				<TEXTFIELD w="50" title="Size">file_size</TEXTFIELD>
				<TEXTFIELD w="150" title="Type">file_type</TEXTFIELD>
				<TEXTFIELD w="175" title="File Name">file_name</TEXTFIELD>
			</FILES>
		</FORMVIEW>
	</DESK>
	<DESK w="700" name="Leave Application" key="5" h="550">
		<JASPER name="Leave Report" user="filterid" reportfile="vw_employee_leave_a.jasper"></JASPER>
		<GRID name="Leave Application" keyfield="employee_leave_id" table="vw_employee_leave" where="(approve_status = 'Draft')" user="entity_id">
			<TEXTFIELD w="75" title="Leave Type">leave_type_name</TEXTFIELD>
			<TEXTDATE w="75" title="Leave From">leave_from</TEXTDATE>
			<TEXTDATE w="75" title="Leave To">leave_to</TEXTDATE>
			<TEXTFIELD w="75" title="Leave Days">Leave_days</TEXTFIELD>
			<CHECKBOX w="75" title="Special Request">special_request</CHECKBOX>
			<TEXTFIELD w="175" title="Narrative">narrative</TEXTFIELD>
			<FORM name="Leave" keyfield="employee_leave_id" table="employee_leave">
				<USERFIELD>entity_id</USERFIELD>
				<DEFAULT default="Draft">approve_status</DEFAULT>
				<COMBOBOX w="430" title="Leave Type" lptable="vw_employee_leave_types" user="entity_id" y="10" h="20" x="10" lpfield="leave_type_name">leave_type_id</COMBOBOX>
				<COMBOBOX w="430" title="Contact Person" lptable="vw_employees" lpkey="entity_id" where="(active = true)" y="30" h="20" x="10" lpfield="employee_name">contact_entity_id</COMBOBOX>
				<TEXTDATE w="150" title="Leave From" required="true" y="50" h="20" x="10">leave_from</TEXTDATE>
				<TEXTDATE w="150" title="Leave To" y="50" h="20" x="290">leave_to</TEXTDATE>
				<CHECKBOX w="150" title="Start Half Day" y="70" h="20" x="10">Start_Half_Day</CHECKBOX>
				<CHECKBOX w="150" title="End Half Day" y="70" h="20" x="290">End_Half_Day</CHECKBOX>
				<TEXTFIELD w="430" title="Narrative" y="90" h="20" x="10">narrative</TEXTFIELD>
				<TEXTAREA w="430" title="Details" y="110" h="70" x="10">details</TEXTAREA>
			</FORM>
			<ACTIONS>
				<ACTION fnct="leave_aplication">Apply for Leave</ACTION>
				<ACTION fnct="leave_special" approval="1">Special Application</ACTION>
			</ACTIONS>
		</GRID>
		<DIARY name="Leave Diary" keyfield="employee_leave_id" orderby="leave_from" table="vw_employee_leave" where="(leave_from > current_date-360)" user="entity_id">
			<TEXTFIELD w="75" title="Leave ID">employee_leave_id</TEXTFIELD>
			<TEXTFIELD w="75" fnct="leave_type_name || ' : ' || COALESCE(narrative, '')" title="Title">leave_disp</TEXTFIELD>
			<TEXTDATE w="75" title="Activity Date">leave_from</TEXTDATE>
			<SPINTIME w="75" title="Activity Time">activity_time</SPINTIME>
			<TEXTDATE w="75" title="Finish Date">leave_to</TEXTDATE>
			<SPINTIME w="75" title="Finish Time">finish_time</SPINTIME>
			<TEXTFIELD w="75" fnct="'false'" title="All Day">all_day</TEXTFIELD>
			<TEXTFIELD w="75" fnct="'false'" title="Editable">editable</TEXTFIELD>
			<DIARY name="Events" keyfield="org_event_id" table="org_events" where="(start_date > current_date-360)">
				<TEXTFIELD w="75" title="Event ID">org_event_id</TEXTFIELD>
				<TEXTFIELD w="75" title="Event Name">org_event_name</TEXTFIELD>
				<TEXTDATE w="75" title="Start Date">start_date</TEXTDATE>
				<TEXTFIELD w="75" fnct="'08:00'::time" title="Start Time">start_time</TEXTFIELD>
				<TEXTDATE w="75" title="End Date">end_date</TEXTDATE>
				<TEXTFIELD w="75" fnct="'17:00'::time" title="End Time">end_time</TEXTFIELD>
				<TEXTFIELD w="75" fnct="'true'" title="All Day">all_day</TEXTFIELD>
				<TEXTFIELD w="75" fnct="'false'" title="Editable">editable</TEXTFIELD>
			</DIARY>
		</DIARY>
		<JASPER name="Monthly Report" user="filterid" reportfile="vw_employee_leave_d.jasper"></JASPER>
		<GRID name="Leave Types" keyfield="employee_leave_type_id" table="vw_employee_leave_types" user="entity_id">
			<TEXTFIELD w="75" title="Leave Type Name">leave_type_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Allowed Leave Days">allowed_leave_days</TEXTFIELD>
			<TEXTFIELD w="75" title="Leave Days Span">leave_days_span</TEXTFIELD>
		</GRID>
	</DESK>
	<DESK w="700" name="Skill Types" key="8" h="550">
		<GRID name="Skill Types" keyfield="skill_type_id" orderby="skill_category_id" table="vw_skill_types">
			<TEXTFIELD w="75" title="Skill Category">skill_category_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Skill Type Name">skill_type_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Basic">basic</TEXTFIELD>
			<TEXTFIELD w="75" title="Intermediate">intermediate</TEXTFIELD>
			<TEXTFIELD w="75" title="Advanced">advanced</TEXTFIELD>
			<SEARCH w="75" fnct="(skill_category_name || ', ' || skill_type_name)" title="Select">skill_type</SEARCH>
		</GRID>
	</DESK>
	<DESK w="700" name="Applicant Details" key="10" h="500">
		<FORMVIEW new="false" name="Applicant" gohint="Follow this link to update your details" keyfield="entity_id" table="vw_applicants" user="entity_id">
			<TEXTFIELD w="75" title="ID">entity_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Surname">surname</TEXTFIELD>
			<TEXTFIELD w="75" title="First Name">first_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Middle Name">middle_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Age">applicant_age</TEXTFIELD>
			<TEXTFIELD w="75" title="Gender">gender_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Nationality">sys_country_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Marital Status">marital_status_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Identity Card">identity_card</TEXTFIELD>
			<FORM new="false" tw="570" name="Details" keyfield="entity_id" table="applicants" user="entity_id" th="200">
				<COMBOLIST w="50" title="Title" y="10" h="20" x="10">person_title
					<DATA>Miss</DATA>
					<DATA>Mr</DATA>
					<DATA>Mrs</DATA>
					<DATA>Dr</DATA>
					<DATA>Prof</DATA>
				</COMBOLIST>
				<TEXTFIELD w="100" title="Surname" required="true" y="10" h="20" x="190">surname</TEXTFIELD>
				<TEXTFIELD w="100" title="First Name" required="true" y="10" h="20" x="490">first_name</TEXTFIELD>
				<TEXTFIELD w="150" title="Middle Name" y="30" h="20" x="10">middle_name</TEXTFIELD>
				<TEXTFIELD w="150" title="Phone" required="true" y="30" h="20" x="290">applicant_phone</TEXTFIELD>
				<TEXTFIELD w="430" title="Email" required="true" y="50" h="20" x="10">applicant_email</TEXTFIELD>
				<TEXTDATE w="150" title="Date Of Birth (DD/MM/YYYY)" required="true" y="70" h="20" x="10">date_of_birth</TEXTDATE>
				<COMBOBOX w="150" title="Nationality" default="KE" lptable="sys_countrys" noorg="true" lpkey="sys_country_id" y="70" h="20" x="290" lpfield="sys_country_name">nationality</COMBOBOX>
				<COMBOLIST w="150" title="Gender" y="90" h="20" x="10">gender
					<DATA key="M">Male</DATA>
					<DATA key="F">Female</DATA>
				</COMBOLIST>
				<COMBOLIST w="150" title="Marital Status" y="90" h="20" x="290">marital_status
					<DATA key="M">Married</DATA>
					<DATA key="S">Single</DATA>
				</COMBOLIST>
				<TEXTFIELD w="150" title="Identity Card" required="true" y="110" h="20" x="10">identity_card</TEXTFIELD>
				<TEXTFIELD w="430" title="Language" required="true" y="130" h="20" x="10">language</TEXTFIELD>
				<COMBOBOX w="430" title="Currency" lptable="currency" y="150" h="20" x="10" lpfield="currency_name">currency_id</COMBOBOX>
				<TEXTDECIMAL w="150" title="Previous Salary" required="true" y="170" h="20" x="10">previous_salary</TEXTDECIMAL>
				<TEXTDECIMAL w="150" title="Expected Salary" required="true" y="170" h="20" x="290">expected_salary</TEXTDECIMAL>
				<TEXTAREA w="550" tab="Interests" y="2" h="120" x="10">interests</TEXTAREA>
				<TEXTAREA w="550" tab="Objective" y="2" h="120" x="10">objective</TEXTAREA>
				<TEXTAREA w="550" tab="Field of Study" y="2" h="120" x="10">field_of_study</TEXTAREA>
				<TEXTAREA w="550" tab="Details" y="2" h="120" x="10">details</TEXTAREA>
			</FORM>
			<GRID name="Address" keyfield="address_id" linkfield="table_id" table="vw_address" where="table_name = 'applicant'">
				<TEXTFIELD w="100" title="Country Name">sys_country_name</TEXTFIELD>
				<TEXTFIELD w="100" title="Postal Code">postal_code</TEXTFIELD>
				<TEXTFIELD w="100" title="Town">town</TEXTFIELD>
				<TEXTFIELD w="100" title="Phone Number">phone_number</TEXTFIELD>
				<TEXTFIELD w="100" title="Mobile">mobile</TEXTFIELD>
				<TEXTFIELD w="140" title="Email">email</TEXTFIELD>
				<CHECKBOX w="140" title="Default">is_default</CHECKBOX>
				<FORM name="Address" keyfield="address_id" linkfield="table_id" table="address">
					<DEFAULT default="applicant">table_name</DEFAULT>
					<COMBOBOX w="430" title="Country" default="KE" lptable="sys_countrys" noorg="true" y="10" h="20" x="10" lpfield="sys_country_name">sys_country_id</COMBOBOX>
					<TEXTFIELD w="150" title="Post Office Box" y="30" h="20" x="10">post_office_box</TEXTFIELD>
					<TEXTFIELD w="150" title="Postal Code" y="30" h="20" x="290">postal_code</TEXTFIELD>
					<TEXTFIELD w="150" title="Town" required="true" y="50" h="20" x="10">town</TEXTFIELD>
					<TEXTFIELD w="430" title="Premises" y="70" h="20" x="10">premises</TEXTFIELD>
					<TEXTFIELD w="430" title="Street" y="90" h="20" x="10">street</TEXTFIELD>
					<TEXTFIELD w="430" title="Phone Number" required="true" y="110" h="20" x="10">phone_number</TEXTFIELD>
					<TEXTFIELD w="150" title="Extension" y="130" h="20" x="10">extension</TEXTFIELD>
					<TEXTFIELD w="430" title="Mobile" y="150" h="20" x="10">mobile</TEXTFIELD>
					<TEXTFIELD w="430" title="Fax" y="170" h="20" x="10">fax</TEXTFIELD>
					<TEXTFIELD w="430" title="Email" required="true" y="190" h="20" x="10">email</TEXTFIELD>
					<CHECKBOX w="30" title="Default" y="210" h="20" x="10">is_default</CHECKBOX>
					<TEXTAREA w="430" title="Details" y="230" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Education" keyfield="education_id" orderby="date_from desc" linkfield="entity_id" table="vw_education" user="entity_id">
				<TEXTFIELD w="75" title="Education Class Name">education_class_name</TEXTFIELD>
				<TEXTDATE w="75" title="Date From">date_from</TEXTDATE>
				<TEXTDATE w="75" title="Date To">date_to</TEXTDATE>
				<TEXTFIELD w="75" title="Name of Institution">name_of_school</TEXTFIELD>
				<TEXTFIELD w="75" title="Certification">examination_taken</TEXTFIELD>
				<TEXTFIELD w="75" title="Grades Obtained">grades_obtained</TEXTFIELD>
				<FORM name="Education" keyfield="education_id" linkfield="entity_id" table="education">
					<COMBOBOX w="430" title="Education Class" lptable="education_class" orderby="education_class_id" y="10" h="20" x="10" lpfield="education_class_name">education_class_id</COMBOBOX>
					<TEXTDATE w="150" title="Date From" required="true" y="30" h="20" x="10">date_from</TEXTDATE>
					<TEXTDATE w="150" title="Date To" y="30" h="20" x="290">date_to</TEXTDATE>
					<TEXTFIELD w="430" title="Name of Institution" required="true" y="50" h="20" x="10">name_of_school</TEXTFIELD>
					<TEXTFIELD w="430" title="Certification or Degree" placeholder="Certification or Degree: e.g. Msc Computer Science" y="70" h="20" x="10">examination_taken</TEXTFIELD>
					<TEXTFIELD w="150" title="Grades Obtained" placeholder="Grades Obtained: e.g. Upper second-class honours" y="90" h="20" x="10">grades_obtained</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="110" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Employment" keyfield="employment_id" orderby="date_from desc" linkfield="entity_id" table="vw_employment" user="entity_id">
				<TEXTDATE w="75" title="Date From">date_from</TEXTDATE>
				<TEXTDATE w="75" title="Date To">date_to</TEXTDATE>
				<TEXTFIELD w="75" title="Employers Name">employers_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Position Held">position_held</TEXTFIELD>
				<FORM name="Employment" keyfield="employment_id" linkfield="entity_id" table="employment">
					<TEXTDATE w="150" title="Date From" required="true" y="10" h="20" x="10">date_from</TEXTDATE>
					<TEXTDATE w="150" title="Date To" y="10" h="20" x="290">date_to</TEXTDATE>
					<TEXTFIELD w="430" title="Employers Name" required="true" y="30" h="20" x="10">employers_name</TEXTFIELD>
					<TEXTFIELD w="430" title="Position Held" required="true" y="50" h="20" x="10">position_held</TEXTFIELD>
					<TEXTAREA w="430" title="Responsibilities" y="70" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Seminars" keyfield="cv_seminar_id" linkfield="entity_id" table="vw_cv_seminars" user="entity_id">
				<TEXTFIELD w="75" title="Seminar Name">cv_seminar_name</TEXTFIELD>
				<TEXTDATE w="75" title="Seminar Date">cv_seminar_date</TEXTDATE>
				<FORM name="Cv Seminars" keyfield="cv_seminar_id" linkfield="entity_id" table="cv_seminars">
					<TEXTFIELD w="430" title="Seminar Name" required="true" y="10" h="20" x="10">cv_seminar_name</TEXTFIELD>
					<TEXTDATE w="150" title="Seminar Date" required="true" y="30" h="20" x="10">cv_seminar_date</TEXTDATE>
					<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Projects" keyfield="cv_projectid" linkfield="entity_id" table="vw_cv_projects" user="entity_id">
				<TEXTFIELD w="75" title="Project Name">cv_project_name</TEXTFIELD>
				<TEXTDATE w="75" title="Project Date">cv_project_date</TEXTDATE>
				<FORM name="Projects" keyfield="cv_projectid" linkfield="entity_id" table="cv_projects">
					<TEXTFIELD w="430" title="Project Name" required="true" y="10" h="20" x="10">cv_project_name</TEXTFIELD>
					<TEXTDATE w="150" title="Project Date" required="true" y="30" h="20" x="10">cv_project_date</TEXTDATE>
					<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Skills" keyfield="skill_id" linkfield="entity_id" table="vw_skills" user="entity_id">
				<TEXTFIELD w="75" title="Skill Type Name">skill_type_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Skill Level">skill_level_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Training Institution">training_institution</TEXTFIELD>
				<FORM name="Skills" keyfield="skill_id" linkfield="entity_id" table="skills">
					<COMBOBOX w="430" title="Skill Type" lptable="vw_skill_types" cmb_fnct="(skill_category_name || ' - ' || skill_type_name)" y="10" h="20" x="10" lpfield="skill_type_name">skill_type_id</COMBOBOX>
					<TEXTFIELD w="150" title="State Skill" y="30" h="20" x="10">state_skill</TEXTFIELD>
					<COMBOLIST w="150" title="Skill Level" y="50" h="20" x="10">skill_level
						<DATA key="1">Basic</DATA>
						<DATA key="2">Intermediate</DATA>
						<DATA key="3">Advanced</DATA>
					</COMBOLIST>
					<TEXTFIELD w="430" title="Training Institution" y="70" h="20" x="10">training_institution</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="110" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Referees" keyfield="address_id" linkfield="table_id" table="vw_referees" user="table_id">
				<TEXTFIELD w="100" title="Name">address_name</TEXTFIELD>
				<TEXTFIELD w="100" title="Company">company_name</TEXTFIELD>
				<TEXTFIELD w="100" title="Position">position_held</TEXTFIELD>
				<TEXTFIELD w="100" title="Town">town</TEXTFIELD>
				<TEXTFIELD w="100" title="Phone Number">phone_number</TEXTFIELD>
				<TEXTFIELD w="100" title="Mobile">mobile</TEXTFIELD>
				<TEXTFIELD w="140" title="Email">email</TEXTFIELD>
				<FORM name="Referees" keyfield="address_id" linkfield="table_id" table="address">
					<DEFAULT default="referees">table_name</DEFAULT>
					<TEXTFIELD w="430" title="Name" data-max="120" required="true" y="10" h="20" x="10">address_name</TEXTFIELD>
					<TEXTFIELD w="150" title="Company Name" data-max="150" required="true" y="30" h="20" x="10">company_name</TEXTFIELD>
					<TEXTFIELD w="150" title="Position Held" y="30" h="20" x="290">position_held</TEXTFIELD>
					<TEXTFIELD w="150" title="Post Office Box" y="50" h="20" x="10">post_office_box</TEXTFIELD>
					<TEXTFIELD w="150" title="Postal Code" y="50" h="20" x="290">postal_code</TEXTFIELD>
					<TEXTFIELD w="150" title="Town" required="true" y="70" h="20" x="10">town</TEXTFIELD>
					<TEXTFIELD w="430" title="Premises" y="90" h="20" x="10">premises</TEXTFIELD>
					<TEXTFIELD w="430" title="Street" y="110" h="20" x="10">street</TEXTFIELD>
					<COMBOBOX w="430" title="Country" default="KE" lptable="sys_countrys" noorg="true" y="130" h="20" x="10" lpfield="sys_country_name">sys_country_id</COMBOBOX>
					<TEXTFIELD w="250" title="Phone Number" required="true" y="150" h="20" x="10">phone_number</TEXTFIELD>
					<TEXTFIELD w="50" title="Extension" y="150" h="20" x="390">extension</TEXTFIELD>
					<TEXTFIELD w="430" title="Mobile" y="170" h="20" x="10">mobile</TEXTFIELD>
					<TEXTFIELD w="430" title="Fax" y="190" h="20" x="10">fax</TEXTFIELD>
					<TEXTFIELD w="430" title="Email" required="true" y="210" h="20" x="10">email</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="230" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<FILES username="repository" repository="/repository/webdav/files/" name="Upload  Documents" keyfield="sys_file_id" linkfield="table_id" table="sys_files" password="baraza">
				<TEXTFIELD w="75" title="File ID">sys_file_id</TEXTFIELD>
				<TEXTFIELD w="50" title="Size">file_size</TEXTFIELD>
				<TEXTFIELD w="150" title="Type">file_type</TEXTFIELD>
				<TEXTFIELD w="175" title="File Name">file_name</TEXTFIELD>
			</FILES>
			<JASPER name="BIO" org.table="vw_applicants" reportfile="cv_applicant.jasper"></JASPER>
			<JASPER name="CV" org.table="vw_applicants" reportfile="cv_applicant_2.jasper"></JASPER>
		</FORMVIEW>
	</DESK>
	<DESK w="700" name="Vacancies" key="14" h="550">
		<GRID name="Available Positions" keyfield="intake_id" table="vw_intake" noorg="true" where="(closing_date > current_date)">
			<TEXTFIELD w="75" title="Department">department_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Role">department_role_name</TEXTFIELD>
			<TEXTDATE w="75" title="Opening Date">opening_date</TEXTDATE>
			<TEXTDATE w="75" title="Closing Date">closing_date</TEXTDATE>
			<TEXTFIELD w="50" title="Positions">positions</TEXTFIELD>
			<TEXTFIELD w="75" title="Location">location_name</TEXTFIELD>
			<TEXTFIELD w="175" title="Details">details</TEXTFIELD>
			<FORMVIEW tw="570" name="Role Details" keyfield="intake_id" linkfield="intake_id" table="vw_intake">
				<TEXTFIELD w="410" title="Unit" lw="140" y="30" h="20" x="10">department_name</TEXTFIELD>
				<TEXTFIELD w="430" title="Designation" y="30" h="20" x="10">department_role_name</TEXTFIELD>
				<TEXTFIELD w="430" title="Reporting To" y="10" h="20" x="10">parent_role_name</TEXTFIELD>
				<TEXTFIELD w="50" title="Positions">positions</TEXTFIELD>
				<TEXTFIELD w="75" title="Location">location_name</TEXTFIELD>
				<TEXTFIELD w="550" title="Job Description" y="1" h="280" x="10">job_description</TEXTFIELD>
			</FORMVIEW>
			<ACTIONS>
				<ACTION fnct="Ins_applications">Apply For Post</ACTION>
			</ACTIONS>
		</GRID>
		<GRID name="Positions Applied" keyfield="application_id" orderby="opening_date" table="vw_applications" user="entity_id">
			<TEXTFIELD w="75" title="Department">department_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Role">department_role_name</TEXTFIELD>
			<TEXTDATE w="75" title="Closing Date">closing_date</TEXTDATE>
			<TEXTFIELD w="75" title="Positions">positions</TEXTFIELD>
			<TEXTTIMESTAMP w="75" title="Application Date">application_date</TEXTTIMESTAMP>
			<TEXTFIELD w="75" title="Application Status">approve_status</TEXTFIELD>
		</GRID>
		<GRID name="Contract" keyfield="application_id" role="staff" table="vw_contracting" user="entity_id">
			<TEXTFIELD w="75" title="Department Name">department_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Department Role Name">department_role_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Contract Type">contract_type_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Contract Status">contract_status_name</TEXTFIELD>
			<TEXTDATE w="75" title="Contract Date">contract_date</TEXTDATE>
			<TEXTDATE w="75" title="Contract Start">contract_start</TEXTDATE>
			<TEXTFIELD w="75" title="Contract Period">contract_period</TEXTFIELD>
			<TEXTFIELD w="75" title="Approval">approve_status</TEXTFIELD>
			<JASPER name="Contract" reportfile="contract.jasper"></JASPER>
		</GRID>
	</DESK>
	<DESK w="700" name="Internships" key="15" h="550">
		<GRID name="Internships Posts" keyfield="internship_id" table="vw_internships" noorg="true" where="(closing_date > current_date)">
			<TEXTFIELD w="75" title="Organization">org_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Department">department_name</TEXTFIELD>
			<TEXTDATE w="75" title="Opening Date">opening_date</TEXTDATE>
			<TEXTDATE w="75" title="Closing Date">closing_date</TEXTDATE>
			<TEXTFIELD w="50" title="Positions">positions</TEXTFIELD>
			<TEXTFIELD w="75" title="Location">location</TEXTFIELD>
			<TEXTFIELD w="175" title="Details">details</TEXTFIELD>
			<ACTIONS>
				<ACTION fnct="Ins_interns">Apply For Internship</ACTION>
			</ACTIONS>
		</GRID>
		<GRID name="Internships Applied" keyfield="department_name" table="vw_interns" user="entity_id">
			<TEXTFIELD w="75" title="Organization">org_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Department">department_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Positions">positions</TEXTFIELD>
			<TEXTDATE w="75" title="Opening Date">opening_date</TEXTDATE>
			<TEXTDATE w="75" title="Closing Date">closing_date</TEXTDATE>
			<TEXTDECIMAL w="75" title="Payment Amount">payment_amount</TEXTDECIMAL>
			<TEXTDATE w="75" title="Start Date">start_date</TEXTDATE>
			<TEXTDATE w="75" title="End Date">end_date</TEXTDATE>
			<TEXTFIELD w="75" title="Application Status">approve_status</TEXTFIELD>
		</GRID>
	</DESK>
	<DESK w="700" name="Pay Slip" key="16" h="550">
		<GRID name="Year" keyfield="period_year" orderby="period_year desc" table="vw_period_year">
			<TEXTFIELD w="430" title="Period Year" y="10" h="70" x="10">period_year</TEXTFIELD>
			<GRID name="Payroll" keyfield="employee_month_id" linkfield="period_year" table="vw_employee_month" where="(activated = true)" user="entity_id">
				<TEXTFIELD w="75" title="Month">period_month</TEXTFIELD>
				<TEXTFIELD w="75" title="Bank Name">bank_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Department Name">department_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Department Role Name">department_role_name</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Basic Pay">basic_pay</TEXTDECIMAL>
				<TEXTDECIMAL w="75" title="Allowance">payroll_allowance</TEXTDECIMAL>
				<TEXTDECIMAL w="75" title="Deduction">payroll_deduction</TEXTDECIMAL>
				<TEXTDECIMAL w="75" title="Expense">payroll_expense</TEXTDECIMAL>
				<TEXTDECIMAL w="75" title="Statutory">payroll_tax</TEXTDECIMAL>
				<TEXTDECIMAL w="75" title="Net Pay">net_pay</TEXTDECIMAL>
				<JASPER name="Payroll" linkfield="filterid" reportfile="payslipb.jasper"></JASPER>
			</GRID>
			<JASPER name="P9A" org.table="orgs" linkfield="periodyear" user="employeeid" reportfile="P9Aa.jasper"></JASPER>
		</GRID>
	</DESK>
	<DESK w="700" name="News Admin" key="19" h="500">
		<GRID name="News" keyfield="sys_news_id" table="sys_news">
			<TEXTFIELD w="75" title="News ID">sys_news_id</TEXTFIELD>
			<TEXTFIELD w="75" title="News Group">sys_news_group</TEXTFIELD>
			<TEXTFIELD w="275" title="News Title">sys_news_title</TEXTFIELD>
			<CHECKBOX w="75" title="Publish">publish</CHECKBOX>
			<FORM name="News" keyfield="sys_news_id" table="sys_news" th="210">
				<TEXTFIELD w="430" title="News Title" y="10" h="20" x="10">sys_news_title</TEXTFIELD>
				<TEXTFIELD w="150" title="News Group" y="30" h="20" x="10">sys_news_group</TEXTFIELD>
				<CHECKBOX w="150" title="Publish" y="30" h="20" x="290">publish</CHECKBOX>
				<EDITOR w="430" tab="Details" y="2" h="170" x="10">details</EDITOR>
			</FORM>
		</GRID>
	</DESK>
	<DESK w="700" name="Organisation" key="20" h="500">
		<FORMVIEW name="Organisation" keyfield="org_id" table="orgs">
			<TEXTFIELD w="75" title="Org ID">org_id</TEXTFIELD>
			<TEXTFIELD w="275" title="Org Name">org_name</TEXTFIELD>
			<TEXTFIELD w="275" title="Full Name">org_full_name</TEXTFIELD>
			<CHECKBOX w="75" title="Enforce Budget">enforce_budget</CHECKBOX>
			<CHECKBOX w="75" title="Active">is_active</CHECKBOX>
			<FORM new="false" name="Organisation" keyfield="org_id" delete="false" table="orgs">
				<TEXTFIELD w="350" title="Organisation" placeholder="Organisation Name" y="10" h="20" x="10">org_name</TEXTFIELD>
				<COMBOBOX w="430" title="Base Currency" lptable="currency" select.detail="currency_symbol" y="30" h="20" x="10" lpfield="currency_name">currency_id</COMBOBOX>
				<COMBOBOX w="350" title="Default Country" lptable="sys_countrys" noorg="true" lpkey="sys_country_id" y="50" h="20" x="10" lpfield="sys_country_name">default_country_id</COMBOBOX>
				<COMBOBOX w="430" title="Org Client" lptable="entitys" lpkey="entity_id" y="70" h="20" x="10" lpfield="entity_name">org_client_id</COMBOBOX>
				<TEXTFIELD w="350" title="Logo" placeholder="Logo" y="90" h="20" x="10">logo</TEXTFIELD>
				<TEXTFIELD w="350" title="Full Name" placeholder="Logo" y="110" h="20" x="10">org_full_name</TEXTFIELD>
				<CHECKBOX w="150" title="Enforce Budget" y="130" h="20" x="10">enforce_budget</CHECKBOX>
				<CHECKBOX w="150" title="Payroll Payable" y="130" h="20" x="290">payroll_payable</CHECKBOX>
				<TEXTFIELD w="150" title="Cert. Number" y="150" h="20" x="10">cert_number</TEXTFIELD>
				<TEXTFIELD w="150" title="VAT Number" y="150" h="20" x="290">vat_number</TEXTFIELD>
				<TEXTAREA w="430" title="Details" placeholder="Details" y="170" h="70" x="10">details</TEXTAREA>
			</FORM>
			<GRID name="Address" keyfield="address_id" linkfield="table_id" table="vw_address" where="table_name = 'orgs'">
				<TEXTFIELD w="140" title="Country">sys_country_name</TEXTFIELD>
				<TEXTFIELD w="80" title="Postal Code">postal_code</TEXTFIELD>
				<TEXTFIELD w="140" title="Town">town</TEXTFIELD>
				<TEXTFIELD w="140" title="Phone Number">phone_number</TEXTFIELD>
				<TEXTFIELD w="120" title="Mobile">mobile</TEXTFIELD>
				<TEXTFIELD w="120" title="Email">email</TEXTFIELD>
				<FORM name="Address" keyfield="address_id" linkfield="table_id" table="address">
					<DEFAULT default="orgs">table_name</DEFAULT>
					<COMBOBOX w="430" title="Country" default="KE" lptable="sys_countrys" noorg="true" y="10" h="20" x="10" lpfield="sys_country_name">sys_country_id</COMBOBOX>
					<TEXTFIELD w="150" title="Post Office Box" y="30" h="20" x="10">post_office_box</TEXTFIELD>
					<TEXTFIELD w="150" title="Postal Code" y="30" h="20" x="290">postal_code</TEXTFIELD>
					<TEXTFIELD w="150" title="Town" y="50" h="20" x="10">town</TEXTFIELD>
					<TEXTFIELD w="430" title="Premises" y="70" h="20" x="10">premises</TEXTFIELD>
					<TEXTFIELD w="430" title="Street" y="90" h="20" x="10">street</TEXTFIELD>
					<TEXTFIELD w="430" title="Phone Number" y="110" h="20" x="10">phone_number</TEXTFIELD>
					<TEXTFIELD w="150" title="Extension" y="130" h="20" x="10">extension</TEXTFIELD>
					<TEXTFIELD w="430" title="Mobile" y="150" h="20" x="10">mobile</TEXTFIELD>
					<TEXTFIELD w="430" title="Fax" y="170" h="20" x="10">fax</TEXTFIELD>
					<TEXTFIELD w="430" title="Email" y="190" h="20" x="10">email</TEXTFIELD>
					<CHECKBOX w="150" title="Default" y="210" h="20" x="10">is_default</CHECKBOX>
					<TEXTAREA w="430" tab="Details" y="2" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
		</FORMVIEW>
		<GRID name="All Organisation" keyfield="org_id" table="orgs" noorg="true" superuser="true">
			<TEXTFIELD w="75" title="Org ID">org_id</TEXTFIELD>
			<TEXTFIELD w="275" title="Org Name">org_name</TEXTFIELD>
			<CHECKBOX w="75" title="Default">is_default</CHECKBOX>
			<CHECKBOX w="75" title="Active">is_active</CHECKBOX>
			<GRID name="Address" keyfield="address_id" linkfield="table_id" table="vw_address" where="table_name = 'orgs'">
				<TEXTFIELD w="140" title="Country">sys_country_name</TEXTFIELD>
				<TEXTFIELD w="80" title="Postal Code">postal_code</TEXTFIELD>
				<TEXTFIELD w="140" title="Town">town</TEXTFIELD>
				<TEXTFIELD w="140" title="Phone Number">phone_number</TEXTFIELD>
				<TEXTFIELD w="120" title="Mobile">mobile</TEXTFIELD>
				<TEXTFIELD w="120" title="Email">email</TEXTFIELD>
				<FORM name="Address" keyfield="address_id" linkfield="table_id" table="address">
					<DEFAULT default="orgs">table_name</DEFAULT>
					<COMBOBOX w="430" title="Country" default="KE" lptable="sys_countrys" noorg="true" y="10" h="20" x="10" lpfield="sys_country_name">sys_country_id</COMBOBOX>
					<TEXTFIELD w="150" title="Post Office Box" y="30" h="20" x="10">post_office_box</TEXTFIELD>
					<TEXTFIELD w="150" title="Postal Code" y="30" h="20" x="290">postal_code</TEXTFIELD>
					<TEXTFIELD w="150" title="Town" y="50" h="20" x="10">town</TEXTFIELD>
					<TEXTFIELD w="430" title="Premises" y="70" h="20" x="10">premises</TEXTFIELD>
					<TEXTFIELD w="430" title="Street" y="90" h="20" x="10">street</TEXTFIELD>
					<TEXTFIELD w="430" title="Phone Number" y="110" h="20" x="10">phone_number</TEXTFIELD>
					<TEXTFIELD w="150" title="Extension" y="130" h="20" x="10">extension</TEXTFIELD>
					<TEXTFIELD w="430" title="Mobile" y="150" h="20" x="10">mobile</TEXTFIELD>
					<TEXTFIELD w="430" title="Fax" y="170" h="20" x="10">fax</TEXTFIELD>
					<TEXTFIELD w="430" title="Email" y="190" h="20" x="10">email</TEXTFIELD>
					<CHECKBOX w="150" title="Default" y="210" h="20" x="10">is_default</CHECKBOX>
					<TEXTAREA w="430" tab="Details" y="2" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<FORM name="Organisation" keyfield="org_id" table="orgs" noorg="true">
				<TEXTFIELD w="350" title="Organisation" placeholder="Organisation Name" y="10" h="20" x="10">org_name</TEXTFIELD>
				<CHECKBOX w="150" title="Default" y="30" h="20" x="10">is_default</CHECKBOX>
				<CHECKBOX w="150" title="Active" y="30" h="20" x="290">is_active</CHECKBOX>
				<TEXTFIELD w="350" title="Logo" placeholder="Logo" y="50" h="20" x="10">logo</TEXTFIELD>
				<COMBOBOX w="430" title="Base Currency" lptable="currency" y="70" h="20" x="10" lpfield="currency_name">currency_id</COMBOBOX>
				<COMBOBOX w="350" title="Default Country" lptable="sys_countrys" noorg="true" lpkey="sys_country_id" y="90" h="20" x="10" lpfield="sys_country_name">default_country_id</COMBOBOX>
				<COMBOBOX w="430" title="Parent Org" lptable="orgs" noorg="true" lpkey="org_id" y="110" h="20" x="10" lpfield="org_name">parent_org_id</COMBOBOX>
				<TEXTFIELD w="50" title="Sufix" placeholder="Organisation Sufix" y="130" h="20" x="10">org_sufix</TEXTFIELD>
				<TEXTAREA w="430" title="Details" placeholder="Details" y="150" h="70" x="10">details</TEXTAREA>
			</FORM>
			<GRID name="Entitys" keyfield="entity_id" linkfield="org_id" table="vw_entitys" noorg="true">
				<TEXTFIELD w="75" title="Entity ID">entity_id</TEXTFIELD>
				<TEXTFIELD w="140" title="Entity Name">entity_name</TEXTFIELD>
				<TEXTFIELD w="100" title="User Name">user_name</TEXTFIELD>
				<TEXTFIELD w="100" title="Role">function_role</TEXTFIELD>
				<CHECKBOX w="100" title="Super User" format="boolean">super_user</CHECKBOX>
				<CHECKBOX w="75" title="Active" format="boolean">is_active</CHECKBOX>
				<TEXTFIELD w="100" title="Type">entity_type_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Email">primary_email</TEXTFIELD>
				<TEXTFIELD w="75" title="Telephone">primary_telephone</TEXTFIELD>
				<FORM name="Entitys" keyfield="entity_id" linkfield="org_id" table="entitys" noorg="true">
					<TEXTFIELD w="150" title="Entity Name" y="10" h="20" x="10">entity_name</TEXTFIELD>
					<TEXTFIELD w="150" title="User Name" y="10" h="20" x="290">user_name</TEXTFIELD>
					<TEXTFIELD w="430" title="Primary Email" y="30" h="20" x="10">primary_email</TEXTFIELD>
					<TEXTFIELD w="250" title="Primary Telephone" y="50" h="20" x="10">primary_telephone</TEXTFIELD>
					<CHECKBOX w="150" title="Entity Leader" y="70" h="20" x="290">entity_leader</CHECKBOX>
					<TEXTFIELD w="150" title="Function Role" y="90" h="20" x="290">function_role</TEXTFIELD>
					<CHECKBOX w="150" title="Active" y="110" h="20" x="10">is_active</CHECKBOX>
					<TEXTFIELD w="150" title="First Password" y="110" h="20" x="290">first_password</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="130" h="70" x="10">details</TEXTAREA>
				</FORM>
				<GRID name="Subscriptions" keyfield="entity_subscription_id" linkfield="entity_id" table="vw_entity_subscriptions" noorg="true">
					<TEXTFIELD w="75" title="Entity Type Name">entity_type_name</TEXTFIELD>
					<TEXTFIELD w="75" title="Subscription Level Name">subscription_level_name</TEXTFIELD>
				</GRID>
				<ACTIONS>
					<ACTION fnct="change_password">Reset Password</ACTION>
				</ACTIONS>
			</GRID>
		</GRID>
		<FORM foredit="true" new="false" name="Select Organisation" keyfield="entity_id" delete="false" table="entitys" user="entity_id">
			<COMBOBOX w="150" title="Org" lptable="vw_org_select" y="10" org.id="parent_org_id" h="20" x="10" lpfield="org_name">org_id</COMBOBOX>
		</FORM>
		<GRID name="Currency" keyfield="currency_id" table="currency">
			<TEXTFIELD w="75" title="Currency ID">currency_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Currency Name">currency_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Currency Symbol">currency_symbol</TEXTFIELD>
			<GRID name="Currency Rates" keyfield="currency_rate_id" linkfield="currency_id" table="currency_rates">
				<TEXTFIELD w="75" title="Currency Rate ID">currency_rate_id</TEXTFIELD>
				<TEXTDATE w="75" title="Exchange Date">exchange_date</TEXTDATE>
				<TEXTDECIMAL w="75" title="Exchange Rate">exchange_rate</TEXTDECIMAL>
				<FORM name="Currency Rates" keyfield="currency_rate_id" linkfield="currency_id" table="currency_rates">
					<TEXTDATE w="150" title="Exchange Date" y="10" h="20" x="10">exchange_date</TEXTDATE>
					<TEXTDECIMAL w="150" title="Exchange Rate" y="10" h="20" x="290">exchange_rate</TEXTDECIMAL>
				</FORM>
			</GRID>
			<FORM name="Currency" keyfield="currency_id" table="currency">
				<TEXTFIELD w="150" title="Currency Name" y="10" h="20" x="10">currency_name</TEXTFIELD>
				<TEXTFIELD w="150" title="Currency Symbol" y="10" h="20" x="290">currency_symbol</TEXTFIELD>
			</FORM>
		</GRID>
		<GRID name="Locations" keyfield="location_id" table="locations">
			<TEXTFIELD w="75" title="Location ID">location_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Location Name">location_name</TEXTFIELD>
			<GRID wheresql="table_name = 'locations'" name="Address" keyfield="address_id" linkfield="table_id" table="vw_address">
				<TEXTFIELD w="140" title="Country">sys_country_name</TEXTFIELD>
				<TEXTFIELD w="80" title="Postal Code">postal_code</TEXTFIELD>
				<TEXTFIELD w="140" title="Town">town</TEXTFIELD>
				<TEXTFIELD w="140" title="Phone Number">phone_number</TEXTFIELD>
				<TEXTFIELD w="120" title="Mobile">mobile</TEXTFIELD>
				<TEXTFIELD w="120" title="Email">email</TEXTFIELD>
				<FORM name="Address" keyfield="address_id" linkfield="table_id" table="address">
					<DEFAULT default="locations">table_name</DEFAULT>
					<COMBOBOX w="430" title="Country" default="KE" lptable="sys_countrys" noorg="true" y="10" h="20" x="10" lpfield="sys_country_name">sys_country_id</COMBOBOX>
					<TEXTFIELD w="150" title="Post Office Box" y="30" h="20" x="10">post_office_box</TEXTFIELD>
					<TEXTFIELD w="150" title="Postal Code" y="30" h="20" x="290">postal_code</TEXTFIELD>
					<TEXTFIELD w="150" title="Town" y="50" h="20" x="10">town</TEXTFIELD>
					<TEXTFIELD w="430" title="Premises" y="70" h="20" x="10">premises</TEXTFIELD>
					<TEXTFIELD w="430" title="Street" y="90" h="20" x="10">street</TEXTFIELD>
					<TEXTFIELD w="430" title="Phone Number" y="110" h="20" x="10">phone_number</TEXTFIELD>
					<TEXTFIELD w="150" title="Extension" y="130" h="20" x="10">extension</TEXTFIELD>
					<TEXTFIELD w="430" title="Mobile" y="150" h="20" x="10">mobile</TEXTFIELD>
					<TEXTFIELD w="430" title="Fax" y="170" h="20" x="10">fax</TEXTFIELD>
					<TEXTFIELD w="430" title="Email" y="190" h="20" x="10">email</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="210" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<FORM name="Locations" keyfield="location_id" table="locations">
				<TEXTFIELD w="430" title="Location Name" y="10" h="20" x="10">location_name</TEXTFIELD>
				<TEXTAREA w="430" title="Details" y="30" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
	</DESK>
	<DESK w="700" name="Subscriptions" key="94" h="550">
		<GRID name="Subscriptions" keyfield="subscription_id" table="vw_subscriptions" noorg="true">
			<TEXTFIELD w="75" title="Subscription ID">subscription_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Industry Name">industry_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Entity Name">entity_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Account Manager Name">account_manager_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Org Name">org_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Business Name">business_name</TEXTFIELD>
			<TEXTFIELD w="75" title="City">city</TEXTFIELD>
			<TEXTFIELD w="75" title="Country Name">sys_country_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Number Of Employees">number_of_employees</TEXTFIELD>
			<TEXTFIELD w="75" title="Primary Contact">primary_contact</TEXTFIELD>
			<TEXTFIELD w="75" title="Primary Email">primary_email</TEXTFIELD>
			<TEXTFIELD w="75" title="Approve Status">approve_status</TEXTFIELD>
			<FORM name="Subscriptions" keyfield="subscription_id" table="subscriptions" noorg="true">
				<COMBOBOX w="430" title="Industry" lptable="industry" y="10" h="20" x="10" lpfield="industry_name">industry_id</COMBOBOX>
				<COMBOBOX w="430" title="Entity" lptable="entitys" y="30" h="20" x="10" lpfield="entity_name">entity_id</COMBOBOX>
				<TEXTFIELD w="150" title="Business Name" y="70" h="20" x="10">business_name</TEXTFIELD>
				<TEXTFIELD w="150" title="Business Address" y="70" h="20" x="290">business_address</TEXTFIELD>
				<TEXTFIELD w="150" title="City" y="90" h="20" x="10">city</TEXTFIELD>
				<TEXTFIELD w="150" title="State" y="90" h="20" x="290">state</TEXTFIELD>
				<COMBOBOX w="430" title="Country" lptable="sys_countrys" lpkey="sys_country_id" y="110" h="20" x="10" lpfield="sys_country_name">country_id</COMBOBOX>
				<TEXTFIELD w="150" title="Number Of Employees" y="130" h="20" x="10">number_of_employees</TEXTFIELD>
				<TEXTFIELD w="150" title="Telephone" y="130" h="20" x="290">telephone</TEXTFIELD>
				<TEXTFIELD w="430" title="Website" y="150" h="20" x="10">website</TEXTFIELD>
				<TEXTFIELD w="430" title="Primary Contact" y="170" h="20" x="10">primary_contact</TEXTFIELD>
				<TEXTFIELD w="430" title="Job Title" y="190" h="20" x="10">job_title</TEXTFIELD>
				<TEXTFIELD w="430" title="Primary Email" y="210" h="20" x="10">primary_email</TEXTFIELD>
				<TEXTAREA w="430" title="Details" y="290" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
		<GRID name="Products" keyfield="product_id" table="products">
			<TEXTFIELD w="75" title="Product ID">product_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Product Name">product_name</TEXTFIELD>
			<CHECKBOX w="75" title="Singular">is_singular</CHECKBOX>
			<CHECKBOX w="75" title="Align Expiry">align_expiry</CHECKBOX>
			<CHECKBOX w="75" title="Montly Bill">is_montly_bill</CHECKBOX>
			<TEXTDECIMAL w="75" title="Montly Cost">montly_cost</TEXTDECIMAL>
			<CHECKBOX w="75" title="Annual Bill">is_annual_bill</CHECKBOX>
			<TEXTDECIMAL w="75" title="Annual Cost">annual_cost</TEXTDECIMAL>
			<FORM name="Products" keyfield="product_id" table="products">
				<TEXTFIELD w="150" title="Product Name" y="10" h="20" x="10">product_name</TEXTFIELD>
				<CHECKBOX w="150" title="Singular" y="10" h="20" x="290">is_singular</CHECKBOX>
				<CHECKBOX w="150" title="Align Expiry" y="30" h="20" x="10">align_expiry</CHECKBOX>
				<CHECKBOX w="150" title="Montly Bill" y="30" h="20" x="290">is_montly_bill</CHECKBOX>
				<TEXTDECIMAL w="150" title="Montly Cost" y="50" h="20" x="10">montly_cost</TEXTDECIMAL>
				<CHECKBOX w="150" title="Annual Bill" y="50" h="20" x="290">is_annual_bill</CHECKBOX>
				<TEXTDECIMAL w="150" title="Annual Cost" y="70" h="20" x="10">annual_cost</TEXTDECIMAL>
				<TEXTAREA w="430" title="Details" y="90" h="70" x="10">details</TEXTAREA>
			</FORM>
			<GRID name="Productions" keyfield="production_id" linkfield="product_id" table="vw_productions">
				<TEXTFIELD w="75" title="Production ID">production_id</TEXTFIELD>
				<TEXTFIELD w="75" title="Organization ID">org_id</TEXTFIELD>
				<TEXTFIELD w="75" title="Organization">org_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Product ID">product_id</TEXTFIELD>
				<TEXTFIELD w="75" title="Product Name">product_name</TEXTFIELD>
				<TEXTTIMESTAMP w="75" title="Transaction Time">transaction_time</TEXTTIMESTAMP>
				<CHECKBOX w="75" title="Montly Billing">montly_billing</CHECKBOX>
				<CHECKBOX w="75" title="Active">is_active</CHECKBOX>
				<TEXTFIELD w="75" title="Quantity">quantity</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Price">price</TEXTDECIMAL>
				<TEXTDATE w="75" title="Expiry Date">expiry_date</TEXTDATE>
				<TEXTDECIMAL w="75" title="Amount">amount</TEXTDECIMAL>
			</GRID>
		</GRID>
		<GRID name="Product Receipts" keyfield="product_receipt_id" table="vw_product_receipts" noorg="true">
			<TEXTFIELD w="75" title="Product Receipt ID">product_receipt_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Organization ID">org_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Organization">org_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Receipt Source">receipt_source_name</TEXTFIELD>
			<CHECKBOX w="75" title="Paid">is_paid</CHECKBOX>
			<TEXTDECIMAL w="75" title="Receipt Amount">receipt_amount</TEXTDECIMAL>
			<TEXTDATE w="75" title="Receipt Date">receipt_date</TEXTDATE>
			<TEXTTIMESTAMP w="75" title="Receipt Time">receipt_time</TEXTTIMESTAMP>
			<TEXTFIELD w="75" title="Receipt Reference">receipt_reference</TEXTFIELD>
			<FORM name="Product Receipts" keyfield="product_receipt_id" table="product_receipts" noorg="true">
				<COMBOBOX w="430" title="Organization" lptable="orgs" noorg="true" y="10" h="20" x="10" lpfield="org_name">org_id</COMBOBOX>
				<COMBOBOX w="430" title="Receipt Source" lptable="receipt_sources" y="30" h="20" x="10" lpfield="receipt_source_name">receipt_source_id</COMBOBOX>
				<CHECKBOX w="150" title="Paid" y="50" h="20" x="10">is_paid</CHECKBOX>
				<TEXTDECIMAL w="150" title="Receipt Amount" y="50" h="20" x="290">receipt_amount</TEXTDECIMAL>
				<TEXTDATE w="150" title="Receipt Date" default="now" y="70" h="20" x="10">receipt_date</TEXTDATE>
				<TEXTFIELD w="150" title="Receipt Reference" y="90" h="20" x="10">receipt_reference</TEXTFIELD>
				<TEXTFIELD w="430" title="Narrative" y="110" h="20" x="10">narrative</TEXTFIELD>
			</FORM>
		</GRID>
		<GRID name="Receipt Sources" keyfield="receipt_source_id" table="receipt_sources">
			<TEXTFIELD w="75" title="Receipt Source ID">receipt_source_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Receipt Source Name">receipt_source_name</TEXTFIELD>
			<FORM name="Receipt Sources" keyfield="receipt_source_id" table="receipt_sources">
				<TEXTFIELD w="150" title="Receipt Source Name" y="10" h="20" x="10">receipt_source_name</TEXTFIELD>
				<TEXTAREA w="430" title="Details" y="30" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
	</DESK>
	<DESK w="700" name="Banks" key="21" h="500">
		<GRID name="Banks" keyfield="bank_id" table="banks">
			<TEXTFIELD w="75" title="Bank ID">bank_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Bank Name">bank_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
			<GRID name="Bank Branch" keyfield="bank_branch_id" linkfield="bank_id" table="bank_branch">
				<TEXTFIELD w="75" title="Bank Branch ID">bank_branch_id</TEXTFIELD>
				<TEXTFIELD w="75" title="Bank Branch Name">bank_branch_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Bank Branch Code">bank_branch_code</TEXTFIELD>
				<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
				<FORM name="Bank Branch" keyfield="bank_branch_id" linkfield="bank_id" table="bank_branch">
					<TEXTFIELD w="150" title="Branch Name" y="10" h="20" x="10">bank_branch_name</TEXTFIELD>
					<TEXTFIELD w="150" title="Branch Code" y="10" h="20" x="290">bank_branch_code</TEXTFIELD>
					<TEXTFIELD w="430" title="Narrative" y="30" h="20" x="10">narrative</TEXTFIELD>
				</FORM>
			</GRID>
			<FORM name="Banks" keyfield="bank_id" table="banks">
				<TEXTFIELD w="430" title="Bank Name" y="10" h="20" x="10">bank_name</TEXTFIELD>
				<TEXTFIELD w="150" title="Bank Code" y="30" h="20" x="10">bank_code</TEXTFIELD>
				<TEXTFIELD w="150" title="Swift Code" y="50" h="20" x="10">swift_code</TEXTFIELD>
				<TEXTFIELD w="150" title="Sort Code" y="50" h="20" x="290">sort_code</TEXTFIELD>
				<TEXTFIELD w="430" title="Narrative" y="70" h="20" x="10">narrative</TEXTFIELD>
			</FORM>
		</GRID>
		<GRID name="Bank Accounts" keyfield="bank_account_id" table="vw_bank_accounts">
			<TEXTFIELD w="75" title="Bank Account ID">bank_account_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Bank">bank_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Branch">bank_branch_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Bank Account Name">bank_account_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Bank Account Number">bank_account_number</TEXTFIELD>
			<TEXTFIELD w="75" title="Account Type Name">account_type_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Account Name">account_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Currency Symbol">currency_symbol</TEXTFIELD>
			<CHECKBOX w="75" title="Active">is_active</CHECKBOX>
			<FORM name="Bank Accounts" keyfield="bank_account_id" table="bank_accounts">
				<COMBOBOX w="430" title="Bank Branch" lptable="vw_bank_branch" cmb_fnct="(bank_name || ', ' || bank_branch_name)" orderby="bank_name" y="10" h="20" x="10" lpfield="bank_branch">bank_branch_id</COMBOBOX>
				<COMBOBOX w="430" title="Account" lptable="vw_accounts" cmb_fnct="account_id || ' - ' || accounts_class_name || ' - ' || account_name" y="30" h="20" x="10" lpfield="account_title">account_id</COMBOBOX>
				<COMBOBOX w="430" title="Currency" lptable="currency" y="50" h="20" x="10" lpfield="currency_name">currency_id</COMBOBOX>
				<TEXTFIELD w="430" title="Bank Account Name" y="70" h="20" x="10">bank_account_name</TEXTFIELD>
				<TEXTFIELD w="150" title="Bank Account Number" y="90" h="20" x="10">bank_account_number</TEXTFIELD>
				<TEXTFIELD w="430" title="Narrative" y="110" h="20" x="10">narrative</TEXTFIELD>
				<CHECKBOX w="150" title="Default" y="130" h="20" x="10">is_default</CHECKBOX>
				<CHECKBOX w="150" title="Active" y="130" h="20" x="290">is_active</CHECKBOX>
				<TEXTAREA w="430" title="Details" y="150" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
	</DESK>
	<DESK w="710" name="Departments" key="22" h="550">
		<GRID name="Department Role" keyfield="department_role_id" linkfield="department_id" table="vw_department_roles">
			<TEXTFIELD w="75" title="Department Name">department_name</TEXTFIELD>
			<TEXTFIELD w="275" title="Designation">department_role_name</TEXTFIELD>
			<TEXTFIELD w="275" title="Reporting To">parent_role_name</TEXTFIELD>
			<FORM tw="570" name="Department Role" keyfield="department_role_id" linkfield="department_id" table="department_roles" th="320">
				<COMBOBOX w="430" title="Department" lptable="departments" lpkey="department_id" y="10" h="20" x="10" lpfield="department_name">department_id</COMBOBOX>
				<COMBOBOX w="430" title="Designation" lptable="Department_Roles" lpkey="Department_Role_ID" y="30" h="20" x="10" lpfield="Department_Role_Name">LN_Department_Role_ID</COMBOBOX>
				<TEXTFIELD w="430" title="Department Role" y="50" h="20" x="10">department_role_name</TEXTFIELD>
				<EDITOR w="550" tab="Job Description" y="1" h="280" x="10">job_description</EDITOR>
				<EDITOR w="550" tab="Duties" y="1" h="280" x="10">duties</EDITOR>
				<EDITOR w="550" tab="Requirements" y="1" h="280" x="10">Job_Requirements</EDITOR>
				<EDITOR w="550" tab="Measures" y="1" h="280" x="10">performance_measures</EDITOR>
				<EDITOR w="550" tab="Details" y="1" h="280" x="10">details</EDITOR>
			</FORM>
			<FORMVIEW tw="570" name="Role Report" keyfield="department_role_id" linkfield="department_role_id" table="vw_department_roles">
				<TEXTFIELD w="410" title="Unit" lw="140" y="30" h="20" x="10">department_name</TEXTFIELD>
				<TEXTFIELD w="430" title="Designation" y="30" h="20" x="10">department_role_name</TEXTFIELD>
				<TEXTFIELD w="430" title="Reporting To" y="10" h="20" x="10">parent_role_name</TEXTFIELD>
				<TEXTFIELD w="550" title="Job Description" y="1" h="280" x="10">job_description</TEXTFIELD>
				<TEXTFIELD w="550" title="Duties" y="1" h="280" x="10">duties</TEXTFIELD>
				<TEXTFIELD w="550" title="Requirements" y="1" h="280" x="10">Job_Requirements</TEXTFIELD>
				<TEXTFIELD w="550" title="Measures" y="1" h="280" x="10">performance_measures</TEXTFIELD>
				<TEXTFIELD w="550" title="Details" y="1" h="280" x="10">details</TEXTFIELD>
			</FORMVIEW>
			<JASPER name="Role Details" reportfile="vw_department_role_details.jasper"></JASPER>
		</GRID>
		<GRID name="Departments" keyfield="department_id" orderby="department_id" table="vw_departments">
			<TEXTFIELD w="75" title="Department ID">department_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Program">ln_department_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Unit">department_name</TEXTFIELD>
			<GRID name="Department Roles" keyfield="department_role_id" linkfield="department_id" table="vw_department_roles">
				<TEXTFIELD w="75" title="Department Role ID">department_role_id</TEXTFIELD>
				<TEXTFIELD w="275" title="Designation">department_role_name</TEXTFIELD>
				<TEXTFIELD w="275" title="Reporting To">parent_role_name</TEXTFIELD>
				<FORM tw="570" name="Department Roles" keyfield="department_role_id" linkfield="department_id" table="department_roles" th="320">
					<COMBOBOX w="430" title="Reporting To" lptable="Department_Roles" lpkey="Department_Role_ID" y="10" h="20" x="10" lpfield="Department_Role_Name">LN_Department_Role_ID</COMBOBOX>
					<TEXTFIELD w="430" title="Designation" y="30" h="20" x="10">department_role_name</TEXTFIELD>
					<EDITOR w="550" tab="Job Description" y="1" h="280" x="10">job_description</EDITOR>
					<EDITOR w="550" tab="Duties" y="1" h="280" x="10">duties</EDITOR>
					<EDITOR w="550" tab="Requirements" y="1" h="280" x="10">Job_Requirements</EDITOR>
					<EDITOR w="550" tab="Measures" y="1" h="280" x="10">performance_measures</EDITOR>
					<EDITOR w="550" tab="Details" y="1" h="280" x="10">details</EDITOR>
				</FORM>
				<FORMVIEW tw="570" name="Role Report" keyfield="department_role_id" linkfield="department_role_id" table="vw_department_roles">
					<TEXTFIELD w="410" title="Unit" lw="140" y="30" h="20" x="10">department_name</TEXTFIELD>
					<TEXTFIELD w="430" title="Designation" y="30" h="20" x="10">department_role_name</TEXTFIELD>
					<TEXTFIELD w="430" title="Reporting To" y="10" h="20" x="10">parent_role_name</TEXTFIELD>
					<TEXTFIELD w="550" title="Job Description" y="1" h="280" x="10">job_description</TEXTFIELD>
					<TEXTFIELD w="550" title="Duties" y="1" h="280" x="10">duties</TEXTFIELD>
					<TEXTFIELD w="550" title="Requirements" y="1" h="280" x="10">Job_Requirements</TEXTFIELD>
					<TEXTFIELD w="550" title="Measures" y="1" h="280" x="10">performance_measures</TEXTFIELD>
					<TEXTFIELD w="550" title="Details" y="1" h="280" x="10">details</TEXTFIELD>
				</FORMVIEW>
				<JASPER name="Role Details" reportfile="vw_department_role_details.jasper"></JASPER>
			</GRID>
			<FORM tw="570" name="Departments" keyfield="department_id" table="departments" th="310">
				<COMBOBOX w="410" title="Program" lptable="departments" lw="140" lpkey="department_id" y="10" h="20" x="10" lpfield="department_name">ln_department_id</COMBOBOX>
				<TEXTFIELD w="410" title="Unit" lw="140" y="30" h="20" x="10">department_name</TEXTFIELD>
				<TEXTFIELD w="350" title="Department Account" y="50" h="20" x="10">department_account</TEXTFIELD>
				<TEXTFIELD w="350" title="Function Code" y="70" h="20" x="10">function_code</TEXTFIELD>
				<TEXTAREA w="550" tab="Description" y="1" h="270" x="10">description</TEXTAREA>
				<TEXTAREA w="550" tab="Duties" y="1" h="270" x="10">duties</TEXTAREA>
				<TEXTAREA w="550" tab="Reports" y="1" h="270" x="10">reports</TEXTAREA>
				<TEXTAREA w="550" tab="Details" y="1" h="270" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
	</DESK>
	<DESK w="700" name="Applicant" key="23" h="650">
		<GRID name="Applicant" keyfield="entity_id" orderby="entity_id" table="vw_applicants">
			<TEXTFIELD w="50" title="ID">entity_id</TEXTFIELD>
			<TEXTFIELD w="120" title="Name">applicant_name</TEXTFIELD>
			<TEXTFIELD w="120" title="Email">applicant_email</TEXTFIELD>
			<TEXTFIELD w="75" title="Phone">applicant_phone</TEXTFIELD>
			<TEXTFIELD w="50" title="Age">applicant_age</TEXTFIELD>
			<TEXTFIELD w="75" title="Gender">gender_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Nationality">sys_country_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Education">education_class_name</TEXTFIELD>
			<TEXTDATE w="75" title="Date To">date_to</TEXTDATE>
			<TEXTFIELD w="75" title="Certification">examination_taken</TEXTFIELD>
			<TEXTFIELD w="50" title="Experience">emp_experince</TEXTFIELD>
			<JASPER name="BIO" org.table="vw_applicants" reportfile="cv_applicant.jasper"></JASPER>
			<JASPER name="CV" org.table="vw_applicants" reportfile="cv_applicant_2.jasper"></JASPER>
			<FORM tw="570" name="Details" keyfield="entity_id" table="applicants" th="200">
				<COMBOLIST w="50" title="Title" y="10" h="20" x="10">person_title
					<DATA>Miss</DATA>
					<DATA>Mr</DATA>
					<DATA>Mrs</DATA>
					<DATA>Dr</DATA>
					<DATA>Prof</DATA>
				</COMBOLIST>
				<TEXTFIELD w="100" title="Surname" y="10" h="20" x="190">surname</TEXTFIELD>
				<TEXTFIELD w="100" title="First Name" y="10" h="20" x="490">first_name</TEXTFIELD>
				<TEXTFIELD w="150" title="Middle Name" y="30" h="20" x="10">middle_name</TEXTFIELD>
				<TEXTFIELD w="150" title="Identity Card" y="30" h="20" x="290">identity_card</TEXTFIELD>
				<TEXTDATE w="150" title="Date Of Birth" y="50" h="20" x="10">date_of_birth</TEXTDATE>
				<COMBOLIST w="150" title="Gender" y="50" ischar="true" h="20" x="290">gender
					<DATA key="M">Male</DATA>
					<DATA key="F">Female</DATA>
				</COMBOLIST>
				<COMBOBOX w="150" title="Nationality" default="KE" lptable="sys_countrys" noorg="true" lpkey="sys_country_id" y="70" h="20" x="10" lpfield="sys_country_name">nationality</COMBOBOX>
				<COMBOLIST w="150" title="Marital Status" y="70" h="20" x="290">marital_status
					<DATA key="M">Married</DATA>
					<DATA key="S">Single</DATA>
				</COMBOLIST>
				<TEXTFIELD w="430" title="Language" y="90" h="20" x="10">language</TEXTFIELD>
				<TEXTFIELD w="430" title="E-Mail" y="110" h="20" x="10">applicant_email</TEXTFIELD>
				<TEXTFIELD w="150" title="Phone" y="130" h="20" x="10">applicant_phone</TEXTFIELD>
				<TEXTAREA w="550" tab="Objective" y="1" h="170" x="10">objective</TEXTAREA>
				<TEXTAREA w="550" tab="Interests" y="1" h="170" x="10">Interests</TEXTAREA>
				<TEXTAREA w="550" tab="Field of Study" y="1" h="150" x="10">field_of_study</TEXTAREA>
				<TEXTAREA w="550" tab="Details" y="1" h="170" x="10">details</TEXTAREA>
			</FORM>
			<GRID wheresql="table_name = 'applicant'" name="Address" keyfield="address_id" linkfield="table_id" table="vw_address" where="table_name = 'applicant'">
				<TEXTFIELD w="100" title="Country Name">sys_country_name</TEXTFIELD>
				<TEXTFIELD w="100" title="Postal Code">postal_code</TEXTFIELD>
				<TEXTFIELD w="100" title="Town">town</TEXTFIELD>
				<TEXTFIELD w="100" title="Phone Number">phone_number</TEXTFIELD>
				<TEXTFIELD w="100" title="Mobile">mobile</TEXTFIELD>
				<TEXTFIELD w="140" title="Email">email</TEXTFIELD>
				<CHECKBOX w="140" title="Default">is_default</CHECKBOX>
				<FORM name="Address" keyfield="address_id" linkfield="table_id" table="address">
					<DEFAULT default="applicant">table_name</DEFAULT>
					<COMBOBOX w="430" title="Country" default="KE" lptable="sys_countrys" noorg="true" y="10" h="20" x="10" lpfield="sys_country_name">sys_country_id</COMBOBOX>
					<TEXTFIELD w="150" title="Post Office Box" y="30" h="20" x="10">post_office_box</TEXTFIELD>
					<TEXTFIELD w="150" title="Postal Code" y="30" h="20" x="290">postal_code</TEXTFIELD>
					<TEXTFIELD w="150" title="Town" y="50" h="20" x="10">town</TEXTFIELD>
					<TEXTFIELD w="430" title="Premises" y="70" h="20" x="10">premises</TEXTFIELD>
					<TEXTFIELD w="430" title="Street" y="90" h="20" x="10">street</TEXTFIELD>
					<TEXTFIELD w="430" title="Phone Number" y="110" h="20" x="10">phone_number</TEXTFIELD>
					<TEXTFIELD w="150" title="Extension" y="130" h="20" x="10">extension</TEXTFIELD>
					<TEXTFIELD w="430" title="Mobile" y="150" h="20" x="10">mobile</TEXTFIELD>
					<TEXTFIELD w="430" title="Fax" y="170" h="20" x="10">fax</TEXTFIELD>
					<TEXTFIELD w="430" title="Email" y="190" h="20" x="10">email</TEXTFIELD>
					<CHECKBOX w="30" title="Default" y="210" h="20" x="10">is_default</CHECKBOX>
					<TEXTAREA w="430" title="Details" y="230" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Education" keyfield="education_id" orderby="date_from desc" linkfield="entity_id" table="vw_education">
				<TEXTFIELD w="75" title="Education Class Name">education_class_name</TEXTFIELD>
				<TEXTDATE w="75" title="Date From">date_from</TEXTDATE>
				<TEXTDATE w="75" title="Date To">date_to</TEXTDATE>
				<TEXTFIELD w="75" title="Name Of Institution">name_of_school</TEXTFIELD>
				<TEXTFIELD w="75" title="Certification">examination_taken</TEXTFIELD>
				<TEXTFIELD w="75" title="Grades Obtained">grades_obtained</TEXTFIELD>
				<FORM name="Education" keyfield="education_id" linkfield="entity_id" table="education">
					<COMBOBOX w="430" title="Education Class" lptable="education_class" orderby="education_class_id" y="10" h="20" x="10" lpfield="education_class_name">education_class_id</COMBOBOX>
					<TEXTDATE w="150" title="Date From" required="true" y="30" h="20" x="10">date_from</TEXTDATE>
					<TEXTDATE w="150" title="Date To" y="30" h="20" x="290">date_to</TEXTDATE>
					<TEXTFIELD w="430" title="Name of Institution" required="true" y="50" h="20" x="10">name_of_school</TEXTFIELD>
					<TEXTFIELD w="430" title="Certification or Degree" placeholder="Certification or Degree: e.g. Msc Computer Science" y="70" h="20" x="10">examination_taken</TEXTFIELD>
					<TEXTFIELD w="150" title="Grades Obtained" placeholder="Grades Obtained: e.g. Upper second-class honours" y="90" h="20" x="10">grades_obtained</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="110" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Employment" keyfield="employment_id" orderby="date_from desc" linkfield="entity_id" table="vw_employment">
				<TEXTDATE w="75" title="Date From">date_from</TEXTDATE>
				<TEXTDATE w="75" title="Date To">date_to</TEXTDATE>
				<TEXTFIELD w="75" title="Employers Name">employers_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Position Held">position_held</TEXTFIELD>
				<FORM name="Employment" keyfield="employment_id" linkfield="entity_id" table="employment">
					<TEXTDATE w="150" title="Date From" y="10" h="20" x="10">date_from</TEXTDATE>
					<TEXTDATE w="150" title="Date To" y="10" h="20" x="290">date_to</TEXTDATE>
					<TEXTFIELD w="430" title="Employers Name" y="30" h="20" x="10">employers_name</TEXTFIELD>
					<TEXTFIELD w="430" title="Position Held" y="50" h="20" x="10">position_held</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="70" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Seminars" keyfield="cv_seminar_id" linkfield="entity_id" table="vw_cv_seminars">
				<TEXTFIELD w="75" title="Seminar Name">cv_seminar_name</TEXTFIELD>
				<TEXTDATE w="75" title="Seminar Date">cv_seminar_date</TEXTDATE>
				<FORM name="Cv Seminars" keyfield="cv_seminar_id" linkfield="entity_id" table="cv_seminars">
					<TEXTFIELD w="430" title="Seminar Name" y="10" h="20" x="10">cv_seminar_name</TEXTFIELD>
					<TEXTDATE w="150" title="Seminar Date" y="30" h="20" x="10">cv_seminar_date</TEXTDATE>
					<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Projects" keyfield="cv_projectid" linkfield="entity_id" table="vw_cv_projects">
				<TEXTFIELD w="75" title="Project Name">cv_project_name</TEXTFIELD>
				<TEXTDATE w="75" title="Project Date">cv_project_date</TEXTDATE>
				<FORM name="Projects" keyfield="cv_projectid" linkfield="entity_id" table="cv_projects">
					<TEXTFIELD w="430" title="Project Name" y="10" h="20" x="10">cv_project_name</TEXTFIELD>
					<TEXTDATE w="150" title="Project Date" y="30" h="20" x="10">cv_project_date</TEXTDATE>
					<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Skills" keyfield="skill_id" linkfield="entity_id" table="vw_skills">
				<TEXTFIELD w="75" title="Skill Type Name">skill_type_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Skill Level">skill_level_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Training Institution">training_institution</TEXTFIELD>
				<FORM name="Skills" keyfield="skill_id" linkfield="entity_id" table="skills">
					<COMBOBOX w="430" title="Skill Type" lptable="vw_skill_types" cmb_fnct="(skill_category_name || ' - ' || skill_type_name)" y="10" h="20" x="10" lpfield="skill_type_name">skill_type_id</COMBOBOX>
					<COMBOLIST w="150" title="Skill Level" y="30" h="20" x="10">skill_level
						<DATA key="1">Basic</DATA>
						<DATA key="2">Intermediate</DATA>
						<DATA key="3">Advanced</DATA>
					</COMBOLIST>
					<TEXTFIELD w="430" title="Training Institution" y="50" h="20" x="10">training_institution</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="70" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Referees" keyfield="address_id" linkfield="table_id" table="vw_referees">
				<TEXTFIELD w="100" title="Name">address_name</TEXTFIELD>
				<TEXTFIELD w="100" title="Company">company_name</TEXTFIELD>
				<TEXTFIELD w="100" title="Position">position_held</TEXTFIELD>
				<TEXTFIELD w="100" title="Town">town</TEXTFIELD>
				<TEXTFIELD w="100" title="Phone Number">phone_number</TEXTFIELD>
				<TEXTFIELD w="100" title="Mobile">mobile</TEXTFIELD>
				<TEXTFIELD w="140" title="Email">email</TEXTFIELD>
				<FORM name="Referees" keyfield="address_id" linkfield="table_id" table="address">
					<DEFAULT default="cv_referees">table_name</DEFAULT>
					<TEXTFIELD w="430" title="Name" y="10" h="20" x="10">address_name</TEXTFIELD>
					<TEXTFIELD w="150" title="Company Name" y="30" h="20" x="10">company_name</TEXTFIELD>
					<TEXTFIELD w="150" title="Position Held" y="30" h="20" x="290">position_held</TEXTFIELD>
					<TEXTFIELD w="150" title="Post Office Box" y="50" h="20" x="10">post_office_box</TEXTFIELD>
					<TEXTFIELD w="150" title="Postal Code" y="50" h="20" x="290">postal_code</TEXTFIELD>
					<TEXTFIELD w="150" title="Town" y="70" h="20" x="10">town</TEXTFIELD>
					<TEXTFIELD w="430" title="Premises" y="90" h="20" x="10">premises</TEXTFIELD>
					<TEXTFIELD w="430" title="Street" y="110" h="20" x="10">street</TEXTFIELD>
					<COMBOBOX w="430" title="Country" default="KE" lptable="sys_countrys" noorg="true" y="130" h="20" x="10" lpfield="sys_country_name">sys_country_id</COMBOBOX>
					<TEXTFIELD w="250" title="Phone Number" y="150" h="20" x="10">phone_number</TEXTFIELD>
					<TEXTFIELD w="50" title="Extension" y="150" h="20" x="390">extension</TEXTFIELD>
					<TEXTFIELD w="430" title="Mobile" y="170" h="20" x="10">mobile</TEXTFIELD>
					<TEXTFIELD w="430" title="Fax" y="190" h="20" x="10">fax</TEXTFIELD>
					<TEXTFIELD w="430" title="Email" y="210" h="20" x="10">email</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="230" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<FILES username="repository" repository="/repository/webdav/files/" name="Upload Documents" keyfield="sys_file_id" linkfield="table_id" table="sys_files" password="baraza">
				<TEXTFIELD w="75" title="File ID">sys_file_id</TEXTFIELD>
				<TEXTFIELD w="50" title="Size">file_size</TEXTFIELD>
				<TEXTFIELD w="150" title="Type">file_type</TEXTFIELD>
				<TEXTFIELD w="175" title="File Name">file_name</TEXTFIELD>
			</FILES>
		</GRID>
	</DESK>
	<DESK w="700" name="Employees" key="24" h="650">
		<GRID name="Employees" keyfield="entity_id" orderby="first_name" table="vw_employees" tab.count="count(entity_id)" where="(active = true)">
			<TEXTFIELD w="75" title="ID">employee_id</TEXTFIELD>
			<TEXTFIELD w="75" title="First Name">first_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Surname">surname</TEXTFIELD>
			<TEXTFIELD w="75" title="Gender">gender_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Department">department_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Designation">department_role_name</TEXTFIELD>
			<TEXTDECIMAL w="75" title="Basic Salary">basic_salary</TEXTDECIMAL>
			<TEXTFIELD w="75" title="Currency">currency_symbol</TEXTFIELD>
			<FORM cols="2" tw="570" name="Details" keyfield="entity_id" table="employees" th="180">
				<COMBOBOX w="430" title="Designation" lptable="vw_department_roles" cmb_fnct="department_name || ', ' || department_role_name" orderby="department_name" y="10" h="20" x="10" lpfield="department_role">department_role_id</COMBOBOX>
				<TEXTFIELD w="150" title="Employee ID" y="30" h="20" x="10" span="true">employee_id</TEXTFIELD>
				<TEXTFIELD w="150" title="Phone" y="30" h="20" x="290">phone</TEXTFIELD>
				<COMBOLIST w="70" title="" y="50" h="20" x="70" span="true">person_title
					<DATA>Miss</DATA>
					<DATA>Mr</DATA>
					<DATA>Mrs</DATA>
					<DATA>Dr</DATA>
					<DATA>Prof</DATA>
				</COMBOLIST>
				<TEXTFIELD w="100" title="Surname" lw="130" y="50" h="20" x="10">surname</TEXTFIELD>
				<TEXTFIELD w="100" title="Middle Name" lw="90" y="50" h="20" x="250" span="true">middle_name</TEXTFIELD>
				<TEXTFIELD w="100" title="First Name" lw="70" y="50" h="20" x="440">first_name</TEXTFIELD>
				<TEXTDATE w="150" title="Date Of Birth" y="70" h="20" x="10" span="true">date_of_birth</TEXTDATE>
				<COMBOBOX w="150" title="Nationality" lptable="sys_countrys" default_org_fnct="get_default_country" noorg="true" lpkey="sys_country_id" y="70" h="20" x="290" lpfield="sys_country_name">nationality</COMBOBOX>
				<COMBOLIST w="150" title="Gender" y="90" ischar="true" h="20" x="10" span="true">gender
					<DATA key="M">Male</DATA>
					<DATA key="F">Female</DATA>
				</COMBOLIST>
				<COMBOLIST w="150" title="Marital Status" y="90" h="20" x="290">marital_status
					<DATA key="M">Married</DATA>
					<DATA key="S">Single</DATA>
					<DATA key="D">DIvorced</DATA>
					<DATA key="W">Widowed</DATA>
					<DATA key="X">Separated</DATA>
				</COMBOLIST>
				<COMBOBOX w="150" title="Birth Nation" lptable="sys_countrys" default_org_fnct="get_default_country" noorg="true" lpkey="sys_country_id" y="110" h="20" x="10" span="true" lpfield="sys_country_name">nation_of_birth</COMBOBOX>
				<TEXTFIELD w="150" title="Place of Birth" y="110" h="20" x="290">place_of_birth</TEXTFIELD>
				<COMBOBOX w="430" title="Location" lptable="locations" y="130" h="20" x="10" span="true" lpfield="location_name">location_id</COMBOBOX>
				<COMBOBOX w="430" title="Pay Group" lptable="pay_groups" y="170" h="20" x="10" lpfield="pay_group_name">pay_group_id</COMBOBOX>
				<TEXTFIELD w="150" title="Identity Card" y="190" h="20" x="10" span="true">identity_card</TEXTFIELD>
				<CHECKBOX w="150" title="Active" default="true" y="190" h="20" x="290">active</CHECKBOX>
				<TEXTFIELD w="150" title="Bank Account" y="210" h="20" x="10" span="true">bank_account</TEXTFIELD>
				<COMBOBOX w="430" title="Bank Branch" lptable="vw_bank_branch" cmb_fnct="(bank_name || ', ' || bank_branch_name)" orderby="bank_name" y="230" h="20" x="10" lpfield="bank_branch">bank_branch_id</COMBOBOX>
				<TEXTFIELD w="430" title="Language" y="250" h="20" x="10">language</TEXTFIELD>
				<COMBOBOX w="430" title="Org" lptable="orgs" tab="Terms" where="(is_active = true)" y="10" h="20" x="10" lpfield="org_name">org_id</COMBOBOX>
				<TEXTDATE w="150" title="Appointment Date" tab="Terms" y="30" h="20" x="10" span="true">appointment_date</TEXTDATE>
				<TEXTDATE w="150" title="Exit Date" tab="Terms" y="30" h="20" x="290">exit_date</TEXTDATE>
				<CHECKBOX w="150" title="Contract" tab="Terms" y="50" h="20" x="10" span="true">contract</CHECKBOX>
				<TEXTFIELD w="150" title="Contract Period" default="0" tab="Terms" y="50" h="20" x="290">contract_period</TEXTFIELD>
				<TEXTDECIMAL w="150" title="Basic Salary" default="0" tab="Terms" y="70" h="20" x="10" span="true">basic_salary</TEXTDECIMAL>
				<COMBOBOX w="430" title="Currency" lptable="currency" default_org_fnct="get_default_currency" tab="Terms" y="90" h="20" x="10" lpfield="currency_name">currency_id</COMBOBOX>
				<COMBOBOX w="430" title="Pay Scale" lptable="pay_scales" tab="Terms" y="110" h="20" x="10" span="true" lpfield="pay_scale_name">pay_scale_id</COMBOBOX>
				<COMBOBOX w="430" title="Pay Step" lptable="vw_pay_scale_steps" tab="Terms" y="130" h="20" x="10" lpfield="pay_step_name">pay_scale_step_id</COMBOBOX>
				<TEXTFIELD w="430" title="Employment Terms" tab="Terms" y="150" h="20" x="10">employment_terms</TEXTFIELD>
				<TEXTAREA w="550" tab="Objective" y="1" h="150" x="10">objective</TEXTAREA>
				<TEXTAREA w="550" tab="Interests" y="1" h="150" x="10">Interests</TEXTAREA>
				<TEXTAREA w="550" tab="Field of Study" y="1" h="150" x="10">field_of_study</TEXTAREA>
				<PICTURE w="550" tab="Picture" access="ob" y="1" h="150" x="10">picture_file</PICTURE>
				<TEXTDECIMAL w="150" title="Height" tab="Medical" y="2" h="20" x="10">height</TEXTDECIMAL>
				<TEXTDECIMAL w="150" title="Weight" tab="Medical" y="2" h="20" x="290">weight</TEXTDECIMAL>
				<TEXTFIELD w="150" title="Blood Group" tab="Medical" y="22" h="20" x="10">blood_group</TEXTFIELD>
				<TEXTFIELD w="430" title="Allergies" tab="Medical" y="42" h="40" x="10">allergies</TEXTFIELD>
				<TEXTAREA w="550" tab="Details" y="1" h="150" x="10">details</TEXTAREA>
			</FORM>
			<GRID name="Address" keyfield="address_id" linkfield="table_id" table="vw_address" where="table_name = 'employees'">
				<TEXTFIELD w="100" title="Country Name">sys_country_name</TEXTFIELD>
				<TEXTFIELD w="100" title="Postal Code">postal_code</TEXTFIELD>
				<TEXTFIELD w="100" title="Town">town</TEXTFIELD>
				<TEXTFIELD w="100" title="Phone Number">phone_number</TEXTFIELD>
				<TEXTFIELD w="100" title="Mobile">mobile</TEXTFIELD>
				<TEXTFIELD w="140" title="Email">email</TEXTFIELD>
				<TEXTFIELD w="140" title="Default">is_default</TEXTFIELD>
				<FORM name="Address" keyfield="address_id" linkfield="table_id" table="address">
					<DEFAULT default="employees">table_name</DEFAULT>
					<COMBOBOX w="430" title="Country" default="KE" lptable="sys_countrys" noorg="true" y="10" h="20" x="10" lpfield="sys_country_name">sys_country_id</COMBOBOX>
					<TEXTFIELD w="150" title="Post Office Box" y="30" h="20" x="10">post_office_box</TEXTFIELD>
					<TEXTFIELD w="150" title="Postal Code" y="30" h="20" x="290">postal_code</TEXTFIELD>
					<TEXTFIELD w="150" title="Town" y="50" h="20" x="10">town</TEXTFIELD>
					<TEXTFIELD w="430" title="Premises" y="70" h="20" x="10">premises</TEXTFIELD>
					<TEXTFIELD w="430" title="Street" y="90" h="20" x="10">street</TEXTFIELD>
					<TEXTFIELD w="430" title="Phone Number" y="110" h="20" x="10">phone_number</TEXTFIELD>
					<TEXTFIELD w="150" title="Extension" y="130" h="20" x="10">extension</TEXTFIELD>
					<TEXTFIELD w="430" title="Mobile" y="150" h="20" x="10">mobile</TEXTFIELD>
					<TEXTFIELD w="430" title="Fax" y="170" h="20" x="10">fax</TEXTFIELD>
					<TEXTFIELD w="430" title="Email" y="190" h="20" x="10">email</TEXTFIELD>
					<CHECKBOX w="30" title="Default" y="210" h="20" x="10">is_default</CHECKBOX>
					<TEXTAREA w="430" title="Details" y="230" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Education" keyfield="education_id" orderby="date_from desc" linkfield="entity_id" table="vw_education">
				<TEXTFIELD w="75" title="Education Class Name">education_class_name</TEXTFIELD>
				<TEXTDATE w="75" title="Date From">date_from</TEXTDATE>
				<TEXTDATE w="75" title="Date To">date_to</TEXTDATE>
				<TEXTFIELD w="75" title="Name Of Institution">name_of_school</TEXTFIELD>
				<TEXTFIELD w="75" title="Certification">examination_taken</TEXTFIELD>
				<TEXTFIELD w="75" title="Grades Obtained">grades_obtained</TEXTFIELD>
				<FORM name="Education" keyfield="education_id" linkfield="entity_id" table="education">
					<COMBOBOX w="430" title="Education Class" lptable="education_class" orderby="education_class_id" y="10" h="20" x="10" lpfield="education_class_name">education_class_id</COMBOBOX>
					<TEXTDATE w="150" title="Date From" required="true" y="30" h="20" x="10">date_from</TEXTDATE>
					<TEXTDATE w="150" title="Date To" y="30" h="20" x="290">date_to</TEXTDATE>
					<TEXTFIELD w="430" title="Name of Institution" required="true" y="50" h="20" x="10">name_of_school</TEXTFIELD>
					<TEXTFIELD w="430" title="Certification or Degree" placeholder="Certification or Degree: e.g. Msc Computer Science" y="70" h="20" x="10">examination_taken</TEXTFIELD>
					<TEXTFIELD w="150" title="Grades Obtained" placeholder="Grades Obtained: e.g. Upper second-class honours" y="90" h="20" x="10">grades_obtained</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="110" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Employment" keyfield="employment_id" orderby="date_from desc" linkfield="entity_id" table="vw_employment">
				<TEXTDATE w="75" title="Date From">date_from</TEXTDATE>
				<TEXTDATE w="75" title="Date To">date_to</TEXTDATE>
				<TEXTFIELD w="75" title="Employers Name">employers_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Position Held">position_held</TEXTFIELD>
				<FORM name="Employment" keyfield="employment_id" linkfield="entity_id" table="employment">
					<TEXTDATE w="150" title="Date From" y="10" h="20" x="10">date_from</TEXTDATE>
					<TEXTDATE w="150" title="Date To" y="10" h="20" x="290">date_to</TEXTDATE>
					<TEXTFIELD w="430" title="Employers Name" y="30" h="20" x="10">employers_name</TEXTFIELD>
					<TEXTFIELD w="430" title="Position Held" y="50" h="20" x="10">position_held</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="70" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Kins" keyfield="kin_id" orderby="kin_type_id" linkfield="entity_id" table="vw_kins">
				<TEXTFIELD w="75" title="Kin Type Name">kin_type_name</TEXTFIELD>
				<TEXTDATE w="75" title="Date Of Birth">date_of_birth</TEXTDATE>
				<TEXTFIELD w="75" title="Name">full_names</TEXTFIELD>
				<TEXTFIELD w="75" title="Identification">identification</TEXTFIELD>
				<CHECKBOX w="140" title="Emergency Contact">emergency_contact</CHECKBOX>
				<FORM name="Kins" keyfield="kin_id" linkfield="entity_id" table="kins">
					<COMBOBOX w="430" title="Kin Type" lptable="kin_types" y="10" h="20" x="10" lpfield="kin_type_name">kin_type_id</COMBOBOX>
					<TEXTFIELD w="430" title="Full Names" y="30" h="20" x="10">full_names</TEXTFIELD>
					<TEXTDATE w="150" title="Date Of Birth" y="50" h="20" x="10">date_of_birth</TEXTDATE>
					<TEXTFIELD w="150" title="Identification" y="50" h="20" x="290">identification</TEXTFIELD>
					<TEXTFIELD w="150" title="Relation" y="70" h="20" x="10">relation</TEXTFIELD>
					<CHECKBOX w="150" title="Emergency Contact" y="90" h="20" x="10">emergency_contact</CHECKBOX>
					<CHECKBOX w="150" title="Beneficiary" y="110" h="20" x="10">beneficiary</CHECKBOX>
					<TEXTDECIMAL w="150" title="Benefit %" y="110" h="20" x="290">beneficiary_ps</TEXTDECIMAL>
					<TEXTAREA w="430" title="Details" y="130" h="70" x="10">details</TEXTAREA>
				</FORM>
				<GRID name="Address" keyfield="address_id" linkfield="table_id" table="vw_address" where="table_name = 'kins'">
					<TEXTFIELD w="100" title="Country Name">sys_country_name</TEXTFIELD>
					<TEXTFIELD w="100" title="Postal Code">postal_code</TEXTFIELD>
					<TEXTFIELD w="100" title="Town">town</TEXTFIELD>
					<TEXTFIELD w="100" title="Phone Number">phone_number</TEXTFIELD>
					<TEXTFIELD w="100" title="Mobile">mobile</TEXTFIELD>
					<TEXTFIELD w="140" title="Email">email</TEXTFIELD>
					<TEXTFIELD w="140" title="Default">is_default</TEXTFIELD>
					<FORM name="Address" keyfield="address_id" linkfield="table_id" table="address">
						<DEFAULT default="kins">table_name</DEFAULT>
						<COMBOBOX w="430" title="Country" default="KE" lptable="sys_countrys" noorg="true" y="10" h="20" x="10" lpfield="sys_country_name">sys_country_id</COMBOBOX>
						<TEXTFIELD w="150" title="Post Office Box" y="30" h="20" x="10">post_office_box</TEXTFIELD>
						<TEXTFIELD w="150" title="Postal Code" y="30" h="20" x="290">postal_code</TEXTFIELD>
						<TEXTFIELD w="150" title="Town" y="50" h="20" x="10">town</TEXTFIELD>
						<TEXTFIELD w="430" title="Premises" y="70" h="20" x="10">premises</TEXTFIELD>
						<TEXTFIELD w="430" title="Street" y="90" h="20" x="10">street</TEXTFIELD>
						<TEXTFIELD w="430" title="Phone Number" y="110" h="20" x="10">phone_number</TEXTFIELD>
						<TEXTFIELD w="150" title="Extension" y="130" h="20" x="10">extension</TEXTFIELD>
						<TEXTFIELD w="430" title="Mobile" y="150" h="20" x="10">mobile</TEXTFIELD>
						<TEXTFIELD w="430" title="Fax" y="170" h="20" x="10">fax</TEXTFIELD>
						<TEXTFIELD w="430" title="Email" y="190" h="20" x="10">email</TEXTFIELD>
						<CHECKBOX w="30" title="Default" y="210" h="20" x="10">is_default</CHECKBOX>
						<TEXTAREA w="430" title="Details" y="230" h="70" x="10">details</TEXTAREA>
					</FORM>
				</GRID>
			</GRID>
			<GRID name="Seminars" keyfield="cv_seminar_id" linkfield="entity_id" table="vw_cv_seminars">
				<TEXTFIELD w="75" title="Seminar Name">cv_seminar_name</TEXTFIELD>
				<TEXTDATE w="75" title="Seminar Date">cv_seminar_date</TEXTDATE>
				<FORM name="Cv Seminars" keyfield="cv_seminar_id" linkfield="entity_id" table="cv_seminars">
					<TEXTFIELD w="430" title="Seminar Name" y="10" h="20" x="10">cv_seminar_name</TEXTFIELD>
					<TEXTDATE w="150" title="Seminar Date" y="30" h="20" x="10">cv_seminar_date</TEXTDATE>
					<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Projects" keyfield="cv_projectid" linkfield="entity_id" table="vw_cv_projects">
				<TEXTFIELD w="75" title="Project Name">cv_project_name</TEXTFIELD>
				<TEXTDATE w="75" title="Project Date">cv_project_date</TEXTDATE>
				<FORM name="Projects" keyfield="cv_projectid" linkfield="entity_id" table="cv_projects">
					<TEXTFIELD w="430" title="Project Name" y="10" h="20" x="10">cv_project_name</TEXTFIELD>
					<TEXTDATE w="150" title="Project Date" y="30" h="20" x="10">cv_project_date</TEXTDATE>
					<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Skills" keyfield="skill_id" linkfield="entity_id" table="vw_skills">
				<TEXTFIELD w="75" title="Skill Type Name">skill_type_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Skill Level">skill_level_name</TEXTFIELD>
				<CHECKBOX w="75" title="Aquired">aquired</CHECKBOX>
				<TEXTDATE w="75" title="Training Date">training_date</TEXTDATE>
				<CHECKBOX w="75" title="Trained">trained</CHECKBOX>
				<TEXTFIELD w="75" title="Training Institution">training_institution</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Training Cost">training_cost</TEXTDECIMAL>
				<FORM name="Skills" keyfield="skill_id" linkfield="entity_id" table="skills">
					<COMBOBOX w="430" title="Skill Type" lptable="vw_skill_types" cmb_fnct="(skill_category_name || ' - ' || skill_type_name)" y="10" h="20" x="10" lpfield="skill_type_name">skill_type_id</COMBOBOX>
					<COMBOLIST w="150" title="Skill Level" y="30" h="20" x="10">skill_level
						<DATA key="1">Basic</DATA>
						<DATA key="2">Intermediate</DATA>
						<DATA key="3">Advanced</DATA>
					</COMBOLIST>
					<CHECKBOX w="150" title="Aquired" y="30" h="20" x="290">aquired</CHECKBOX>
					<TEXTDATE w="150" title="Training Date" y="50" h="20" x="10">training_date</TEXTDATE>
					<CHECKBOX w="150" title="Trained" y="50" h="20" x="290">trained</CHECKBOX>
					<TEXTFIELD w="430" title="Training Institution" y="70" h="20" x="10">training_institution</TEXTFIELD>
					<TEXTDECIMAL w="150" title="Training Cost" y="90" h="20" x="10">training_cost</TEXTDECIMAL>
					<TEXTAREA w="430" title="Details" y="110" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Referees" keyfield="address_id" linkfield="table_id" table="vw_referees">
				<TEXTFIELD w="100" title="Name">address_name</TEXTFIELD>
				<TEXTFIELD w="100" title="Company">company_name</TEXTFIELD>
				<TEXTFIELD w="100" title="Position">position_held</TEXTFIELD>
				<TEXTFIELD w="100" title="Town">town</TEXTFIELD>
				<TEXTFIELD w="100" title="Phone Number">phone_number</TEXTFIELD>
				<TEXTFIELD w="100" title="Mobile">mobile</TEXTFIELD>
				<TEXTFIELD w="140" title="Email">email</TEXTFIELD>
				<FORM name="Referees" keyfield="address_id" linkfield="table_id" table="address">
					<DEFAULT default="referees">table_name</DEFAULT>
					<TEXTFIELD w="430" title="Name" y="10" h="20" x="10">address_name</TEXTFIELD>
					<TEXTFIELD w="150" title="Company Name" y="30" h="20" x="10">company_name</TEXTFIELD>
					<TEXTFIELD w="150" title="Position Held" y="30" h="20" x="290">position_held</TEXTFIELD>
					<TEXTFIELD w="150" title="Post Office Box" y="50" h="20" x="10">post_office_box</TEXTFIELD>
					<TEXTFIELD w="150" title="Postal Code" y="50" h="20" x="290">postal_code</TEXTFIELD>
					<TEXTFIELD w="150" title="Town" y="70" h="20" x="10">town</TEXTFIELD>
					<TEXTFIELD w="430" title="Premises" y="90" h="20" x="10">premises</TEXTFIELD>
					<TEXTFIELD w="430" title="Street" y="110" h="20" x="10">street</TEXTFIELD>
					<COMBOBOX w="430" title="Country" default="KE" lptable="sys_countrys" noorg="true" y="130" h="20" x="10" lpfield="sys_country_name">sys_country_id</COMBOBOX>
					<TEXTFIELD w="250" title="Phone Number" y="150" h="20" x="10">phone_number</TEXTFIELD>
					<TEXTFIELD w="50" title="Extension" y="150" h="20" x="390">extension</TEXTFIELD>
					<TEXTFIELD w="430" title="Mobile" y="170" h="20" x="10">mobile</TEXTFIELD>
					<TEXTFIELD w="430" title="Fax" y="190" h="20" x="10">fax</TEXTFIELD>
					<TEXTFIELD w="430" title="Email" y="210" h="20" x="10">email</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="230" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Identifications" keyfield="identification_id" linkfield="entity_id" table="vw_identifications">
				<TEXTFIELD w="75" title="Identification Type Name">identification_type_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Identification">identification</TEXTFIELD>
				<CHECKBOX w="75" title="Active">is_active</CHECKBOX>
				<TEXTDATE w="75" title="Starting From">starting_from</TEXTDATE>
				<TEXTDATE w="75" title="Expiring At">expiring_at</TEXTDATE>
				<FORM name="Identifications" keyfield="identification_id" linkfield="entity_id" table="identifications">
					<COMBOBOX w="430" title="Identification Type" lptable="identification_types" y="10" h="20" x="10" lpfield="identification_type_name">identification_type_id</COMBOBOX>
					<COMBOBOX w="430" title="Nationality" default="KE" lptable="sys_countrys" noorg="true" lpkey="sys_country_id" y="30" h="20" x="10" lpfield="sys_country_name">nationality</COMBOBOX>
					<TEXTFIELD w="150" title="Identification Number" y="50" h="20" x="10">identification</TEXTFIELD>
					<CHECKBOX w="150" title="Active" y="50" h="20" x="290">is_active</CHECKBOX>
					<TEXTFIELD w="150" title="Place Of Issue" y="70" h="20" x="10">place_of_issue</TEXTFIELD>
					<TEXTDATE w="150" title="Starting From" y="70" h="20" x="10">starting_from</TEXTDATE>
					<TEXTDATE w="150" title="Expiring At" y="90" h="20" x="290">expiring_at</TEXTDATE>
					<TEXTAREA w="430" title="Details" y="110" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<FILES username="repository" repository="/repository/webdav/files/" name="Documents" keyfield="sys_file_id" linkfield="table_id" table="sys_files" params="table_name" where="(table_name='employees')" filetable="employees" password="baraza">
				<TEXTFIELD w="75" title="File ID">sys_file_id</TEXTFIELD>
				<TEXTFIELD w="175" title="File Name">file_name</TEXTFIELD>
				<TEXTFIELD w="75" title="File Type">file_type</TEXTFIELD>
				<TEXTFIELD w="75" title="File Size">file_size</TEXTFIELD>
			</FILES>
			<JASPER name="CV" org.table="vw_employees" file.sql="SELECT entity_name FROM entitys WHERE entity_id = " reportfile="cv_employees.jasper"></JASPER>
		</GRID>
		<GRID name="Education Class" keyfield="education_class_id" table="education_class">
			<TEXTFIELD w="75" title="Education Class ID">education_class_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Education Class Name">education_class_name</TEXTFIELD>
			<FORM name="Education Class" keyfield="education_class_id" table="education_class">
				<TEXTFIELD w="150" title="Education Class" y="10" h="20" x="10">education_class_name</TEXTFIELD>
				<TEXTAREA w="430" title="Details" y="30" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
		<GRID name="Kin Types" keyfield="kin_type_id" table="kin_types">
			<TEXTFIELD w="75" title="Kin Type ID">kin_type_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Kin Type Name">kin_type_name</TEXTFIELD>
			<FORM name="Kin Types" keyfield="kin_type_id" table="kin_types">
				<TEXTFIELD w="150" title="Kin Type Name" y="10" h="20" x="10">kin_type_name</TEXTFIELD>
				<TEXTAREA w="430" title="Details" y="30" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
		<GRID name="Skill Category" keyfield="skill_category_id" table="skill_category">
			<TEXTFIELD w="75" title="Skill Category ID">skill_category_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Skill Category Name">skill_category_name</TEXTFIELD>
			<GRID name="Skill Types" keyfield="skill_type_id" linkfield="skill_category_id" table="vw_skill_types">
				<TEXTFIELD w="75" title="Skill Type ID">skill_type_id</TEXTFIELD>
				<TEXTFIELD w="75" title="Skill Type Name">skill_type_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Basic">basic</TEXTFIELD>
				<TEXTFIELD w="75" title="Intermediate">intermediate</TEXTFIELD>
				<TEXTFIELD w="75" title="Advanced">advanced</TEXTFIELD>
				<FORM name="Skill Types" keyfield="skill_type_id" linkfield="skill_category_id" table="skill_types">
					<TEXTFIELD w="430" title="Skill Type" y="10" h="20" x="10">skill_type_name</TEXTFIELD>
					<TEXTFIELD w="430" title="Basic" y="30" h="20" x="10">basic</TEXTFIELD>
					<TEXTFIELD w="430" title="Intermediate" y="50" h="20" x="10">intermediate</TEXTFIELD>
					<TEXTFIELD w="430" title="Advanced" y="70" h="20" x="10">advanced</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="90" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<FORM name="Skill Category" keyfield="skill_category_id" table="skill_category">
				<TEXTFIELD w="350" title="Skill Category" y="10" h="20" x="10">skill_category_name</TEXTFIELD>
				<TEXTAREA w="430" title="Details" y="30" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
		<GRID name="Identification Types" keyfield="identification_type_id" table="identification_types">
			<TEXTFIELD w="75" title="Identification Type ID">identification_type_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Identification Type Name">identification_type_name</TEXTFIELD>
			<FORM name="Identification Types" keyfield="identification_type_id" table="identification_types">
				<TEXTFIELD w="150" title="Identification Type Name" y="10" h="20" x="10">identification_type_name</TEXTFIELD>
				<TEXTAREA w="430" title="Details" y="30" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
	</DESK>
	<DESK w="700" name="Employees Archives" key="54" h="650">
		<GRID name="Employees" keyfield="entity_id" orderby="first_name" table="vw_employees" where="(active = false)">
			<TEXTFIELD w="75" title="ID">employee_id</TEXTFIELD>
			<TEXTFIELD w="75" title="First Name">first_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Surname">surname</TEXTFIELD>
			<TEXTFIELD w="75" title="Gender">gender_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Department">department_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Designation">department_role_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Currency">currency_symbol</TEXTFIELD>
			<TEXTDECIMAL w="75" title="Basic Salary">basic_salary</TEXTDECIMAL>
			<FORM new="false" tw="570" name="Details" keyfield="entity_id" delete="false" table="employees" th="180">
				<COMBOBOX w="430" title="Designation" lptable="vw_department_roles" cmb_fnct="department_name || ', ' || department_role_name" orderby="department_name" y="10" h="20" x="10" lpfield="department_role">department_role_id</COMBOBOX>
				<TEXTFIELD w="150" title="Employee ID" y="30" h="20" x="10">employee_id</TEXTFIELD>
				<TEXTFIELD w="150" title="Phone" y="30" h="20" x="290">phone</TEXTFIELD>
				<COMBOLIST w="70" title="" y="50" h="20" x="70">person_title
					<DATA>Miss</DATA>
					<DATA>Mr</DATA>
					<DATA>Mrs</DATA>
					<DATA>Dr</DATA>
					<DATA>Prof</DATA>
				</COMBOLIST>
				<TEXTFIELD w="100" title="Surname" lw="130" y="50" h="20" x="10">surname</TEXTFIELD>
				<TEXTFIELD w="100" title="Middle Name" lw="90" y="50" h="20" x="250">middle_name</TEXTFIELD>
				<TEXTFIELD w="100" title="First Name" lw="70" y="50" h="20" x="440">first_name</TEXTFIELD>
				<TEXTDATE w="150" title="Date Of Birth" y="70" h="20" x="10">date_of_birth</TEXTDATE>
				<COMBOBOX w="150" title="Nationality" default="KE" lptable="sys_countrys" noorg="true" lpkey="sys_country_id" y="70" h="20" x="290" lpfield="sys_country_name">nationality</COMBOBOX>
				<COMBOLIST w="150" title="Gender" y="90" ischar="true" h="20" x="10">gender
					<DATA key="M">Male</DATA>
					<DATA key="F">Female</DATA>
				</COMBOLIST>
				<COMBOLIST w="150" title="Marital Status" y="90" h="20" x="290">marital_status
					<DATA key="M">Married</DATA>
					<DATA key="S">Single</DATA>
					<DATA key="D">DIvorced</DATA>
					<DATA key="W">Widowed</DATA>
					<DATA key="X">Separated</DATA>
				</COMBOLIST>
				<COMBOBOX w="150" title="Birth Nation" default="KE" lptable="sys_countrys" noorg="true" lpkey="sys_country_id" y="110" h="20" x="10" lpfield="sys_country_name">nation_of_birth</COMBOBOX>
				<TEXTFIELD w="150" title="Place of Birth" y="110" h="20" x="290">place_of_birth</TEXTFIELD>
				<COMBOBOX w="430" title="Location" lptable="locations" y="130" h="20" x="10" lpfield="location_name">location_id</COMBOBOX>
				<COMBOBOX w="430" title="Pay Group" lptable="pay_groups" y="170" h="20" x="10" lpfield="pay_group_name">pay_group_id</COMBOBOX>
				<TEXTFIELD w="150" title="Identity Card" y="190" h="20" x="10">identity_card</TEXTFIELD>
				<CHECKBOX w="150" title="Active" default="true" y="190" h="20" x="290">active</CHECKBOX>
				<TEXTFIELD w="150" title="Bank Account" y="210" h="20" x="10">bank_account</TEXTFIELD>
				<COMBOBOX w="430" title="Bank Branch" lptable="vw_bank_branch" cmb_fnct="(bank_name || ', ' || bank_branch_name)" orderby="bank_name" y="230" h="20" x="10" lpfield="bank_branch">bank_branch_id</COMBOBOX>
				<TEXTFIELD w="430" title="Language" y="250" h="20" x="10">language</TEXTFIELD>
				<COMBOBOX w="430" title="Org" lptable="orgs" tab="Terms" where="(is_active = true)" y="10" h="20" x="10" lpfield="org_name">org_id</COMBOBOX>
				<TEXTDATE w="150" title="Appointment Date" tab="Terms" y="30" h="20" x="10">appointment_date</TEXTDATE>
				<TEXTDATE w="150" title="Exit Date" tab="Terms" y="30" h="20" x="290">exit_date</TEXTDATE>
				<CHECKBOX w="150" title="Contract" tab="Terms" y="50" h="20" x="10">contract</CHECKBOX>
				<TEXTFIELD w="150" title="Contract Period" default="0" tab="Terms" y="50" h="20" x="290">contract_period</TEXTFIELD>
				<TEXTDECIMAL w="150" title="Basic Salary" default="0" tab="Terms" y="70" h="20" x="10">basic_salary</TEXTDECIMAL>
				<COMBOBOX w="430" title="Currency" lptable="currency" tab="Terms" y="90" h="20" x="10" lpfield="currency_name">currency_id</COMBOBOX>
				<COMBOBOX w="430" title="Pay Scale" lptable="pay_scales" tab="Terms" y="110" h="20" x="10" lpfield="pay_scale_name">pay_scale_id</COMBOBOX>
				<COMBOBOX w="430" title="Pay Step" lptable="vw_pay_scale_steps" tab="Terms" y="130" h="20" x="10" lpfield="pay_step_name">pay_scale_step_id</COMBOBOX>
				<TEXTFIELD w="430" title="Employment Terms" tab="Terms" y="150" h="20" x="10">employment_terms</TEXTFIELD>
				<TEXTAREA w="550" tab="Objective" y="1" h="150" x="10">objective</TEXTAREA>
				<TEXTAREA w="550" tab="Interests" y="1" h="150" x="10">Interests</TEXTAREA>
				<TEXTAREA w="550" tab="Field of Study" y="1" h="150" x="10">field_of_study</TEXTAREA>
				<PICTURE w="550" username="repository" repository="/repository/webdav/pictures/" tab="Picture" pictures="../repository/barazapictures" access="enter2012" password="baraza" y="1" h="150" x="10">picture_file</PICTURE>
				<TEXTDECIMAL w="150" title="Height" tab="Medical" y="2" h="20" x="10">height</TEXTDECIMAL>
				<TEXTDECIMAL w="150" title="Weight" tab="Medical" y="2" h="20" x="290">weight</TEXTDECIMAL>
				<TEXTFIELD w="150" title="Blood Group" tab="Medical" y="22" h="20" x="10">blood_group</TEXTFIELD>
				<TEXTFIELD w="430" title="Allergies" tab="Medical" y="42" h="40" x="10">allergies</TEXTFIELD>
				<TEXTAREA w="550" tab="Details" y="1" h="150" x="10">details</TEXTAREA>
			</FORM>
			<GRID name="Address" keyfield="address_id" delete="false" linkfield="table_id" table="vw_address" where="table_name = 'employees'">
				<TEXTFIELD w="100" title="Country Name">sys_country_name</TEXTFIELD>
				<TEXTFIELD w="100" title="Postal Code">postal_code</TEXTFIELD>
				<TEXTFIELD w="100" title="Town">town</TEXTFIELD>
				<TEXTFIELD w="100" title="Phone Number">phone_number</TEXTFIELD>
				<TEXTFIELD w="100" title="Mobile">mobile</TEXTFIELD>
				<TEXTFIELD w="140" title="Email">email</TEXTFIELD>
				<TEXTFIELD w="140" title="Default">is_default</TEXTFIELD>
				<FORM new="false" name="Address" keyfield="address_id" edit="false" delete="false" linkfield="table_id" table="address">
					<DEFAULT default="employees">table_name</DEFAULT>
					<COMBOBOX w="430" title="Country" default="KE" lptable="sys_countrys" noorg="true" y="10" h="20" x="10" lpfield="sys_country_name">sys_country_id</COMBOBOX>
					<TEXTFIELD w="150" title="Post Office Box" y="30" h="20" x="10">post_office_box</TEXTFIELD>
					<TEXTFIELD w="150" title="Postal Code" y="30" h="20" x="290">postal_code</TEXTFIELD>
					<TEXTFIELD w="150" title="Town" y="50" h="20" x="10">town</TEXTFIELD>
					<TEXTFIELD w="430" title="Premises" y="70" h="20" x="10">premises</TEXTFIELD>
					<TEXTFIELD w="430" title="Street" y="90" h="20" x="10">street</TEXTFIELD>
					<TEXTFIELD w="430" title="Phone Number" y="110" h="20" x="10">phone_number</TEXTFIELD>
					<TEXTFIELD w="150" title="Extension" y="130" h="20" x="10">extension</TEXTFIELD>
					<TEXTFIELD w="430" title="Mobile" y="150" h="20" x="10">mobile</TEXTFIELD>
					<TEXTFIELD w="430" title="Fax" y="170" h="20" x="10">fax</TEXTFIELD>
					<TEXTFIELD w="430" title="Email" y="190" h="20" x="10">email</TEXTFIELD>
					<CHECKBOX w="30" title="Default" y="210" h="20" x="10">is_default</CHECKBOX>
					<TEXTAREA w="430" title="Details" y="230" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Education" keyfield="education_id" delete="false" orderby="education_class_id" linkfield="entity_id" table="vw_education">
				<TEXTFIELD w="75" title="Education Class Name">education_class_name</TEXTFIELD>
				<TEXTDATE w="75" title="Date From">date_from</TEXTDATE>
				<TEXTDATE w="75" title="Date To">date_to</TEXTDATE>
				<TEXTFIELD w="75" title="Name Of Institution">name_of_school</TEXTFIELD>
				<TEXTFIELD w="75" title="Certification">examination_taken</TEXTFIELD>
				<TEXTFIELD w="75" title="Grades Obtained">grades_obtained</TEXTFIELD>
				<FORM new="false" name="Education" keyfield="education_id" edit="false" delete="false" linkfield="entity_id" table="education">
					<COMBOBOX w="430" title="Education Class" lptable="education_class" orderby="education_class_id" y="10" h="20" x="10" lpfield="education_class_name">education_class_id</COMBOBOX>
					<TEXTDATE w="150" title="Date From" y="30" h="20" x="10">date_from</TEXTDATE>
					<TEXTDATE w="150" title="Date To" y="30" h="20" x="290">date_to</TEXTDATE>
					<TEXTFIELD w="430" title="Name Of Institution" y="50" h="20" x="10">name_of_school</TEXTFIELD>
					<TEXTFIELD w="430" title="Certification or Degree" y="70" h="20" x="10">examination_taken</TEXTFIELD>
					<TEXTFIELD w="150" title="Grades Obtained" y="90" h="20" x="10">grades_obtained</TEXTFIELD>
					<TEXTFIELD w="150" title="Certificate Number" y="90" h="20" x="290">certificate_number</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="110" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Employment" keyfield="employment_id" delete="false" linkfield="entity_id" table="vw_employment">
				<TEXTDATE w="75" title="Date From">date_from</TEXTDATE>
				<TEXTDATE w="75" title="Date To">date_to</TEXTDATE>
				<TEXTFIELD w="75" title="Employers Name">employers_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Position Held">position_held</TEXTFIELD>
				<FORM new="false" name="Employment" keyfield="employment_id" edit="false" delete="false" linkfield="entity_id" table="employment">
					<TEXTDATE w="150" title="Date From" y="10" h="20" x="10">date_from</TEXTDATE>
					<TEXTDATE w="150" title="Date To" y="10" h="20" x="290">date_to</TEXTDATE>
					<TEXTFIELD w="430" title="Employers Name" y="30" h="20" x="10">employers_name</TEXTFIELD>
					<TEXTFIELD w="430" title="Position Held" y="50" h="20" x="10">position_held</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="70" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Kins" keyfield="kin_id" delete="false" orderby="kin_type_id" linkfield="entity_id" table="vw_kins">
				<TEXTFIELD w="75" title="Kin Type Name">kin_type_name</TEXTFIELD>
				<TEXTDATE w="75" title="Date Of Birth">date_of_birth</TEXTDATE>
				<TEXTFIELD w="75" title="Name">full_names</TEXTFIELD>
				<TEXTFIELD w="75" title="Identification">identification</TEXTFIELD>
				<TEXTFIELD w="140" title="Emergency Contact">emergency_contact</TEXTFIELD>
				<FORM new="false" name="Kins" keyfield="kin_id" edit="false" delete="false" linkfield="entity_id" table="kins">
					<COMBOBOX w="430" title="Kin Type" lptable="kin_types" orderby="kin_type_id" y="10" h="20" x="10" lpfield="kin_type_name">kin_type_id</COMBOBOX>
					<TEXTFIELD w="430" title="Full Names" y="30" h="20" x="10">full_names</TEXTFIELD>
					<TEXTDATE w="150" title="Date Of Birth" y="50" h="20" x="10">date_of_birth</TEXTDATE>
					<TEXTFIELD w="150" title="Identification" y="50" h="20" x="290">identification</TEXTFIELD>
					<TEXTFIELD w="150" title="Relation" y="70" h="20" x="10">relation</TEXTFIELD>
					<CHECKBOX w="50" title="Emergency Contact" y="70" h="20" x="290">emergency_contact</CHECKBOX>
					<TEXTAREA w="430" title="Details" y="90" h="70" x="10">details</TEXTAREA>
				</FORM>
				<GRID name="Address" keyfield="address_id" delete="false" linkfield="table_id" table="vw_address" where="table_name = 'kins'">
					<TEXTFIELD w="100" title="Country Name">sys_country_name</TEXTFIELD>
					<TEXTFIELD w="100" title="Postal Code">postal_code</TEXTFIELD>
					<TEXTFIELD w="100" title="Town">town</TEXTFIELD>
					<TEXTFIELD w="100" title="Phone Number">phone_number</TEXTFIELD>
					<TEXTFIELD w="100" title="Mobile">mobile</TEXTFIELD>
					<TEXTFIELD w="140" title="Email">email</TEXTFIELD>
					<TEXTFIELD w="140" title="Default">is_default</TEXTFIELD>
					<FORM new="false" name="Address" keyfield="address_id" edit="false" delete="false" linkfield="table_id" table="address">
						<DEFAULT default="kins">table_name</DEFAULT>
						<COMBOBOX w="430" title="Country" default="KE" lptable="sys_countrys" noorg="true" y="10" h="20" x="10" lpfield="sys_country_name">sys_country_id</COMBOBOX>
						<TEXTFIELD w="150" title="Post Office Box" y="30" h="20" x="10">post_office_box</TEXTFIELD>
						<TEXTFIELD w="150" title="Postal Code" y="30" h="20" x="290">postal_code</TEXTFIELD>
						<TEXTFIELD w="150" title="Town" y="50" h="20" x="10">town</TEXTFIELD>
						<TEXTFIELD w="430" title="Premises" y="70" h="20" x="10">premises</TEXTFIELD>
						<TEXTFIELD w="430" title="Street" y="90" h="20" x="10">street</TEXTFIELD>
						<TEXTFIELD w="430" title="Phone Number" y="110" h="20" x="10">phone_number</TEXTFIELD>
						<TEXTFIELD w="150" title="Extension" y="130" h="20" x="10">extension</TEXTFIELD>
						<TEXTFIELD w="430" title="Mobile" y="150" h="20" x="10">mobile</TEXTFIELD>
						<TEXTFIELD w="430" title="Fax" y="170" h="20" x="10">fax</TEXTFIELD>
						<TEXTFIELD w="430" title="Email" y="190" h="20" x="10">email</TEXTFIELD>
						<CHECKBOX w="30" title="Default" y="210" h="20" x="10">is_default</CHECKBOX>
						<TEXTAREA w="430" title="Details" y="230" h="70" x="10">details</TEXTAREA>
					</FORM>
				</GRID>
			</GRID>
			<GRID name="Seminars" keyfield="cv_seminar_id" delete="false" linkfield="entity_id" table="vw_cv_seminars">
				<TEXTFIELD w="75" title="Seminar Name">cv_seminar_name</TEXTFIELD>
				<TEXTDATE w="75" title="Seminar Date">cv_seminar_date</TEXTDATE>
				<FORM new="false" name="Cv Seminars" keyfield="cv_seminar_id" edit="false" delete="false" linkfield="entity_id" table="cv_seminars">
					<TEXTFIELD w="430" title="Seminar Name" y="10" h="20" x="10">cv_seminar_name</TEXTFIELD>
					<TEXTDATE w="150" title="Seminar Date" y="30" h="20" x="10">cv_seminar_date</TEXTDATE>
					<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Projects" keyfield="cv_projectid" delete="false" linkfield="entity_id" table="vw_cv_projects">
				<TEXTFIELD w="75" title="Project Name">cv_project_name</TEXTFIELD>
				<TEXTDATE w="75" title="Project Date">cv_project_date</TEXTDATE>
				<FORM new="false" name="Projects" keyfield="cv_projectid" edit="false" delete="false" linkfield="entity_id" table="cv_projects">
					<TEXTFIELD w="430" title="Project Name" y="10" h="20" x="10">cv_project_name</TEXTFIELD>
					<TEXTDATE w="150" title="Project Date" y="30" h="20" x="10">cv_project_date</TEXTDATE>
					<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Skills" keyfield="skill_id" delete="false" linkfield="entity_id" table="vw_skills">
				<TEXTFIELD w="75" title="Skill Type Name">skill_type_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Skill Level">skill_level_name</TEXTFIELD>
				<CHECKBOX w="75" title="Aquired">aquired</CHECKBOX>
				<TEXTDATE w="75" title="Training Date">training_date</TEXTDATE>
				<CHECKBOX w="75" title="Trained">trained</CHECKBOX>
				<TEXTFIELD w="75" title="Training Institution">training_institution</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Training Cost">training_cost</TEXTDECIMAL>
				<FORM new="false" name="Skills" keyfield="skill_id" edit="false" delete="false" linkfield="entity_id" table="skills">
					<GRIDBOX w="430" title="Skill Type" lptable="skill_types" webgrid="8" y="10" h="20" x="10" lpfield="skill_type_name">skill_type_id
						<GRID name="Skill Types" keyfield="skill_type_id" orderby="skill_category_id" table="vw_skill_types">
							<TEXTFIELD w="75" title="Skill Category">skill_category_name</TEXTFIELD>
							<TEXTFIELD w="75" title="Skill Type Name">skill_type_name</TEXTFIELD>
							<TEXTFIELD w="75" title="Basic">basic</TEXTFIELD>
							<TEXTFIELD w="75" title="Intermediate">intermediate</TEXTFIELD>
							<TEXTFIELD w="75" title="Advanced">advanced</TEXTFIELD>
						</GRID>
					</GRIDBOX>
					<COMBOLIST w="150" title="Skill Level" y="30" h="20" x="10">skill_level
						<DATA key="1">Basic</DATA>
						<DATA key="2">Intermediate</DATA>
						<DATA key="3">Advanced</DATA>
					</COMBOLIST>
					<CHECKBOX w="150" title="Aquired" y="30" h="20" x="290">aquired</CHECKBOX>
					<TEXTDATE w="150" title="Training Date" y="50" h="20" x="10">training_date</TEXTDATE>
					<CHECKBOX w="150" title="Trained" y="50" h="20" x="290">trained</CHECKBOX>
					<TEXTFIELD w="430" title="Training Institution" y="70" h="20" x="10">training_institution</TEXTFIELD>
					<TEXTDECIMAL w="150" title="Training Cost" y="90" h="20" x="10">training_cost</TEXTDECIMAL>
					<TEXTAREA w="430" title="Details" y="110" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Referees" keyfield="address_id" linkfield="table_id" table="vw_referees">
				<TEXTFIELD w="100" title="Name">sys_country_name</TEXTFIELD>
				<TEXTFIELD w="100" title="Company">company_name</TEXTFIELD>
				<TEXTFIELD w="100" title="Position">position_held</TEXTFIELD>
				<TEXTFIELD w="100" title="Town">town</TEXTFIELD>
				<TEXTFIELD w="100" title="Phone Number">phone_number</TEXTFIELD>
				<TEXTFIELD w="100" title="Mobile">mobile</TEXTFIELD>
				<TEXTFIELD w="140" title="Email">email</TEXTFIELD>
				<FORM name="Referees" keyfield="address_id" linkfield="table_id" table="address">
					<DEFAULT default="cv_referees">table_name</DEFAULT>
					<TEXTFIELD w="430" title="Name" y="10" h="20" x="10">address_name</TEXTFIELD>
					<TEXTFIELD w="150" title="Company Name" y="30" h="20" x="10">company_name</TEXTFIELD>
					<TEXTFIELD w="150" title="Position Held" y="30" h="20" x="290">position_held</TEXTFIELD>
					<TEXTFIELD w="150" title="Post Office Box" y="50" h="20" x="10">post_office_box</TEXTFIELD>
					<TEXTFIELD w="150" title="Postal Code" y="50" h="20" x="290">postal_code</TEXTFIELD>
					<TEXTFIELD w="150" title="Town" y="70" h="20" x="10">town</TEXTFIELD>
					<TEXTFIELD w="430" title="Premises" y="90" h="20" x="10">premises</TEXTFIELD>
					<TEXTFIELD w="430" title="Street" y="110" h="20" x="10">street</TEXTFIELD>
					<COMBOBOX w="430" title="Country" default="KE" lptable="sys_countrys" noorg="true" y="130" h="20" x="10" lpfield="sys_country_name">sys_country_id</COMBOBOX>
					<TEXTFIELD w="250" title="Phone Number" y="150" h="20" x="10">phone_number</TEXTFIELD>
					<TEXTFIELD w="50" title="Extension" y="150" h="20" x="390">extension</TEXTFIELD>
					<TEXTFIELD w="430" title="Mobile" y="170" h="20" x="10">mobile</TEXTFIELD>
					<TEXTFIELD w="430" title="Fax" y="190" h="20" x="10">fax</TEXTFIELD>
					<TEXTFIELD w="430" title="Email" y="210" h="20" x="10">email</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="230" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<FILES edit="false" keyfield="sys_file_id" linkfield="table_id" params="table_name" table="sys_files" where="(table_name='employees')" password="enter" new="false" username="root" repository="/repository/webdav/files/" name="Documents" delete="false" filetable="employees">
				<TEXTFIELD w="75" title="File ID">sys_file_id</TEXTFIELD>
				<TEXTFIELD w="175" title="File Name">file_name</TEXTFIELD>
				<TEXTFIELD w="75" title="File Type">file_type</TEXTFIELD>
				<TEXTFIELD w="75" title="File Size">file_size</TEXTFIELD>
			</FILES>
			<JASPER name="CV" org.table="vw_employees" reportfile="cv_employees.jasper"></JASPER>
		</GRID>
	</DESK>
	<DESK w="700" name="Casuals" key="25" h="550">
		<GRID name="Casual Application" keyfield="casual_application_id" table="vw_casual_application">
			<TEXTFIELD w="75" title="ID">casual_application_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Casual Category">casual_category_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Department">department_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Position">position</TEXTFIELD>
			<TEXTDATE w="75" title="Application Date">application_date</TEXTDATE>
			<TEXTDECIMAL w="75" title="Approved Pay Rate">approved_pay_rate</TEXTDECIMAL>
			<TEXTFIELD w="75" title="Approval">approve_status</TEXTFIELD>
			<TEXTFIELD w="75" title="Work Duration">work_duration</TEXTFIELD>
			<GRID name="Casuals" keyfield="casual_id" linkfield="casual_application_id" table="vw_casuals">
				<TEXTFIELD w="75" title="ID">entity_id</TEXTFIELD>
				<TEXTFIELD w="75" title="Worker Name">entity_name</TEXTFIELD>
				<TEXTDATE w="75" title="Start Date">start_date</TEXTDATE>
				<TEXTDATE w="75" title="End Date">end_date</TEXTDATE>
				<TEXTFIELD w="75" title="Duration">duration</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Pay Rate">pay_rate</TEXTDECIMAL>
				<TEXTFIELD w="75" title="Approval">approve_status</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Amount Paid">amount_paid</TEXTDECIMAL>
				<TEXTTIMESTAMP w="75" title="Action Date">action_date</TEXTTIMESTAMP>
				<CHECKBOX w="75" title="Paid">paid</CHECKBOX>
				<FORM name="Casuals" keyfield="casual_id" linkfield="casual_application_id" table="casuals">
					<COMBOBOX w="430" title="Worker" lptable="entitys" where="(entity_type_id=4)" y="10" h="20" x="10" lpfield="entity_name">entity_id</COMBOBOX>
					<TEXTDATE w="150" title="Start Date" y="30" h="20" x="10">start_date</TEXTDATE>
					<TEXTDATE w="150" title="End Date" y="30" h="20" x="290">end_date</TEXTDATE>
					<TEXTFIELD w="150" title="Duration" y="50" h="20" x="10">duration</TEXTFIELD>
					<TEXTDECIMAL w="150" title="Pay Rate" y="50" h="20" x="290">pay_rate</TEXTDECIMAL>
					<TEXTDECIMAL w="150" title="Amount Paid" y="70" h="20" x="10">amount_paid</TEXTDECIMAL>
					<CHECKBOX w="150" title="Paid" y="70" h="20" x="290">paid</CHECKBOX>
					<TEXTAREA w="430" title="Details" y="90" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<FORM name="Casual Application" keyfield="casual_application_id" table="casual_application">
				<USERFIELD>entity_id</USERFIELD>
				<COMBOBOX w="150" title="Department" lptable="departments" y="10" h="20" x="10" lpfield="department_name">department_id</COMBOBOX>
				<COMBOBOX w="150" title="Casual Category" lptable="casual_category" y="10" h="20" x="290" lpfield="casual_category_name">casual_category_id</COMBOBOX>
				<TEXTFIELD w="150" title="Position" y="30" h="20" x="10">position</TEXTFIELD>
				<TEXTFIELD w="150" title="Work Duration" y="30" h="20" x="290">work_duration</TEXTFIELD>
				<TEXTDECIMAL w="150" title="Approved Pay Rate" y="50" h="20" x="10">approved_pay_rate</TEXTDECIMAL>
				<TEXTAREA w="430" title="Details" y="70" h="70" x="10">details</TEXTAREA>
			</FORM>
			<JASPER name="Casuals" reportfile="vw_casuals.jasper"></JASPER>
		</GRID>
		<GRID name="Casual Category" keyfield="casual_category_id" table="casual_category">
			<TEXTFIELD w="75" title="Casual Category ID">casual_category_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Casual Category Name">casual_category_name</TEXTFIELD>
			<FORM name="Casual Category" keyfield="casual_category_id" table="casual_category">
				<TEXTFIELD w="350" title="Casual Category" y="10" h="20" x="10">casual_category_name</TEXTFIELD>
				<TEXTAREA w="430" title="Details" y="30" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
	</DESK>
	<DESK w="700" name="Leave" key="26" h="550">
		<GRID name="Employees" keyfield="entity_id" orderby="first_name" table="vw_employees" where="(active = true)">
			<TEXTFIELD w="75" title="ID">employee_id</TEXTFIELD>
			<TEXTFIELD w="75" title="First Name">first_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Surname">surname</TEXTFIELD>
			<TEXTFIELD w="75" title="Gender">gender_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Marital Status">marital_status_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Department">department_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Department Role">department_role_name</TEXTFIELD>
			<CHECKBOX w="75" title="Active">active</CHECKBOX>
			<GRID name="Employee Leave" keyfield="employee_leave_id" linkfield="entity_id" table="vw_employee_leave">
				<TEXTFIELD w="75" title="Leave Type">leave_type_name</TEXTFIELD>
				<TEXTDATE w="75" title="Leave From">leave_from</TEXTDATE>
				<TEXTDATE w="75" title="Leave To">leave_to</TEXTDATE>
				<TEXTFIELD w="75" title="Approval">approve_status</TEXTFIELD>
				<TEXTFIELD w="75" title="Leave Days">Leave_days</TEXTFIELD>
				<TEXTFIELD w="175" title="Narrative">narrative</TEXTFIELD>
				<FORM name="Employee Leave" keyfield="employee_leave_id" linkfield="entity_id" table="employee_leave">
					<COMBOBOX w="430" title="Leave Type" lptable="leave_types" y="10" h="20" x="10" lpfield="leave_type_name">leave_type_id</COMBOBOX>
					<COMBOBOX w="430" title="Contact Person" lptable="entitys" lpkey="entity_id" where="(entity_type_id = 1)" y="30" h="20" x="10" lpfield="entity_name">contact_entity_id</COMBOBOX>
					<TEXTDATE w="150" title="Leave From" y="50" h="20" x="10">leave_from</TEXTDATE>
					<TEXTDATE w="150" title="Leave To" y="50" h="20" x="290">leave_to</TEXTDATE>
					<CHECKBOX w="150" title="Start Half Day" y="70" h="20" x="10">Start_Half_Day</CHECKBOX>
					<CHECKBOX w="150" title="End Half Day" y="70" h="20" x="290">End_Half_Day</CHECKBOX>
					<TEXTFIELD w="150" title="Leave Days" y="90" h="20" x="10">Leave_days</TEXTFIELD>
					<CHECKBOX w="150" title="Completed" y="90" h="20" x="290">completed</CHECKBOX>
					<COMBOLIST w="150" title="Completion" y="110" h="20" x="10">approve_status
						<DATA>Completed</DATA>
						<DATA>Draft</DATA>
						<DATA>Approved</DATA>
						<DATA>Rejected</DATA>
					</COMBOLIST>
					<TEXTFIELD w="430" title="Narrative" y="130" h="20" x="10">narrative</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="150" h="70" x="10">details</TEXTAREA>
				</FORM>
				<GRID name="Leave Work Days" keyfield="leave_work_day_id" linkfield="employee_leave_id" table="vw_leave_work_days">
					<TEXTDATE w="75" title="Work Date">work_date</TEXTDATE>
					<CHECKBOX w="75" title="Half Day">half_day</CHECKBOX>
					<FORM name="Leave Work Days" keyfield="leave_work_day_id" linkfield="employee_leave_id" table="leave_work_days">
						<TEXTDATE w="150" title="Work Date" y="10" h="20" x="10">work_date</TEXTDATE>
						<CHECKBOX w="150" title="Half Day" y="10" h="20" x="290">half_day</CHECKBOX>
						<COMBOLIST w="150" title="Completion" y="30" h="20" x="10">approve_status
							<DATA>Completed</DATA>
							<DATA>Draft</DATA>
							<DATA>Approved</DATA>
							<DATA>Rejected</DATA>
						</COMBOLIST>
						<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
					</FORM>
				</GRID>
			</GRID>
			<GRID name="Leave Types" keyfield="employee_leave_type_id" linkfield="entity_id" table="vw_employee_leave_types">
				<TEXTFIELD w="75" title="Leave Type Name">leave_type_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Carry Over Leave">leave_balance</TEXTFIELD>
				<FORM name="Leave Types" keyfield="employee_leave_type_id" linkfield="entity_id" table="employee_leave_types">
					<COMBOBOX w="430" title="Leave Type" lptable="leave_types" y="10" h="20" x="10" lpfield="leave_type_name">leave_type_id</COMBOBOX>
					<TEXTFIELD w="150" title="Carry Over Leave" y="30" h="20" x="10">leave_balance</TEXTFIELD>
					<TEXTDATE w="150" title="Leave Starting" default="now" y="30" h="20" x="290">leave_starting</TEXTDATE>
					<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<JASPER name="Leave" reportfile="vw_employee_leave_a.jasper"></JASPER>
		</GRID>
		<GRID name="On Leave" keyfield="employee_leave_id" table="vw_employee_leave" where="((approve_status = 'Approved') AND (leave_to >= current_date))">
			<TEXTFIELD w="75" title="Employee Name">entity_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Leave Type">leave_type_name</TEXTFIELD>
			<TEXTDATE w="75" title="Leave From">leave_from</TEXTDATE>
			<TEXTDATE w="75" title="Leave To">leave_to</TEXTDATE>
			<TEXTFIELD w="75" title="Approval">approve_status</TEXTFIELD>
			<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
		</GRID>
		<GRID name="Leave Types" keyfield="leave_type_id" table="leave_types">
			<TEXTFIELD w="175" title="Leave Type">leave_type_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Allowed Leave Days">allowed_leave_days</TEXTFIELD>
			<TEXTFIELD w="75" title="Leave Days Span">leave_days_span</TEXTFIELD>
			<TEXTDECIMAL w="75" title="Month Quota">month_quota</TEXTDECIMAL>
			<TEXTDECIMAL w="75" title="Initial Days">initial_days</TEXTDECIMAL>
			<TEXTDECIMAL w="75" title="Maximum Carry">maximum_carry</TEXTDECIMAL>
			<FORM name="Leave Types" keyfield="leave_type_id" table="leave_types" th="200">
				<TEXTFIELD w="150" title="Leave Type" y="10" h="20" x="10">leave_type_name</TEXTFIELD>
				<TEXTFIELD w="150" title="Allowed Leave Days" y="10" h="20" x="290">allowed_leave_days</TEXTFIELD>
				<TEXTFIELD w="150" title="Leave Days Span" y="30" h="20" x="10">leave_days_span</TEXTFIELD>
				<TEXTDECIMAL w="150" title="Month Quota" y="30" h="20" x="290">month_quota</TEXTDECIMAL>
				<TEXTDECIMAL w="150" title="Initial Days" y="50" h="20" x="10">initial_days</TEXTDECIMAL>
				<TEXTDECIMAL w="150" title="Maximum Carry" y="50" h="20" x="290">maximum_carry</TEXTDECIMAL>
				<COMBOLIST w="150" title="Use Type" y="70" h="20" x="10">use_type
					<DATA key="0">Specific</DATA>
					<DATA key="1">General</DATA>
					<DATA key="2">Female</DATA>
					<DATA key="3">Male</DATA>
				</COMBOLIST>
				<CHECKBOX w="150" title="Holiday" tab="Include" y="2" h="20" x="10">include_holiday</CHECKBOX>
				<CHECKBOX w="50" title="Mon" lw="50" tab="Include" y="2" h="20" x="190">include_mon</CHECKBOX>
				<CHECKBOX w="50" title="Tue" lw="50" tab="Include" y="2" h="20" x="290">include_tue</CHECKBOX>
				<CHECKBOX w="50" title="Wed" lw="50" tab="Include" y="2" h="20" x="390">include_wed</CHECKBOX>
				<CHECKBOX w="50" title="Thu" tab="Include" y="22" h="20" x="10">include_thu</CHECKBOX>
				<CHECKBOX w="50" title="Fri" lw="50" tab="Include" y="22" h="20" x="190">include_fri</CHECKBOX>
				<CHECKBOX w="50" title="Sat" lw="50" tab="Include" y="22" h="20" x="290">include_sat</CHECKBOX>
				<CHECKBOX w="50" title="Sun" lw="50" tab="Include" y="22" h="20" x="390">include_sun</CHECKBOX>
				<TEXTAREA w="530" tab="Details" y="2" h="170" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
		<GRID name="Special Request" keyfield="employee_leave_id" table="vw_employee_leave" where="(approve_status = 'Draft') AND (special_request = true)">
			<TEXTFIELD w="75" title="Staff">entity_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Leave Type Name">leave_type_name</TEXTFIELD>
			<TEXTDATE w="75" title="Leave From">leave_from</TEXTDATE>
			<TEXTDATE w="75" title="Leave To">leave_to</TEXTDATE>
			<CHECKBOX w="75" title="Start Half Day">start_half_day</CHECKBOX>
			<CHECKBOX w="75" title="End Half Day">end_half_day</CHECKBOX>
			<TEXTDECIMAL w="75" title="Leave Days">leave_days</TEXTDECIMAL>
			<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
			<ACTIONS>
				<ACTION fnct="leave_special" approval="2">Approval</ACTION>
				<ACTION fnct="leave_special" approval="3">Reject</ACTION>
			</ACTIONS>
		</GRID>
		<GRID name="Events" keyfield="org_event_id" table="org_events">
			<TEXTFIELD w="75" title="Event ID">org_event_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Event Name">org_event_name</TEXTFIELD>
			<TEXTDATE w="75" title="Start Date">start_date</TEXTDATE>
			<TEXTDATE w="75" title="End Date">end_date</TEXTDATE>
			<FORM name="Events" keyfield="org_event_id" table="org_events">
				<TEXTFIELD w="150" title="Event Name" y="10" h="20" x="10">org_event_name</TEXTFIELD>
				<TEXTDATE w="150" title="Start Date" y="10" h="20" x="290">start_date</TEXTDATE>
				<TEXTDATE w="150" title="End Date" y="30" h="20" x="10">end_date</TEXTDATE>
				<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
		<GRID name="Holidays" keyfield="holiday_id" table="holidays">
			<TEXTFIELD w="75" title="Holiday Name">holiday_name</TEXTFIELD>
			<TEXTDATE w="75" title="Holiday Date">holiday_date</TEXTDATE>
			<FORM name="Holidays" keyfield="holiday_id" table="holidays">
				<TEXTFIELD w="150" title="Holiday Name" y="10" h="20" x="10">holiday_name</TEXTFIELD>
				<TEXTDATE w="150" title="Holiday Date" y="10" h="20" x="290">holiday_date</TEXTDATE>
				<TEXTAREA w="430" title="Details" y="30" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
	</DESK>
	<DESK w="700" name="Contracting" key="30" h="550">
		<GRID name="Intake" keyfield="intake_id" orderby="opening_date desc" table="vw_intake">
			<TEXTFIELD w="75" title="Intake ID">intake_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Department">department_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Designation">department_role_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Location">location_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Pay Group">pay_group_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Pay Scale">pay_scale_name</TEXTFIELD>
			<TEXTDATE w="75" title="Opening Date">opening_date</TEXTDATE>
			<TEXTFIELD w="75" title="Positions">positions</TEXTFIELD>
			<CHECKBOX w="75" title="Contract">contract</CHECKBOX>
			<GRID name="Applications" keyfield="application_id" linkfield="intake_id" table="vw_applications" params="entity_id" noorg="true" where="(short_listed = 0)">
				<TEXTFIELD w="75" title="Applicant Name">entity_name</TEXTFIELD>
				<TEXTTIMESTAMP w="75" title="Application Date">application_date</TEXTTIMESTAMP>
				<TEXTFIELD w="75" title="Email">primary_email</TEXTFIELD>
				<TEXTFIELD w="75" title="Education">education_class_name</TEXTFIELD>
				<TEXTDATE w="75" title="Date To">date_to</TEXTDATE>
				<TEXTFIELD w="75" title="Certification">examination_taken</TEXTFIELD>
				<TEXTFIELD w="50" title="Experience">emp_experince</TEXTFIELD>
				<TEXTFIELD w="75" title="Currency Symbol">currency_symbol</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Expected Salary">expected_salary</TEXTDECIMAL>
				<JASPER name="BIO" org.table="applications" reportfile="bio_applicant_intake.jasper"></JASPER>
				<JASPER name="CV" org.table="applications" reportfile="cv_applicant_intake.jasper"></JASPER>
				<ACTIONS>
					<ACTION fnct="add_shortlist" approval="1">Short List</ACTION>
				</ACTIONS>
				<FORM name="Applications" keyfield="application_id" linkfield="intake_id" table="applications" th="210">
					<COMBOBOX w="430" title="Applicant" lptable="entitys" y="10" h="20" x="10" lpfield="entity_name">entity_id</COMBOBOX>
					<TEXTDATE w="150" title="Contract Date" y="30" h="20" x="10">contract_date</TEXTDATE>
					<TEXTDATE w="150" title="Contract Close" y="30" h="20" x="290">contract_close</TEXTDATE>
					<TEXTDATE w="150" title="Contract Start" y="50" h="20" x="10">contract_start</TEXTDATE>
					<TEXTFIELD w="150" title="Contract Period" y="50" h="20" x="290">contract_period</TEXTFIELD>
					<TEXTDECIMAL w="150" title="Initial Salary" y="70" h="20" x="10">initial_salary</TEXTDECIMAL>
					<TEXTAREA w="530" tab="Contract Terms" y="10" h="170" x="10">contract_terms</TEXTAREA>
					<TEXTAREA w="530" tab="Comments" y="1" h="170" x="10">applicant_comments</TEXTAREA>
					<TEXTAREA w="530" tab="Review" y="1" h="170" x="10">review</TEXTAREA>
				</FORM>
				<FILES username="repository" new="false" repository="/repository/webdav/files/" name="Documents" keyfield="sys_file_id" table="sys_files" password="baraza" linkparams="entity_id=table_id">
					<TEXTFIELD w="75" title="File ID">sys_file_id</TEXTFIELD>
					<TEXTFIELD w="50" title="Size">file_size</TEXTFIELD>
					<TEXTFIELD w="150" title="Type">file_type</TEXTFIELD>
					<TEXTFIELD w="175" title="File Name">file_name</TEXTFIELD>
				</FILES>
			</GRID>
			<GRID name="Short Listed" keyfield="application_id" linkfield="intake_id" table="vw_applications" params="entity_id" noorg="true" where="(short_listed = 1)">
				<TEXTFIELD w="75" title="Applicant Name">entity_name</TEXTFIELD>
				<TEXTTIMESTAMP w="75" title="Application Date">application_date</TEXTTIMESTAMP>
				<TEXTFIELD w="75" title="Email">primary_email</TEXTFIELD>
				<TEXTFIELD w="75" title="Education">education_class_name</TEXTFIELD>
				<TEXTDATE w="75" title="Date To">date_to</TEXTDATE>
				<TEXTFIELD w="75" title="Certification">examination_taken</TEXTFIELD>
				<TEXTFIELD w="50" title="Experience">emp_experince</TEXTFIELD>
				<JASPER name="BIO" org.table="applications" reportfile="bio_applicant_intake.jasper"></JASPER>
				<JASPER name="CV" org.table="applications" reportfile="cv_applicant_intake.jasper"></JASPER>
				<ACTIONS>
					<ACTION fnct="add_employee">Hire</ACTION>
					<ACTION fnct="add_shortlist" approval="2">Un Short List</ACTION>
				</ACTIONS>
				<FORM name="Applications" keyfield="application_id" linkfield="intake_id" table="applications" th="210">
					<COMBOBOX w="430" title="Applicant" lptable="entitys" y="10" h="20" x="10" lpfield="entity_name">entity_id</COMBOBOX>
					<TEXTDATE w="150" title="Contract Date" y="30" h="20" x="10">contract_date</TEXTDATE>
					<TEXTDATE w="150" title="Contract Close" y="30" h="20" x="290">contract_close</TEXTDATE>
					<TEXTDATE w="150" title="Contract Start" y="50" h="20" x="10">contract_start</TEXTDATE>
					<TEXTFIELD w="150" title="Contract Period" y="50" h="20" x="290">contract_period</TEXTFIELD>
					<TEXTDECIMAL w="150" title="Initial Salary" y="70" h="20" x="10">initial_salary</TEXTDECIMAL>
					<TEXTAREA w="530" tab="Contract Terms" y="10" h="170" x="10">contract_terms</TEXTAREA>
					<TEXTAREA w="530" tab="Comments" y="1" h="170" x="10">applicant_comments</TEXTAREA>
					<TEXTAREA w="530" tab="Review" y="1" h="170" x="10">review</TEXTAREA>
				</FORM>
				<FILES username="repository" new="false" repository="/repository/webdav/files/" name="Documents" keyfield="sys_file_id" table="sys_files" password="baraza" linkparams="entity_id=table_id">
					<TEXTFIELD w="75" title="File ID">sys_file_id</TEXTFIELD>
					<TEXTFIELD w="50" title="Size">file_size</TEXTFIELD>
					<TEXTFIELD w="150" title="Type">file_type</TEXTFIELD>
					<TEXTFIELD w="175" title="File Name">file_name</TEXTFIELD>
				</FILES>
			</GRID>
			<FORM name="Intake" keyfield="intake_id" table="intake">
				<COMBOBOX w="430" title="Department Role" lptable="department_roles" y="10" h="20" x="10" lpfield="department_role_name">department_role_id</COMBOBOX>
				<COMBOBOX w="430" title="Pay Scale" lptable="pay_scales" y="30" h="20" x="10" lpfield="pay_scale_name">pay_scale_id</COMBOBOX>
				<COMBOBOX w="430" title="Pay Group ID" lptable="pay_groups" y="50" h="20" x="10" lpfield="pay_group_name">pay_group_id</COMBOBOX>
				<COMBOBOX w="430" title="Location ID" lptable="locations" y="70" h="20" x="10" lpfield="location_name">location_id</COMBOBOX>
				<TEXTDATE w="150" title="Opening Date" y="90" h="20" x="10">opening_date</TEXTDATE>
				<TEXTDATE w="150" title="Closing Date" y="90" h="20" x="290">closing_date</TEXTDATE>
				<TEXTFIELD w="150" title="Positions" y="110" h="20" x="10">positions</TEXTFIELD>
				<CHECKBOX w="150" title="Contract" y="110" h="20" x="290">contract</CHECKBOX>
				<TEXTFIELD w="150" title="Contract Period" y="130" h="20" x="10">contract_period</TEXTFIELD>
				<TEXTAREA w="430" title="Details" y="150" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
		<GRID name="Employees" keyfield="entity_id" orderby="first_name" table="vw_employees" where="(active = true)">
			<TEXTFIELD w="75" title="ID">employee_id</TEXTFIELD>
			<TEXTFIELD w="75" title="First Name">first_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Surname">surname</TEXTFIELD>
			<TEXTFIELD w="75" title="Gender">gender_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Marital Status">marital_status_name</TEXTFIELD>
			<TEXTDECIMAL w="75" title="Basic Salary">basic_salary</TEXTDECIMAL>
			<TEXTFIELD w="75" title="Department">department_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Department Role">department_role_name</TEXTFIELD>
			<CHECKBOX w="75" title="Active">active</CHECKBOX>
			<GRID name="Contract" keyfield="application_id" linkfield="employee_id" table="vw_contracting">
				<TEXTFIELD w="75" title="Department Name">department_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Department Role Name">department_role_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Contract Type">contract_type_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Contract Status">contract_status_name</TEXTFIELD>
				<TEXTDATE w="75" title="Contract Date">contract_date</TEXTDATE>
				<TEXTDATE w="75" title="Contract Start">contract_start</TEXTDATE>
				<TEXTFIELD w="75" title="Contract Period">contract_period</TEXTFIELD>
				<TEXTFIELD w="75" title="Approval">approve_status</TEXTFIELD>
				<FORM name="Contract Details" keyfield="application_id" linkfield="employee_id" table="applications" th="210">
					<COMBOBOX w="430" title="Contract Type" lptable="contract_types" y="10" h="20" x="10" lpfield="contract_type_name">contract_type_id</COMBOBOX>
					<COMBOBOX w="430" title="Contract Status" lptable="contract_status" y="30" h="20" x="10" lpfield="contract_status_name">contract_status_id</COMBOBOX>
					<COMBOBOX w="430" title="Contract" lptable="vw_intake" y="50" h="20" x="10" lpfield="intake_disp">intake_id</COMBOBOX>
					<TEXTDATE w="150" title="Contract Date" y="70" h="20" x="10">contract_date</TEXTDATE>
					<TEXTDATE w="150" title="Contract Start" y="70" h="20" x="290">contract_start</TEXTDATE>
					<TEXTFIELD w="150" title="Contract Period" y="90" h="20" x="10">contract_period</TEXTFIELD>
					<TEXTDATE w="150" title="Contract Close" y="90" h="20" x="290">contract_close</TEXTDATE>
					<TEXTDECIMAL w="150" title="Initial Salary" y="110" h="20" x="10">initial_salary</TEXTDECIMAL>
					<TEXTAREA w="430" tab="Contract Terms" y="2" h="170" x="10">contract_terms</TEXTAREA>
					<TEXTAREA w="430" tab="Applicant Comments" y="2" h="170" x="10">applicant_comments</TEXTAREA>
					<TEXTAREA w="430" tab="Review" y="2" h="170" x="10">review</TEXTAREA>
				</FORM>
				<JASPER name="Contract" reportfile="contract.jasper"></JASPER>
			</GRID>
			<GRID name="Reporting" keyfield="reporting_id" linkfield="entity_id" table="vw_reporting">
				<TEXTFIELD w="75" title="Reporting">rpt_name</TEXTFIELD>
				<TEXTDATE w="75" title="Date From">date_from</TEXTDATE>
				<TEXTDATE w="75" title="Date To">date_to</TEXTDATE>
				<CHECKBOX w="75" title="Primary">primary_report</CHECKBOX>
				<CHECKBOX w="75" title="Active">is_active</CHECKBOX>
				<TEXTDECIMAL w="75" title="%">ps_reporting</TEXTDECIMAL>
				<FORM name="Reporting" keyfield="reporting_id" linkfield="entity_id" table="reporting">
					<COMBOBOX w="430" title="Report To" lptable="vw_employees" lpkey="entity_id" y="10" h="20" x="10" lpfield="employee_name">report_to_id</COMBOBOX>
					<TEXTDATE w="150" title="Date From" y="30" h="20" x="10">date_from</TEXTDATE>
					<TEXTDATE w="150" title="Date To" y="30" h="20" x="290">date_to</TEXTDATE>
					<CHECKBOX w="150" title="Primary" y="50" h="20" x="10">primary_report</CHECKBOX>
					<CHECKBOX w="150" title="Active" y="50" h="20" x="290">is_active</CHECKBOX>
					<TEXTDECIMAL w="150" title="% Reporting" default="100" y="70" h="20" x="10">ps_reporting</TEXTDECIMAL>
					<TEXTFIELD w="150" title="Reporting" default="1" y="70" h="20" x="290">reporting_level</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="90" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
		</GRID>
		<GRID name="Contract Types" keyfield="contract_type_id" table="contract_types">
			<TEXTFIELD w="75" title="Contract Type ID">contract_type_id</TEXTFIELD>
			<TEXTFIELD w="275" title="Contract Type Name">contract_type_name</TEXTFIELD>
			<FORM name="Contract Types" keyfield="contract_type_id" table="contract_types">
				<TEXTFIELD w="150" title="Contract Type Name" y="10" h="20" x="10">contract_type_name</TEXTFIELD>
				<TEXTFIELD w="150" title="Notice Period" y="30" h="20" x="10">notice_period</TEXTFIELD>
				<EDITOR w="430" tab="Contract" y="30" h="70" x="10">contract_text</EDITOR>
				<TEXTAREA w="430" tab="Details" y="30" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
		<GRID name="Contract Status" keyfield="contract_status_id" table="contract_status">
			<TEXTFIELD w="75" title="Contract Status ID">contract_status_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Contract Status Name">contract_status_name</TEXTFIELD>
			<FORM name="Contract Status" keyfield="contract_status_id" table="contract_status">
				<TEXTFIELD w="150" title="Contract Status Name" y="10" h="20" x="10">contract_status_name</TEXTFIELD>
				<TEXTAREA w="430" tab="Details" y="30" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
	</DESK>
	<DESK w="700" name="Internships" key="35" h="550">
		<GRID name="Internships" keyfield="internship_id" table="vw_internships">
			<TEXTFIELD w="75" title="ID">internship_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Department Name">department_name</TEXTFIELD>
			<TEXTDATE w="75" title="Opening Date">opening_date</TEXTDATE>
			<TEXTDATE w="75" title="Closing Date">closing_date</TEXTDATE>
			<TEXTFIELD w="75" title="Positions">positions</TEXTFIELD>
			<TEXTFIELD w="75" title="Location">location</TEXTFIELD>
			<GRID name="Interns" keyfield="intern_id" linkfield="internship_id" table="vw_interns">
				<TEXTFIELD w="75" title="Applicant Name">entity_name</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Payment Amount">payment_amount</TEXTDECIMAL>
				<TEXTDATE w="75" title="Start Date">start_date</TEXTDATE>
				<TEXTDATE w="75" title="End Date">end_date</TEXTDATE>
				<TEXTFIELD w="75" title="Approval">approve_status</TEXTFIELD>
				<TEXTFIELD w="75" title="Education">education_class_name</TEXTFIELD>
				<TEXTDATE w="75" title="Date To">date_to</TEXTDATE>
				<TEXTFIELD w="75" title="Certification">examination_taken</TEXTFIELD>
				<TEXTFIELD w="75" title="EMail">primary_email</TEXTFIELD>
				<TEXTFIELD w="75" title="Telephone">primary_telephone</TEXTFIELD>
				<FORM tw="210" name="Interns" keyfield="intern_id" linkfield="internship_id" table="interns">
					<COMBOBOX w="430" title="Applicant" lptable="entitys" where="(entity_type_id=4)" y="10" h="20" x="10" lpfield="entity_name">entity_id</COMBOBOX>
					<TEXTDATE w="150" title="Start Date" y="30" h="20" x="10">start_date</TEXTDATE>
					<TEXTDATE w="150" title="End Date" y="30" h="20" x="290">end_date</TEXTDATE>
					<TEXTDECIMAL w="150" title="Payment Amount" y="50" h="20" x="10">payment_amount</TEXTDECIMAL>
					<TEXTAREA w="530" title="Comments" y="1" h="170" x="10">applicant_comments</TEXTAREA>
					<TEXTAREA w="530" title="Review" y="1" h="170" x="10">review</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Evaluations" keyfield="entity_id" linkfield="internship_id" table="vw_intern_evaluations">
				<TEXTFIELD w="75" title="ID">intern_id</TEXTFIELD>
				<TEXTFIELD w="75" title="Applicant Name">applicant_name</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Payment Amount">payment_amount</TEXTDECIMAL>
				<TEXTDATE w="75" title="Start Date">start_date</TEXTDATE>
				<TEXTDATE w="75" title="End Date">end_date</TEXTDATE>
				<TEXTTIMESTAMP w="75" title="Application Date">application_date</TEXTTIMESTAMP>
				<TEXTFIELD w="75" title="Approval">approve_status</TEXTFIELD>
				<JASPER name="CV" org.table="vw_applicants" reportfile="cv_applicant.jasper"></JASPER>
			</GRID>
			<FORM name="Internships" keyfield="internship_id" table="internships">
				<COMBOBOX w="430" title="Department" lptable="departments" y="10" h="20" x="10" lpfield="department_name">department_id</COMBOBOX>
				<TEXTDATE w="150" title="Opening Date" y="30" h="20" x="10">opening_date</TEXTDATE>
				<TEXTDATE w="150" title="Closing Date" y="30" h="20" x="290">closing_date</TEXTDATE>
				<TEXTFIELD w="150" title="Positions" y="50" h="20" x="10">positions</TEXTFIELD>
				<TEXTFIELD w="150" title="Location" y="50" h="20" x="290">location</TEXTFIELD>
				<TEXTAREA w="430" title="Details" y="70" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
	</DESK>
	<DESK w="700" name="Objectives Review" key="42" h="550">
		<GRID name="Objectives Review" keyfield="objective_year" table="vw_objective_year">
			<TEXTFIELD w="75" title="objective Year">objective_year</TEXTFIELD>
			<GRID name="Employee Objectives" keyfield="employee_objective_id" orderby="entity_name" linkfield="objective_year" table="vw_employee_objectives">
				<TEXTFIELD w="75" title="Staff">entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Objective Name">employee_objective_name</TEXTFIELD>
				<TEXTDATE w="75" title="Objective Date">objective_date</TEXTDATE>
				<TEXTFIELD w="75" title="Approve Status">approve_status</TEXTFIELD>
				<JASPER name="Objective Report" reportfile="vw_employee_currentobjectives.jasper"></JASPER>
				<ACTIONS>
					<ACTION fnct="upd_reviews" approval="1">Open For Review</ACTION>
				</ACTIONS>
			</GRID>
		</GRID>
		<GRID name="Employees" keyfield="entity_id" orderby="first_name" table="vw_employees" where="(active = true)">
			<TEXTFIELD w="75" title="ID">employee_id</TEXTFIELD>
			<TEXTFIELD w="75" title="First Name">first_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Surname">surname</TEXTFIELD>
			<TEXTFIELD w="75" title="Gender">gender_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Marital Status">marital_status_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Department">department_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Department Role">department_role_name</TEXTFIELD>
			<GRID name="Employee Objectives" keyfield="employee_objective_id" linkfield="entity_id" table="vw_employee_objectives" params="approve_status">
				<TEXTFIELD w="275" title="Objective Title">employee_objective_name</TEXTFIELD>
				<TEXTDATE w="75" title="Objective Date">objective_date</TEXTDATE>
				<TEXTFIELD w="75" title="Status">approve_status</TEXTFIELD>
				<JASPER name="Objective Report" reportfile="vw_employee_currentobjectives.jasper"></JASPER>
				<GRID name="Objectives" keyfield="objective_id" orderby="objective_id" linkfield="employee_objective_id" table="vw_objectives" viewfilter="approve_status=Draft">
					<TEXTFIELD w="175" title="Objective Type">objective_type_name</TEXTFIELD>
					<TEXTDATE w="75" title="Date Set">date_set</TEXTDATE>
					<TEXTDECIMAL w="75" title="Objective %">objective_ps</TEXTDECIMAL>
					<TEXTFIELD w="175" title="Objective Name">objective_name</TEXTFIELD>
					<CHECKBOX w="75" title="Completed">objective_completed</CHECKBOX>
					<GRID name="Objective Details" keyfield="objective_detail_id" linkfield="objective_id" table="vw_objective_details">
						<TEXTFIELD w="75" title="Detail Name">objective_detail_name</TEXTFIELD>
						<TEXTFIELD w="75" title="Success Indicator">success_indicator</TEXTFIELD>
						<TEXTFIELD w="75" title="Achievements">achievements</TEXTFIELD>
						<TEXTFIELD w="75" title="Resources Required">resources_required</TEXTFIELD>
						<TEXTDATE w="75" title="Target Date">target_date</TEXTDATE>
						<TEXTDATE w="75" title="Completion Date">completion_date</TEXTDATE>
						<FORM name="Objective Details" keyfield="objective_detail_id" linkfield="objective_id" table="objective_details" th="210">
							<TEXTFIELD w="430" title="Objective Detail" y="10" h="20" x="10">objective_detail_name</TEXTFIELD>
							<TEXTDECIMAL w="150" title="% of Objective" y="30" h="20" x="10">ods_ps</TEXTDECIMAL>
							<TEXTDATE w="150" title="Target Date" y="50" h="20" x="10">target_date</TEXTDATE>
							<CHECKBOX w="150" title="Completed" y="30" h="20" x="290">completed</CHECKBOX>
							<TEXTDATE w="150" title="Completion Date" y="70" h="20" x="290">completion_date</TEXTDATE>
							<TEXTAREA w="430" tab="Success Indicator" y="2" h="70" x="10">success_indicator</TEXTAREA>
							<TEXTAREA w="430" tab="Resources Required" y="2" h="70" x="10">resources_required</TEXTAREA>
							<TEXTAREA w="430" tab="Achievements" y="2" h="70" x="10">achievements</TEXTAREA>
							<TEXTAREA w="430" tab="Details" y="2" h="70" x="10">details</TEXTAREA>
							<TEXTAREA w="430" tab="Comments" y="2" h="70" x="10">supervisor_comments</TEXTAREA>
						</FORM>
						<GRID name="Expanded Objectives" keyfield="objective_detail_id" linkfield="ln_objective_detail_id" table="vw_objective_details">
							<TEXTFIELD w="75" title="Detail Name">objective_detail_name</TEXTFIELD>
							<TEXTFIELD w="75" title="Success Indicator">success_indicator</TEXTFIELD>
							<TEXTFIELD w="75" title="Achievements">achievements</TEXTFIELD>
							<TEXTFIELD w="75" title="Resources Required">resources_required</TEXTFIELD>
							<TEXTDATE w="75" title="Target Date">target_date</TEXTDATE>
							<TEXTDATE w="75" title="Completion Date">completion_date</TEXTDATE>
							<FORM name="Expanded Objectives" keyfield="objective_detail_id" linkfield="ln_objective_detail_id" table="objective_details" th="210">
								<TEXTFIELD w="430" title="Objective Detail" y="10" h="20" x="10">objective_detail_name</TEXTFIELD>
								<TEXTDECIMAL w="150" title="% of Objective" y="30" h="20" x="10">ods_ps</TEXTDECIMAL>
								<TEXTDATE w="150" title="Target Date" y="50" h="20" x="10">target_date</TEXTDATE>
								<CHECKBOX w="150" title="Completed" y="30" h="20" x="290">completed</CHECKBOX>
								<TEXTDATE w="150" title="Completion Date" y="70" h="20" x="290">completion_date</TEXTDATE>
								<TEXTAREA w="430" tab="Success Indicator" y="2" h="70" x="10">success_indicator</TEXTAREA>
								<TEXTAREA w="430" tab="Resources Required" y="2" h="70" x="10">resources_required</TEXTAREA>
								<TEXTAREA w="430" tab="Achievements" y="2" h="70" x="10">achievements</TEXTAREA>
								<TEXTAREA w="430" tab="Details" y="2" h="70" x="10">details</TEXTAREA>
							</FORM>
						</GRID>
					</GRID>
					<FORM name="Objectives" keyfield="objective_id" linkfield="employee_objective_id" table="objectives">
						<COMBOBOX w="430" title="Objective Type" lptable="objective_types" y="10" h="20" x="10" lpfield="objective_type_name">objective_type_id</COMBOBOX>
						<TEXTDATE w="150" title="Date Set" y="30" h="20" x="10">date_set</TEXTDATE>
						<TEXTDECIMAL w="150" title="Objective %" y="30" h="20" x="290">objective_ps</TEXTDECIMAL>
						<TEXTFIELD w="430" title="Objective Name" y="50" h="20" x="10">objective_name</TEXTFIELD>
						<CHECKBOX w="150" title="Completed" y="70" h="20" x="10">objective_completed</CHECKBOX>
						<TEXTAREA w="430" title="Details" y="90" h="70" x="10">details</TEXTAREA>
					</FORM>
				</GRID>
				<FORM name="Employee Objectives" keyfield="employee_objective_id" linkfield="entity_id" table="employee_objectives" viewfilter="approve_status=Draft">
					<TEXTFIELD w="430" title="Objective Title" y="10" h="20" x="10">employee_objective_name</TEXTFIELD>
					<TEXTDATE w="150" title="Objective Date" y="30" h="20" x="10">objective_date</TEXTDATE>
					<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
		</GRID>
		<GRID name="Objective Types" keyfield="objective_type_id" table="objective_types">
			<TEXTFIELD w="75" title="Objective Type ID">objective_type_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Objective Type Name">objective_type_name</TEXTFIELD>
			<FORM name="Objective Types" keyfield="objective_type_id" table="objective_types">
				<TEXTFIELD w="430" title="Objective Type Name" y="10" h="20" x="10">objective_type_name</TEXTFIELD>
				<TEXTAREA w="430" title="Details" y="30" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
	</DESK>
	<DESK w="700" name="Perfomance Review" key="40" h="550">
		<GRID name="Perfomance Review" keyfield="review_year" table="vw_review_year">
			<TEXTFIELD w="75" title="Review Year">review_year</TEXTFIELD>
			<GRID name="Job Reviews" keyfield="job_review_id" orderby="entity_name" linkfield="review_year" table="vw_job_reviews">
				<TEXTFIELD w="75" title="Staff Name">entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Total Points">total_points</TEXTFIELD>
				<TEXTDATE w="75" title="Review Date">review_date</TEXTDATE>
				<CHECKBOX w="75" title="Review Done">review_done</CHECKBOX>
				<TEXTFIELD w="75" title="Approve Status">approve_status</TEXTFIELD>
				<JASPER name="Review Report" org.table="employees" reportfile="vw_employee_appraisal_report.jasper"></JASPER>
				<ACTIONS>
					<ACTION fnct="upd_reviews" approval="2">Open For Review</ACTION>
				</ACTIONS>
			</GRID>
			<GRID name="All Reviews" keyfield="org_id" orderby="employee_name" linkfield="review_year" table="vw_all_job_reviews">
				<TEXTFIELD w="75" title="Employee ID">employee_id</TEXTFIELD>
				<TEXTFIELD w="75" title="Job Review ID">employee_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Total Points">total_points</TEXTFIELD>
				<TEXTFIELD w="75" title="Approve Status">approve_status</TEXTFIELD>
			</GRID>
		</GRID>
		<GRID name="Employees" keyfield="entity_id" orderby="first_name" table="vw_employees" where="(active = true)">
			<TEXTFIELD w="75" title="ID">employee_id</TEXTFIELD>
			<TEXTFIELD w="75" title="First Name">first_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Surname">surname</TEXTFIELD>
			<TEXTFIELD w="75" title="Gender">gender_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Marital Status">marital_status_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Department">department_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Department Role">department_role_name</TEXTFIELD>
			<CHECKBOX w="75" title="Active">active</CHECKBOX>
			<GRID name="Work Reviews" keyfield="job_review_id" orderby="review_date desc" linkfield="entity_id" table="vw_job_reviews" params="approve_status">
				<TEXTFIELD w="75" title="Job Review ID">job_review_id</TEXTFIELD>
				<TEXTFIELD w="75" title="Total Points">total_points</TEXTFIELD>
				<TEXTDATE w="75" title="Review Date">review_date</TEXTDATE>
				<CHECKBOX w="75" title="Review Done">review_done</CHECKBOX>
				<GRID name="Objective Evaluation" keyfield="evaluation_point_id" updatetable="evaluation_points" orderby="objective_id" linkfield="job_review_id" table="vw_evaluation_objectives" params="objective_id" viewfilter="approve_status=Draft">
					<TEXTFIELD w="150" title="Objective">objective_name</TEXTFIELD>
					<EDITFIELD w="75" title="Points" editkey="evaluation_point_id" edit="true" editvalue="evaluation_points">points</EDITFIELD>
					<EDITFIELD w="175" title="Narrative" editkey="evaluation_point_id" edit="true" editvalue="evaluation_points">narrative</EDITFIELD>
					<FORM name="Objective Evaluation" keyfield="evaluation_point_id" linkfield="job_review_id" table="evaluation_points">
						<COMBOBOX w="430" title="Work Objective" lptable="vw_objectives" linkfnct="get_review_entity" linkfield="entity_id" y="10" h="20" x="10" lpfield="objective_name">objective_id</COMBOBOX>
						<TEXTFIELD w="150" title="Points" y="30" h="20" x="10">points</TEXTFIELD>
						<TEXTFIELD w="430" title="Narrative" y="50" h="20" x="10">narrative</TEXTFIELD>
						<TEXTAREA w="430" title="Details" y="70" h="70" x="10">details</TEXTAREA>
					</FORM>
					<GRID new="false" name="Objective Details" keyfield="objective_detail_id" delete="false" table="vw_objective_details" linkparams="objective_id=objective_id">
						<TEXTFIELD w="75" title="Detail Name">objective_detail_name</TEXTFIELD>
						<TEXTFIELD w="75" title="Success Indicator">success_indicator</TEXTFIELD>
						<TEXTFIELD w="75" title="Achievements">achievements</TEXTFIELD>
						<TEXTFIELD w="75" title="Resources Required">resources_required</TEXTFIELD>
						<TEXTDATE w="75" title="Target Date">target_date</TEXTDATE>
						<TEXTDATE w="75" title="Completion Date">completion_date</TEXTDATE>
						<FORM new="false" name="Objective Details" keyfield="objective_detail_id" delete="false" table="objective_details" th="210">
							<TEXTFIELD w="430" title="Achievements" y="10" h="20" x="10">achievements</TEXTFIELD>
							<CHECKBOX w="150" title="Completed" y="30" h="20" x="10">completed</CHECKBOX>
							<TEXTDATE w="150" title="Completion Date" y="30" h="20" x="290">completion_date</TEXTDATE>
							<TEXTFIELD w="150" title="Points" y="50" h="20" x="10">ods_points</TEXTFIELD>
							<TEXTAREA w="430" tab="Details" y="2" h="70" x="10">details</TEXTAREA>
							<TEXTAREA w="430" tab="Comments" y="2" h="70" x="10">supervisor_comments</TEXTAREA>
						</FORM>
					</GRID>
				</GRID>
				<GRID name="Evaluation Points" keyfield="evaluation_point_id" updatetable="evaluation_points" orderby="review_point_id" linkfield="job_review_id" table="vw_evaluation_points" viewfilter="approve_status=Draft">
					<TEXTFIELD w="150" title="Review Point">review_point_name</TEXTFIELD>
					<TEXTFIELD w="75" title="Review Points">review_points</TEXTFIELD>
					<EDITFIELD w="75" title="Points" editkey="evaluation_point_id" edit="true" editvalue="evaluation_points">points</EDITFIELD>
					<EDITFIELD w="175" title="Narrative" editkey="evaluation_point_id" edit="true" editvalue="evaluation_points">narrative</EDITFIELD>
					<FORM name="Evaluation Points" keyfield="evaluation_point_id" linkfield="job_review_id" table="evaluation_points">
						<COMBOBOX w="430" title="Review Point" lptable="review_points" linkfnct="get_review_category" y="10" h="20" x="10" lpfield="review_point_name">review_point_id</COMBOBOX>
						<TEXTFIELD w="150" title="Points" y="30" h="20" x="10">points</TEXTFIELD>
						<TEXTFIELD w="430" title="Narrative" y="50" h="20" x="10">narrative</TEXTFIELD>
						<TEXTAREA w="430" title="Details" y="70" h="70" x="10">details</TEXTAREA>
					</FORM>
				</GRID>
				<GRID name="Career Development" keyfield="evaluation_point_id" updatetable="evaluation_points" orderby="career_development_id" linkfield="job_review_id" table="vw_career_development" viewfilter="approve_status=Draft">
					<TEXTFIELD w="150" title="Career Development">career_development_name</TEXTFIELD>
					<EDITFIELD w="175" title="Narrative" editkey="evaluation_point_id" edit="true" editvalue="evaluation_points">narrative</EDITFIELD>
					<FORM name="Career Development" keyfield="evaluation_point_id" linkfield="job_review_id" table="evaluation_points">
						<COMBOBOX w="430" title="Career Development" lptable="career_development" y="10" h="20" x="10" lpfield="career_development_name">career_development_id</COMBOBOX>
						<TEXTFIELD w="430" title="Narrative" y="30" h="20" x="10">narrative</TEXTFIELD>
						<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
					</FORM>
				</GRID>
				<FORM name="Work Reviews" keyfield="job_review_id" linkfield="entity_id" table="job_reviews" viewfilter="approve_status=Draft" th="210">
					<COMBOBOX w="430" title="Review Category" lptable="review_category" y="10" h="20" x="10" lpfield="review_category_name">review_category_id</COMBOBOX>
					<TEXTDATE w="150" title="Review Date" y="30" h="20" x="10">review_date</TEXTDATE>
					<CHECKBOX w="150" title="Review Done" y="30" h="20" x="290">review_done</CHECKBOX>
					<TEXTFIELD w="150" title="Total Points" y="50" h="20" x="10">total_points</TEXTFIELD>
					<TEXTAREA w="530" tab="Recomendation" y="2" h="170" x="10">recomendation</TEXTAREA>
					<TEXTAREA w="530" tab="Staff Comments" y="2" h="170" x="10">staff_comments</TEXTAREA>
					<TEXTAREA w="530" tab="Reviewer Comments" y="2" h="170" x="10">reviewer_comments</TEXTAREA>
					<TEXTAREA w="530" tab="P. Leader Comments" y="2" h="170" x="10">pl_comments</TEXTAREA>
					<TEXTAREA w="530" tab="Details" y="2" h="170" x="10">details</TEXTAREA>
				</FORM>
				<JASPER name="Review Report" reportfile="vw_employee_appraisal_report.jasper"></JASPER>
			</GRID>
		</GRID>
		<GRID name="Review Category" keyfield="review_category_id" table="review_category">
			<TEXTFIELD w="75" title="Review Category ID">review_category_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Review Category Name">review_category_name</TEXTFIELD>
			<CHECKBOX w="50" title="Rate Objectives">rate_objectives</CHECKBOX>
			<GRID name="Review Points" keyfield="review_point_id" linkfield="review_category_id" table="vw_review_points">
				<TEXTFIELD w="75" title="Review Point ID">review_point_id</TEXTFIELD>
				<TEXTFIELD w="75" title="Review Point">review_point_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Points">review_points</TEXTFIELD>
				<FORM name="Review Points" keyfield="review_point_id" linkfield="review_category_id" table="review_points">
					<TEXTFIELD w="430" title="Review Point" y="10" h="20" x="10">review_point_name</TEXTFIELD>
					<TEXTFIELD w="150" title="Points" y="30" h="20" x="10">review_points</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<FORM name="Review Category" keyfield="review_category_id" table="review_category">
				<TEXTFIELD w="350" title="Review Category" y="10" h="20" x="10">review_category_name</TEXTFIELD>
				<CHECKBOX w="150" title="Rate Objectives" y="30" h="20" x="10">rate_objectives</CHECKBOX>
				<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
		<GRID name="Career Development" keyfield="career_development_id" table="career_development">
			<TEXTFIELD w="75" title="Career Development ID">career_development_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Career Development Name">career_development_name</TEXTFIELD>
			<FORM name="Career Development" keyfield="career_development_id" table="career_development">
				<TEXTFIELD w="150" title="Career Development Name" y="10" h="20" x="10">career_development_name</TEXTFIELD>
				<EDITOR w="550" title="Details" y="30" h="70" x="10">details</EDITOR>
			</FORM>
		</GRID>
	</DESK>
	<DESK w="700" name="Perfomance Management" key="44" h="550">
		<GRID name="Work Reviews" keyfield="job_review_id" orderby="review_date desc" table="vw_job_reviews" params="approve_status" user="entity_id">
			<TEXTFIELD w="75" fnct="to_char(review_date, 'YYYY') || ' Review'" title="Review Title">review_title</TEXTFIELD>
			<TEXTFIELD w="75" title="Review Category">review_category_name</TEXTFIELD>
			<TEXTDATE w="75" title="Review Date">review_date</TEXTDATE>
			<TEXTFIELD w="75" title="Total Points">total_points</TEXTFIELD>
			<CHECKBOX w="75" title="Review Done">review_done</CHECKBOX>
			<TEXTFIELD w="75" title="Status">approve_status</TEXTFIELD>
			<GRID name="Objective Evaluation" keyfield="evaluation_point_id" updatetable="evaluation_points" orderby="objective_id" linkfield="job_review_id" table="vw_evaluation_objectives" params="objective_id" viewfilter="approve_status=Draft">
				<TEXTFIELD w="150" title="Objective">objective_name</TEXTFIELD>
				<EDITFIELD w="75" title="Points" editkey="evaluation_point_id" edit="true" editvalue="evaluation_points">points</EDITFIELD>
				<EDITFIELD w="175" title="Narrative" editkey="evaluation_point_id" edit="true" editvalue="evaluation_points">narrative</EDITFIELD>
				<FORM name="Objective Evaluation" keyfield="evaluation_point_id" linkfield="job_review_id" table="evaluation_points">
					<COMBOBOX w="430" title="Work Objective" lptable="vw_objectives" linkfnct="get_review_entity" linkfield="entity_id" y="10" h="20" x="10" lpfield="objective_name">objective_id</COMBOBOX>
					<COMBOLIST w="50" title="Points" y="10" h="20" x="10">points
						<DATA key="1">1- Exceeds the agreed standards set for the indicator</DATA>
						<DATA key="2">2 - meets in full the agreed standards set for the indicator</DATA>
						<DATA key="3">3 - partially meets the agreed standard set for the indicator</DATA>
						<DATA key="4">4 - unsatisfactory; performance is far below the agreed standard set for the indicator.</DATA>
					</COMBOLIST>
					<TEXTAREA w="530" tab="Narrative" y="2" h="70" x="10">narrative</TEXTAREA>
					<TEXTAREA w="530" tab="Discusion Area" y="2" h="70" x="10">details</TEXTAREA>
				</FORM>
				<GRID new="false" name="Objective Details" keyfield="objective_detail_id" delete="false" table="vw_objective_details" linkparams="objective_id=objective_id">
					<TEXTFIELD w="75" title="Detail Name">objective_detail_name</TEXTFIELD>
					<TEXTFIELD w="75" title="Success Indicator">success_indicator</TEXTFIELD>
					<TEXTFIELD w="75" title="Achievements">achievements</TEXTFIELD>
					<TEXTFIELD w="75" title="Resources Required">resources_required</TEXTFIELD>
					<TEXTDATE w="75" title="Target Date">target_date</TEXTDATE>
					<TEXTDATE w="75" title="Completion Date">completion_date</TEXTDATE>
					<FORM new="false" name="Objective Details" keyfield="objective_detail_id" delete="false" table="objective_details" th="210">
						<CHECKBOX w="150" title="Completed" y="10" h="20" x="10">completed</CHECKBOX>
						<TEXTDATE w="150" title="Completion Date" y="10" h="20" x="290">completion_date</TEXTDATE>
						<TEXTFIELD w="150" title="Points" y="30" h="20" x="10">ods_points</TEXTFIELD>
						<TEXTAREA w="530" tab="Achievements" y="2" h="70" x="10">achievements</TEXTAREA>
						<TEXTAREA w="530" tab="Details" y="2" h="70" x="10">details</TEXTAREA>
					</FORM>
				</GRID>
			</GRID>
			<GRID name="Competencies Review" keyfield="evaluation_point_id" updatetable="evaluation_points" orderby="review_point_id" linkfield="job_review_id" table="vw_evaluation_points" viewfilter="approve_status=Draft">
				<TEXTFIELD w="150" title="Review Point">review_point_name</TEXTFIELD>
				<EDITFIELD w="75" title="Grade" editkey="evaluation_point_id" edit="true" editvalue="evaluation_points">grade</EDITFIELD>
				<EDITFIELD w="175" title="Narrative" editkey="evaluation_point_id" edit="true" editvalue="evaluation_points">narrative</EDITFIELD>
				<FORM name="Evaluation Points" keyfield="evaluation_point_id" linkfield="job_review_id" table="evaluation_points">
					<COMBOBOX w="430" title="Review Point" lptable="review_points" select.detail="details" linkfnct="get_review_category" y="10" h="20" x="10" lpfield="review_point_name">review_point_id</COMBOBOX>
					<COMBOLIST w="50" title="Grade" y="10" h="20" x="10">grade
						<DATA key="S">S - Satisfactory</DATA>
						<DATA key="A">A - Average</DATA>
						<DATA key="W">W - Area of Weakness</DATA>
						<DATA key="NA">NA - Not Applicable</DATA>
					</COMBOLIST>
					<TEXTAREA w="530" tab="Narrative" y="2" h="70" x="10">narrative</TEXTAREA>
					<TEXTAREA w="530" tab="Discusion Area" y="2" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Career Development" keyfield="evaluation_point_id" updatetable="evaluation_points" orderby="career_development_id" linkfield="job_review_id" table="vw_career_development" viewfilter="approve_status=Draft">
				<TEXTFIELD w="150" title="Career Development">career_development_name</TEXTFIELD>
				<EDITFIELD w="175" title="Narrative" editkey="evaluation_point_id" edit="true" editvalue="evaluation_points">narrative</EDITFIELD>
				<FORM name="Career Development" keyfield="evaluation_point_id" linkfield="job_review_id" table="evaluation_points">
					<COMBOBOX w="430" title="Career Development" lptable="career_development" y="10" h="20" x="10" lpfield="career_development_name">career_development_id</COMBOBOX>
					<TEXTFIELD w="430" title="Narrative" y="30" h="20" x="10">narrative</TEXTFIELD>
					<TEXTAREA w="430" title="Discusion Area" y="50" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<FORM name="Work Reviews" keyfield="job_review_id" table="job_reviews" viewfilter="approve_status=Draft" th="210">
				<USERFIELD>entity_id</USERFIELD>
				<COMBOBOX w="430" title="Review Category" lptable="review_category" y="10" h="20" x="10" lpfield="review_category_name">review_category_id</COMBOBOX>
				<TEXTDATE w="150" title="Review Date" y="30" h="20" x="10">review_date</TEXTDATE>
				<CHECKBOX w="150" title="Review Done" y="30" h="20" x="290">review_done</CHECKBOX>
				<TEXTFIELD w="150" title="Self Rating" y="50" h="20" x="10">self_rating</TEXTFIELD>
				<TEXTAREA w="530" tab="Overall Comments" y="2" h="170" x="10">details</TEXTAREA>
			</FORM>
			<JASPER name="Review Report" org.table="employees" reportfile="vw_employee_appraisal_report.jasper"></JASPER>
			<ACTIONS>
				<ACTION fnct="job_review_check">Apply For review</ACTION>
				<ACTION fnct="upd_reviews" approval="4">Delete Review</ACTION>
			</ACTIONS>
		</GRID>
		<GRID name="Employee Objectives" keyfield="employee_objective_id" table="vw_employee_objectives" params="approve_status" user="entity_id">
			<TEXTFIELD w="275" title="Objective Title">employee_objective_name</TEXTFIELD>
			<TEXTDATE w="75" title="Objective Date">objective_date</TEXTDATE>
			<TEXTFIELD w="75" title="Status">approve_status</TEXTFIELD>
			<JASPER name="Objective Report" reportfile="vw_employee_currentobjectives.jasper"></JASPER>
			<GRID name="Objectives" keyfield="objective_id" orderby="objective_id" linkfield="employee_objective_id" table="vw_objectives" viewfilter="approve_status=Draft">
				<TEXTFIELD w="175" title="Objective Type">objective_type_name</TEXTFIELD>
				<TEXTDATE w="75" title="Date Set">date_set</TEXTDATE>
				<TEXTDECIMAL w="75" title="Objective %">objective_ps</TEXTDECIMAL>
				<TEXTFIELD w="175" title="Objective Name">objective_name</TEXTFIELD>
				<CHECKBOX w="75" title="Completed">objective_completed</CHECKBOX>
				<GRID name="Objective Details" keyfield="objective_detail_id" linkfield="objective_id" table="vw_objective_details" where="(ln_objective_detail_id is null)">
					<TEXTFIELD w="75" title="Detail Name">objective_detail_name</TEXTFIELD>
					<TEXTFIELD w="75" title="Success Indicator">success_indicator</TEXTFIELD>
					<TEXTFIELD w="75" title="Achievements">achievements</TEXTFIELD>
					<TEXTFIELD w="75" title="Resources Required">resources_required</TEXTFIELD>
					<TEXTDATE w="75" title="Target Date">target_date</TEXTDATE>
					<TEXTDATE w="75" title="Completion Date">completion_date</TEXTDATE>
					<FORM name="Objective Details" keyfield="objective_detail_id" linkfield="objective_id" table="objective_details" th="210">
						<TEXTFIELD w="430" title="Objective Detail" y="10" h="20" x="10">objective_detail_name</TEXTFIELD>
						<TEXTDECIMAL w="150" title="% of Objective" y="30" h="20" x="10">ods_ps</TEXTDECIMAL>
						<TEXTDATE w="150" title="Target Date" y="50" h="20" x="10">target_date</TEXTDATE>
						<CHECKBOX w="150" title="Completed" y="30" h="20" x="290">completed</CHECKBOX>
						<TEXTDATE w="150" title="Completion Date" y="70" h="20" x="290">completion_date</TEXTDATE>
						<TEXTAREA w="430" tab="Success Indicator" y="2" h="70" x="10">success_indicator</TEXTAREA>
						<TEXTAREA w="430" tab="Resources Required" y="2" h="70" x="10">resources_required</TEXTAREA>
						<TEXTAREA w="430" tab="Achievements" y="2" h="70" x="10">achievements</TEXTAREA>
						<TEXTAREA w="430" tab="Details" y="2" h="70" x="10">details</TEXTAREA>
					</FORM>
					<GRID name="Expanded Objectives" keyfield="objective_detail_id" linkfield="ln_objective_detail_id" table="vw_objective_details">
						<TEXTFIELD w="75" title="Detail Name">objective_detail_name</TEXTFIELD>
						<TEXTFIELD w="75" title="Success Indicator">success_indicator</TEXTFIELD>
						<TEXTFIELD w="75" title="Achievements">achievements</TEXTFIELD>
						<TEXTFIELD w="75" title="Resources Required">resources_required</TEXTFIELD>
						<TEXTDATE w="75" title="Target Date">target_date</TEXTDATE>
						<TEXTDATE w="75" title="Completion Date">completion_date</TEXTDATE>
						<FORM name="Expanded Objectives" keyfield="objective_detail_id" linkfield="ln_objective_detail_id" table="objective_details" th="210">
							<TEXTFIELD w="430" title="Objective Detail" y="10" h="20" x="10">objective_detail_name</TEXTFIELD>
							<TEXTDECIMAL w="150" title="% of Objective" y="30" h="20" x="10">ods_ps</TEXTDECIMAL>
							<TEXTDATE w="150" title="Target Date" y="50" h="20" x="10">target_date</TEXTDATE>
							<CHECKBOX w="150" title="Completed" y="30" h="20" x="290">completed</CHECKBOX>
							<TEXTDATE w="150" title="Completion Date" y="70" h="20" x="290">completion_date</TEXTDATE>
							<TEXTAREA w="430" tab="Success Indicator" y="2" h="70" x="10">success_indicator</TEXTAREA>
							<TEXTAREA w="430" tab="Resources Required" y="2" h="70" x="10">resources_required</TEXTAREA>
							<TEXTAREA w="430" tab="Achievements" y="2" h="70" x="10">achievements</TEXTAREA>
							<TEXTAREA w="430" tab="Details" y="2" h="70" x="10">details</TEXTAREA>
						</FORM>
					</GRID>
				</GRID>
				<FORM name="Objectives" keyfield="objective_id" linkfield="employee_objective_id" table="objectives" th="150">
					<COMBOBOX w="430" title="Objective Type" lptable="objective_types" y="10" h="20" x="10" lpfield="objective_type_name">objective_type_id</COMBOBOX>
					<TEXTDATE w="150" title="Date Set" y="30" h="20" x="10">date_set</TEXTDATE>
					<TEXTDECIMAL w="150" title="Objective %" y="30" h="20" x="290">objective_ps</TEXTDECIMAL>
					<TEXTFIELD w="430" title="Objective Name" y="50" h="20" x="10">objective_name</TEXTFIELD>
					<CHECKBOX w="150" title="Completed" y="70" h="20" x="10">objective_completed</CHECKBOX>
					<TEXTAREA w="430" tab="Details" y="2" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<FORM name="Employee Objectives" keyfield="employee_objective_id" table="employee_objectives" viewfilter="approve_status=Draft">
				<USERFIELD>entity_id</USERFIELD>
				<TEXTFIELD w="430" title="Objective Title" y="10" h="20" x="10">employee_objective_name</TEXTFIELD>
				<TEXTDATE w="150" title="Objective Date" y="30" h="20" x="10">objective_date</TEXTDATE>
				<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
			</FORM>
			<ACTIONS>
				<ACTION fnct="objectives_review">Review Objectives</ACTION>
				<ACTION fnct="upd_reviews" approval="3">Delete Objective</ACTION>
			</ACTIONS>
		</GRID>
	</DESK>
	<DESK w="700" name="Claims Requests" key="36" h="590">
		<GRID name="Request Claims" keyfield="claim_id" table="vw_claims" where="approve_status='Draft'" user="entity_id">
			<TEXTFIELD w="75" title="Claim Type">claim_type_name</TEXTFIELD>
			<TEXTDATE w="75" title="Claim Date">claim_date</TEXTDATE>
			<CHECKBOX w="75" title="In Payroll">in_payroll</CHECKBOX>
			<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
			<TEXTTIMESTAMP w="75" title="Application Date">application_date</TEXTTIMESTAMP>
			<ACTIONS>
				<ACTION fnct="claims_aplication">Apply for Claim</ACTION>
			</ACTIONS>
			<GRID name="Claim Details" keyfield="claim_detail_id" linkfield="claim_id" table="vw_claim_details">
				<TEXTFIELD w="175" title="Nature Of Expence">nature_of_expence</TEXTFIELD>
				<TEXTFIELD w="175" title="Receipt Number">receipt_number</TEXTFIELD>
				<TEXTFIELD w="75" title="Currency">currency_symbol</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Amount">amount</TEXTDECIMAL>
				<TEXTDECIMAL w="75" title="Exchange Rate">exchange_rate</TEXTDECIMAL>
				<TEXTFIELD w="75" title="Expense Code">expense_code</TEXTFIELD>
				<FORM name="Claim Details" keyfield="claim_detail_id" linkfield="claim_id" table="claim_details">
					<TEXTFIELD w="150" title="Nature Of Expence" y="10" h="20" x="10">nature_of_expence</TEXTFIELD>
					<TEXTFIELD w="150" title="Receipt Number" y="10" h="20" x="290">receipt_number</TEXTFIELD>
					<COMBOBOX w="430" title="Currency" lptable="currency" y="30" h="20" x="10" lpfield="currency_name">currency_id</COMBOBOX>
					<TEXTDECIMAL w="150" title="Amount" y="50" h="20" x="10">amount</TEXTDECIMAL>
					<TEXTDECIMAL w="150" title="Exchange Rate" y="50" h="20" x="290">exchange_rate</TEXTDECIMAL>
					<TEXTFIELD w="150" title="Expense Code" y="70" h="20" x="10">expense_code</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="90" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<FORM name="Claims" keyfield="claim_id" table="claims">
				<USERFIELD>entity_id</USERFIELD>
				<DEFAULT default="Draft">approve_status</DEFAULT>
				<COMBOBOX w="430" title="Claim Type" lptable="claim_types" y="10" h="20" x="10" lpfield="claim_type_name">claim_type_id</COMBOBOX>
				<TEXTDATE w="150" title="Claim Date" y="30" h="20" x="10">claim_date</TEXTDATE>
				<CHECKBOX w="150" title="In Payroll" y="30" h="20" x="290">in_payroll</CHECKBOX>
				<TEXTFIELD w="430" title="Narrative" y="50" h="20" x="10">narrative</TEXTFIELD>
				<TEXTAREA w="430" title="Details" y="70" h="70" x="10">details</TEXTAREA>
			</FORM>
			<JASPER name="Claim Report" reportfile="vw_claim_details.jasper"></JASPER>
		</GRID>
		<GRID name="Claims" keyfield="claim_id" table="vw_claims" where="approve_status!='Draft'" user="entity_id">
			<TEXTFIELD w="75" title="Claim Type">claim_type_name</TEXTFIELD>
			<TEXTDATE w="75" title="Claim Date">claim_date</TEXTDATE>
			<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
			<TEXTTIMESTAMP w="75" title="Application Date">application_date</TEXTTIMESTAMP>
			<TEXTFIELD w="75" title="Approve Status">approve_status</TEXTFIELD>
			<JASPER name="Claim Report" reportfile="vw_claim_details.jasper"></JASPER>
		</GRID>
	</DESK>
	<DESK w="700" name="My Tasks" key="47" h="550">
		<GRID name="Open Tasks" keyfield="task_id" linkfield="phase_id" table="vw_tasks" where="(task_completed = false)" user="entity_id">
			<TEXTFIELD w="75" title="Project">project_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Phase">phase_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Task Name">task_name</TEXTFIELD>
			<TEXTDATE w="75" title="Task Start Date">task_start_date</TEXTDATE>
			<TEXTDATE w="75" title="Task Dead Line">task_dead_line</TEXTDATE>
			<TEXTDATE w="75" title="Task End Date">task_end_date</TEXTDATE>
			<GRID name="Timesheet" keyfield="timesheet_id" linkfield="task_id" table="vw_timesheet">
				<TEXTDATE w="75" title="Date">ts_date</TEXTDATE>
				<SPINTIME w="75" title="Start Time">ts_start_time</SPINTIME>
				<SPINTIME w="75" title="End Time">ts_end_time</SPINTIME>
				<TEXTDECIMAL w="75" title="Hours">ts_hours</TEXTDECIMAL>
				<TEXTFIELD w="275" title="Narrative">ts_narrative</TEXTFIELD>
				<FORM name="Timesheet" keyfield="timesheet_id" linkfield="task_id" table="timesheet">
					<TEXTDATE w="150" title="Date" y="10" h="20" x="10">ts_date</TEXTDATE>
					<SPINTIME w="150" title="Start Time" y="30" h="20" x="10">ts_start_time</SPINTIME>
					<SPINTIME w="150" title="End Time" y="30" h="20" x="290">ts_end_time</SPINTIME>
					<TEXTFIELD w="430" title="Narrative" y="70" h="20" x="10">ts_narrative</TEXTFIELD>
					<EDITOR w="430" title="Details" y="90" h="70" x="10">details</EDITOR>
				</FORM>
			</GRID>
		</GRID>
		<GRID name="My Projects" keyfield="project_id" table="vw_project_staff" user="staff_id">
			<TEXTFIELD w="75" title="Project ID">project_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Client Name">client_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Project Type">project_type_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Project Name">project_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
			<TEXTFIELD w="75" title="Project Account">project_account</TEXTFIELD>
			<TEXTDATE w="75" title="Start Date">start_date</TEXTDATE>
			<GRID name="Phases" keyfield="phase_id" linkfield="project_id" table="vw_phases">
				<TEXTFIELD w="75" title="Phase ID">phase_id</TEXTFIELD>
				<TEXTFIELD w="275" title="Phase Name">phase_name</TEXTFIELD>
				<TEXTDATE w="75" title="Phase Start Date">phase_start_date</TEXTDATE>
				<TEXTDATE w="75" title="Phase End Date">phase_end_date</TEXTDATE>
				<GRID name="My Tasks" keyfield="task_id" linkfield="phase_id" table="vw_tasks" user="entity_id">
					<TEXTFIELD w="75" title="Task ID">task_id</TEXTFIELD>
					<TEXTFIELD w="75" title="Staff">entity_name</TEXTFIELD>
					<TEXTFIELD w="75" title="Task Name">task_name</TEXTFIELD>
					<TEXTDATE w="75" title="Start Date">task_start_date</TEXTDATE>
					<TEXTDATE w="75" title="Dead Line">task_dead_line</TEXTDATE>
					<TEXTDATE w="75" title="End Date">task_end_date</TEXTDATE>
					<CHECKBOX w="45" title="Completed">task_completed</CHECKBOX>
					<TEXTFIELD w="75" title="Hours Taken">hours_taken</TEXTFIELD>
					<FORM name="Tasks" keyfield="task_id" linkfield="phase_id" table="tasks">
						<USERFIELD>entity_id</USERFIELD>
						<TEXTFIELD w="430" title="Task Name" y="30" h="20" x="10">task_name</TEXTFIELD>
						<TEXTDATE w="150" title="Start Date" y="50" h="20" x="10">start_date</TEXTDATE>
						<TEXTDATE w="150" title="Dead Line" y="50" h="20" x="290">dead_line</TEXTDATE>
						<TEXTDATE w="150" title="End Date" y="70" h="20" x="10">end_date</TEXTDATE>
						<CHECKBOX w="150" title="Completed" y="70" h="20" x="290">completed</CHECKBOX>
						<TEXTFIELD w="150" title="Hours Taken" y="90" h="20" x="10">hours_taken</TEXTFIELD>
						<EDITOR w="430" title="Details" y="110" h="70" x="10">details</EDITOR>
					</FORM>
					<GRID name="Timesheet" keyfield="timesheet_id" linkfield="task_id" table="vw_timesheet">
						<TEXTDATE w="75" title="Date">ts_date</TEXTDATE>
						<SPINTIME w="75" title="Start Time">ts_start_time</SPINTIME>
						<SPINTIME w="75" title="End Time">ts_end_time</SPINTIME>
						<TEXTDECIMAL w="75" title="Hours">ts_hours</TEXTDECIMAL>
						<TEXTFIELD w="275" title="Narrative">ts_narrative</TEXTFIELD>
					</GRID>
				</GRID>
				<GRID name="All Tasks" keyfield="task_id" linkfield="phase_id" table="vw_tasks">
					<TEXTFIELD w="75" title="Task ID">task_id</TEXTFIELD>
					<TEXTFIELD w="75" title="Staff">entity_name</TEXTFIELD>
					<TEXTFIELD w="75" title="Task Name">task_name</TEXTFIELD>
					<TEXTDATE w="75" title="Start Date">task_start_date</TEXTDATE>
					<TEXTDATE w="75" title="Dead Line">task_dead_line</TEXTDATE>
					<TEXTDATE w="75" title="End Date">task_end_date</TEXTDATE>
					<CHECKBOX w="45" title="Completed">task_completed</CHECKBOX>
					<TEXTFIELD w="75" title="Hours Taken">hours_taken</TEXTFIELD>
					<GRID name="Timesheet" keyfield="timesheet_id" linkfield="task_id" table="vw_timesheet">
						<TEXTDATE w="75" title="Date">ts_date</TEXTDATE>
						<SPINTIME w="75" title="Start Time">ts_start_time</SPINTIME>
						<SPINTIME w="75" title="End Time">ts_end_time</SPINTIME>
						<TEXTDECIMAL w="75" title="Hours">ts_hours</TEXTDECIMAL>
						<TEXTFIELD w="275" title="Narrative">ts_narrative</TEXTFIELD>
					</GRID>
				</GRID>
			</GRID>
		</GRID>
		<GRID name="All Tasks" keyfield="task_id" linkfield="phase_id" table="vw_tasks" user="entity_id">
			<TEXTFIELD w="75" title="Project">project_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Phase">phase_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Task Name">task_name</TEXTFIELD>
			<TEXTDATE w="75" title="Task Start Date">task_start_date</TEXTDATE>
			<TEXTDATE w="75" title="Task Dead Line">task_dead_line</TEXTDATE>
			<TEXTDATE w="75" title="Task End Date">task_end_date</TEXTDATE>
			<GRID name="Timesheet" keyfield="timesheet_id" linkfield="task_id" table="vw_timesheet">
				<TEXTDATE w="75" title="Date">ts_date</TEXTDATE>
				<SPINTIME w="75" title="Start Time">ts_start_time</SPINTIME>
				<SPINTIME w="75" title="End Time">ts_end_time</SPINTIME>
				<TEXTDECIMAL w="75" title="Hours">ts_hours</TEXTDECIMAL>
				<TEXTFIELD w="275" title="Narrative">ts_narrative</TEXTFIELD>
			</GRID>
		</GRID>
		<JASPER name="My Task Report" user="filterid" reportfile="vw_tasks_1.jasper"></JASPER>
		<JASPER name="Attendance" user="filterid" reportfile="vw_week_attendance_b.jasper"></JASPER>
	</DESK>
	<DESK w="700" name="Arbitration" key="45" h="550">
		<GRID name="Employees" keyfield="entity_id" orderby="first_name" table="vw_employees" where="(active = true)">
			<TEXTFIELD w="75" title="ID">employee_id</TEXTFIELD>
			<TEXTFIELD w="75" title="First Name">first_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Surname">surname</TEXTFIELD>
			<TEXTFIELD w="75" title="Gender">gender_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Marital Status">marital_status_name</TEXTFIELD>
			<TEXTDECIMAL w="75" title="Basic Salary">basic_salary</TEXTDECIMAL>
			<TEXTFIELD w="75" title="Department">department_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Department Role">department_role_name</TEXTFIELD>
			<CHECKBOX w="75" title="Active">active</CHECKBOX>
			<GRID name="Cases" keyfield="employee_case_id" linkfield="entity_id" table="vw_employee_cases">
				<TEXTFIELD w="75" title="Case ID">employee_case_id</TEXTFIELD>
				<TEXTFIELD w="75" title="Case Type Name">case_type_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
				<TEXTDATE w="75" title="Case Date">case_date</TEXTDATE>
				<CHECKBOX w="75" title="Completed">Completed</CHECKBOX>
				<FORM name="Cases" keyfield="employee_case_id" linkfield="entity_id" table="employee_cases" th="210">
					<COMBOBOX w="430" title="Case Type ID" lptable="case_types" y="10" h="20" x="10" lpfield="case_type_name">case_type_id</COMBOBOX>
					<TEXTFIELD w="430" title="Narrative" y="30" h="20" x="10">narrative</TEXTFIELD>
					<TEXTDATE w="150" title="Case Date" y="50" h="20" x="10">case_date</TEXTDATE>
					<CHECKBOX w="150" title="Completed" y="50" h="20" x="290">Completed</CHECKBOX>
					<TEXTAREA w="430" tab="Complaint" y="2" h="170" x="10">complaint</TEXTAREA>
					<TEXTAREA w="430" tab="Case Action" y="2" h="170" x="10">case_action</TEXTAREA>
					<TEXTAREA w="430" tab="Details" y="2" h="170" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
		</GRID>
		<GRID name="Case Types" keyfield="case_type_id" table="case_types">
			<TEXTFIELD w="75" title="Case Type ID">case_type_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Case Type Name">case_type_name</TEXTFIELD>
			<FORM name="Case Types" keyfield="case_type_id" table="case_types">
				<TEXTFIELD w="430" title="Case Type Name" y="10" h="20" x="10">case_type_name</TEXTFIELD>
				<TEXTAREA w="430" title="Details" y="30" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
	</DESK>
	<DESK w="700" name="Employee Trainings" key="50" h="500">
		<GRID name="Trainings" keyfield="training_id" table="trainings">
			<TEXTFIELD w="75" title="Training ID">training_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Training Name">training_name</TEXTFIELD>
			<TEXTDATE w="75" title="Start Date">start_date</TEXTDATE>
			<TEXTDATE w="75" title="End Date">end_date</TEXTDATE>
			<CHECKBOX w="75" title="Completed">completed</CHECKBOX>
			<TEXTTIMESTAMP w="75" title="Application Date">application_date</TEXTTIMESTAMP>
			<TEXTFIELD w="75" title="Approval">approve_status</TEXTFIELD>
			<GRID name="Employee Trainings" keyfield="employee_training_id" linkfield="training_id" table="vw_employee_trainings">
				<TEXTFIELD w="75" title="Staff ID">entity_id</TEXTFIELD>
				<TEXTFIELD w="75" title="Staff Name">entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
				<CHECKBOX w="75" title="Completed">completed</CHECKBOX>
				<TEXTTIMESTAMP w="75" title="Application Date">application_date</TEXTTIMESTAMP>
				<TEXTFIELD w="75" title="Approval">approve_status</TEXTFIELD>
				<FORM name="Employee Trainings" keyfield="employee_training_id" linkfield="training_id" table="employee_trainings">
					<COMBOBOX w="430" title="Staff" lptable="entitys" where="(is_active = true)" y="10" h="20" x="10" lpfield="entity_name">entity_id</COMBOBOX>
					<TEXTFIELD w="430" title="Narrative" y="30" h="20" x="10">narrative</TEXTFIELD>
					<CHECKBOX w="150" title="Completed" y="50" h="20" x="10">completed</CHECKBOX>
					<TEXTAREA w="430" title="Details" y="70" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<FORM name="Trainings" keyfield="training_id" table="trainings">
				<TEXTFIELD w="430" title="Training Name" y="10" h="20" x="10">training_name</TEXTFIELD>
				<TEXTDATE w="150" title="Start Date" y="30" h="20" x="10">start_date</TEXTDATE>
				<TEXTDATE w="150" title="End Date" y="30" h="20" x="290">end_date</TEXTDATE>
				<CHECKBOX w="150" title="Completed" y="50" h="20" x="10">completed</CHECKBOX>
				<TEXTDECIMAL w="150" title="Training Cost" y="50" h="20" x="290">training_cost</TEXTDECIMAL>
				<TEXTAREA w="430" title="Details" y="70" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
	</DESK>
	<DESK w="700" name="Salary Grades" key="55" h="500">
		<GRID name="Pay Grade" keyfield="pay_scale_id" table="pay_scales">
			<TEXTFIELD w="75" title="Pay Grade ID">pay_scale_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Pay Grade Name">pay_scale_name</TEXTFIELD>
			<TEXTDECIMAL w="75" title="Min Pay" pattern="###,###,###.##">min_pay</TEXTDECIMAL>
			<TEXTDECIMAL w="75" title="Max Pay" pattern="###,###,###.##">max_pay</TEXTDECIMAL>
			<GRID name="Pay Steps" keyfield="pay_scale_step_id" linkfield="pay_scale_id" table="vw_pay_scale_steps">
				<TEXTFIELD w="75" title="Pay Step">pay_step</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Pay Amount" pattern="###,###,###.##">pay_amount</TEXTDECIMAL>
				<FORM name="Pay Steps" keyfield="pay_scale_step_id" linkfield="pay_scale_id" table="pay_scale_steps">
					<TEXTFIELD w="150" title="Pay Step" y="10" h="20" x="10">pay_step</TEXTFIELD>
					<TEXTDECIMAL w="150" title="Pay Amount" y="10" h="20" x="290">pay_amount</TEXTDECIMAL>
				</FORM>
			</GRID>
			<GRID name="Pay Year" keyfield="pay_scale_year_id" orderby="pay_year" linkfield="pay_scale_id" table="pay_scale_years">
				<TEXTFIELD w="75" title="Pay Year">pay_year</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Pay Amount" pattern="###,###,###.##">pay_amount</TEXTDECIMAL>
				<FORM name="Pay Year" keyfield="pay_scale_year_id" linkfield="pay_scale_id" table="pay_scale_years">
					<TEXTFIELD w="150" title="Pay Year" y="10" h="20" x="10">pay_year</TEXTFIELD>
					<TEXTDECIMAL w="150" title="Pay Amount" y="10" h="20" x="290">pay_amount</TEXTDECIMAL>
				</FORM>
			</GRID>
			<FORM name="Pay Scales" keyfield="pay_scale_id" table="pay_scales">
				<COMBOBOX w="430" title="Currency ID" lptable="currency" y="10" h="20" x="10" lpfield="currency_name">currency_id</COMBOBOX>
				<TEXTFIELD w="350" title="Pay Grade Name" y="30" h="20" x="10">pay_scale_name</TEXTFIELD>
				<TEXTDECIMAL w="150" title="Min Pay" y="50" h="20" x="10">min_pay</TEXTDECIMAL>
				<TEXTDECIMAL w="150" title="Max Pay" y="50" h="20" x="290">max_pay</TEXTDECIMAL>
				<TEXTAREA w="430" title="Details" y="70" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
		<GRID name="Pay Groups" keyfield="pay_group_id" table="pay_groups">
			<TEXTFIELD w="75" title="Pay Group ID">pay_group_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Pay Group Name">pay_group_name</TEXTFIELD>
			<FORM name="Pay Groups" keyfield="pay_group_id" table="pay_groups">
				<TEXTFIELD w="430" title="Pay Group Name" y="10" h="20" x="10">pay_group_name</TEXTFIELD>
				<TEXTFIELD w="150" title="Payment GL" default_org_fnct="get_default_account(26" y="70" h="20" x="290">gl_payment_account</TEXTFIELD>
				<TEXTAREA w="550" tab="Bank Address" y="1" h="170" x="10">bank_address</TEXTAREA>
				<TEXTAREA w="550" tab="Bank Header" y="1" h="170" x="10">bank_header</TEXTAREA>
				<TEXTAREA w="550" tab="Details" y="1" h="170" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
	</DESK>
	<DESK w="700" name="Petty Cash" key="90" h="500">
		<GRID name="Requests" keyfield="pc_expenditure_id" linkfield="pc_allocation_id" table="vw_pc_expenditure" where="(is_request = true) and (approve_status = 'Approved')">
			<TEXTFIELD w="75" title="Category">pc_category_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Item Name">pc_item_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Receipt Number">receipt_number</TEXTFIELD>
			<TEXTDATE w="75" title="Date">exp_date</TEXTDATE>
			<TEXTFIELD w="75" title="Units">units</TEXTFIELD>
			<TEXTDECIMAL w="75" title="Unit Price">unit_price</TEXTDECIMAL>
			<TEXTDECIMAL w="75" title="Items Cost">items_cost</TEXTDECIMAL>
			<TEXTFIELD w="75" title="By">entity_name</TEXTFIELD>
			<FORM name="Expenditure" keyfield="pc_expenditure_id" linkfield="pc_allocation_id" table="pc_expenditure">
				<COMBOBOX w="430" title="Item" lptable="pc_items" y="10" h="20" x="10" lpfield="pc_item_name">pc_item_id</COMBOBOX>
				<COMBOBOX w="430" title="Type" lptable="pc_types" y="30" h="20" x="10" lpfield="pc_type_name">pc_type_id</COMBOBOX>
				<TEXTFIELD w="150" title="Units" y="50" h="20" x="10">units</TEXTFIELD>
				<TEXTDECIMAL w="150" title="Unit Price" y="50" h="20" x="290">unit_price</TEXTDECIMAL>
				<TEXTFIELD w="150" title="Receipt Number" y="70" h="20" x="10">receipt_number</TEXTFIELD>
				<TEXTDATE w="150" title="Exp Date" y="70" h="20" x="290">exp_date</TEXTDATE>
				<CHECKBOX w="150" title="Request" y="90" h="20" x="10">is_request</CHECKBOX>
				<TEXTAREA w="430" title="Details" y="110" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
		<GRID name="Periods" keyfield="period_id" orderby="period_id desc" table="vw_periods" where="(closed = false)">
			<TEXTFIELD w="75" title="Period ID">period_id</TEXTFIELD>
			<TEXTDATE w="75" title="Period Start">start_date</TEXTDATE>
			<TEXTDATE w="75" title="Period End">end_date</TEXTDATE>
			<CHECKBOX w="75" title="Active">activated</CHECKBOX>
			<CHECKBOX w="75" title="Closed">closed</CHECKBOX>
			<GRID name="Allocations" keyfield="pc_allocation_id" linkfield="period_id" table="vw_pc_allocations">
				<TEXTFIELD w="75" title="Department">department_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
				<TEXTFIELD w="75" title="Status">approve_status</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Budget">sum_budget</TEXTDECIMAL>
				<TEXTDECIMAL w="75" title="Expenditure">sum_expenditure</TEXTDECIMAL>
				<GRID name="Expenditure" keyfield="pc_expenditure_id" linkfield="pc_allocation_id" table="vw_pc_expenditure" where="(approve_status = 'Approved')">
					<TEXTFIELD w="75" title="Category">pc_category_name</TEXTFIELD>
					<TEXTFIELD w="75" title="Item Name">pc_item_name</TEXTFIELD>
					<TEXTFIELD w="75" title="Receipt Number">receipt_number</TEXTFIELD>
					<TEXTDATE w="75" title="Date">exp_date</TEXTDATE>
					<TEXTFIELD w="75" title="Units">units</TEXTFIELD>
					<TEXTDECIMAL w="75" title="Unit Price">unit_price</TEXTDECIMAL>
					<TEXTDECIMAL w="75" title="Items Cost">items_cost</TEXTDECIMAL>
					<CHECKBOX w="75" title="Request">is_request</CHECKBOX>
					<FORM name="Expenditure" keyfield="pc_expenditure_id" linkfield="pc_allocation_id" table="pc_expenditure">
						<DEFAULT default="Approved">approve_status</DEFAULT>
						<COMBOBOX w="430" title="Item" lptable="pc_items" y="10" h="20" x="10" lpfield="pc_item_name">pc_item_id</COMBOBOX>
						<COMBOBOX w="430" title="Type" lptable="pc_types" y="30" h="20" x="10" lpfield="pc_type_name">pc_type_id</COMBOBOX>
						<TEXTFIELD w="150" title="Units" y="50" h="20" x="10">units</TEXTFIELD>
						<TEXTDECIMAL w="150" title="Unit Price" y="50" h="20" x="290">unit_price</TEXTDECIMAL>
						<TEXTFIELD w="150" title="Receipt Number" y="70" h="20" x="10">receipt_number</TEXTFIELD>
						<TEXTDATE w="150" title="Exp Date" y="70" h="20" x="290">exp_date</TEXTDATE>
						<CHECKBOX w="150" title="Request" y="90" h="20" x="10">is_request</CHECKBOX>
						<TEXTAREA w="430" title="Details" y="110" h="70" x="10">details</TEXTAREA>
					</FORM>
				</GRID>
				<GRID name="Budget" keyfield="pc_budget_id" linkfield="pc_allocation_id" table="vw_pc_budget">
					<TEXTFIELD w="75" title="Category">pc_category_name</TEXTFIELD>
					<TEXTFIELD w="75" title="Item">pc_item_name</TEXTFIELD>
					<TEXTFIELD w="75" title="Units">budget_units</TEXTFIELD>
					<TEXTDECIMAL w="75" title="Price">budget_price</TEXTDECIMAL>
					<TEXTDECIMAL w="75" title="Cost">budget_cost</TEXTDECIMAL>
					<FORM name="Budget" keyfield="pc_budget_id" linkfield="pc_allocation_id" table="pc_budget">
						<COMBOBOX w="430" title="Item" lptable="pc_items" y="10" h="20" x="10" lpfield="pc_item_name">pc_item_id</COMBOBOX>
						<TEXTFIELD w="150" title="Units" y="30" h="20" x="10">budget_units</TEXTFIELD>
						<TEXTDECIMAL w="150" title="Price" y="30" h="20" x="290">budget_price</TEXTDECIMAL>
						<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
					</FORM>
				</GRID>
				<GRID name="Banking" keyfield="pc_banking_id" linkfield="pc_allocation_id" table="pc_banking">
					<TEXTDATE w="75" title="Banking Date">banking_date</TEXTDATE>
					<TEXTDECIMAL w="75" title="Amount">amount</TEXTDECIMAL>
					<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
					<FORM name="Banking" keyfield="pc_banking_id" linkfield="pc_allocation_id" table="pc_banking">
						<TEXTDATE w="150" title="Banking Date" y="10" h="20" x="10">banking_date</TEXTDATE>
						<TEXTDECIMAL w="150" title="Amount" y="10" h="20" x="290">amount</TEXTDECIMAL>
						<TEXTFIELD w="430" title="Narrative" y="30" h="20" x="10">narrative</TEXTFIELD>
						<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
					</FORM>
				</GRID>
				<FORM name="Allocations" keyfield="pc_allocation_id" linkfield="period_id" table="pc_allocations">
					<COMBOBOX w="430" title="Department" lptable="departments" y="10" h="20" x="10" lpfield="department_name">department_id</COMBOBOX>
					<TEXTFIELD w="430" title="Narrative" y="30" h="20" x="10">narrative</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
		</GRID>
		<GRID name="Items" keyfield="pc_category_id" table="pc_category">
			<TEXTFIELD w="75" title="Category ID">pc_category_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Category Name">pc_category_name</TEXTFIELD>
			<GRID name="Items" keyfield="pc_item_id" linkfield="pc_category_id" table="vw_pc_items">
				<TEXTFIELD w="75" title="Item ID">pc_item_id</TEXTFIELD>
				<TEXTFIELD w="175" title="Item Name">pc_item_name</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Default Price">default_price</TEXTDECIMAL>
				<TEXTFIELD w="75" title="Default Units">default_units</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Default Cost">default_cost</TEXTDECIMAL>
				<FORM name="Items" keyfield="pc_item_id" linkfield="pc_category_id" table="pc_items">
					<TEXTFIELD w="350" title="Item Name" y="10" h="20" x="10">pc_item_name</TEXTFIELD>
					<TEXTFIELD w="150" title="Default Units" y="30" h="20" x="10">default_units</TEXTFIELD>
					<TEXTDECIMAL w="150" title="Default Price" y="30" h="20" x="290">default_price</TEXTDECIMAL>
					<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<FORM name="Category" keyfield="pc_category_id" table="pc_category">
				<TEXTFIELD w="350" title="Category Name" y="10" h="20" x="10">pc_category_name</TEXTFIELD>
				<TEXTAREA w="430" title="Details" y="30" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
		<GRID name="Items List" keyfield="pc_category_id" orderby="pc_item_name" table="vw_pc_items">
			<TEXTFIELD w="75" title="Item ID">pc_item_id</TEXTFIELD>
			<TEXTFIELD w="175" title="Category">pc_category_name</TEXTFIELD>
			<TEXTFIELD w="175" title="Item Name">pc_item_name</TEXTFIELD>
			<TEXTDECIMAL w="75" title="Default Price">default_price</TEXTDECIMAL>
			<TEXTFIELD w="75" title="Default Units">default_units</TEXTFIELD>
			<TEXTDECIMAL w="75" title="Default Cost">default_cost</TEXTDECIMAL>
			<FORM name="Item" keyfield="pc_item_id" table="pc_items">
				<COMBOBOX w="430" title="Category" lptable="pc_category" y="10" h="20" x="10" lpfield="pc_category_name">pc_category_id</COMBOBOX>
				<TEXTFIELD w="350" title="Item Name" y="30" h="20" x="10">pc_item_name</TEXTFIELD>
				<TEXTDECIMAL w="150" title="Default Price" y="50" h="20" x="10">default_price</TEXTDECIMAL>
				<TEXTFIELD w="150" title="Default Units" y="50" h="20" x="290">default_units</TEXTFIELD>
				<TEXTAREA w="430" title="Details" y="70" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
		<GRID name="Types" keyfield="pc_type_id" table="pc_types">
			<TEXTFIELD w="75" title="Type ID">pc_type_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Type Name">pc_type_name</TEXTFIELD>
			<FORM name="Types" keyfield="pc_type_id" table="pc_types">
				<TEXTFIELD w="350" title="Type Name" y="10" h="20" x="10">pc_type_name</TEXTFIELD>
				<TEXTAREA w="430" title="Details" y="30" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
	</DESK>
	<DESK w="700" name="Petty Cash Request" key="92" h="500">
		<GRID name="Allocations" keyfield="pc_allocation_id" linkfield="period_id" table="vw_pc_allocations" where="(closed = false)">
			<TEXTDATE w="75" title="Period Start">start_date</TEXTDATE>
			<TEXTDATE w="75" title="Period End">end_date</TEXTDATE>
			<TEXTFIELD w="75" title="Department">department_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
			<TEXTFIELD w="75" title="Status">approve_status</TEXTFIELD>
			<TEXTDECIMAL w="75" title="Budget">sum_budget</TEXTDECIMAL>
			<TEXTDECIMAL w="75" title="Expenditure">sum_expenditure</TEXTDECIMAL>
			<GRID name="Request" keyfield="pc_expenditure_id" linkfield="pc_allocation_id" table="vw_pc_expenditure" where="(is_request = true) and (approve_status='Completed')">
				<TEXTFIELD w="75" title="Category">pc_category_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Item Name">pc_item_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Units">units</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Unit Price">unit_price</TEXTDECIMAL>
				<TEXTDECIMAL w="75" title="Items Cost">items_cost</TEXTDECIMAL>
				<FORM name="Expenditure" keyfield="pc_expenditure_id" linkfield="pc_allocation_id" table="pc_expenditure">
					<DEFAULT default="Completed">approve_status</DEFAULT>
					<DEFAULT default="true">is_request</DEFAULT>
					<USERFIELD>entity_id</USERFIELD>
					<COMBOBOX w="430" title="Item" lptable="pc_items" y="10" h="20" x="10" lpfield="pc_item_name">pc_item_id</COMBOBOX>
					<COMBOBOX w="430" title="Type" lptable="pc_types" y="30" h="20" x="10" lpfield="pc_type_name">pc_type_id</COMBOBOX>
					<TEXTFIELD w="150" title="Units" y="50" h="20" x="10">units</TEXTFIELD>
					<TEXTDECIMAL w="150" title="Unit Price" y="50" h="20" x="290">unit_price</TEXTDECIMAL>
					<TEXTAREA w="430" title="Details" y="110" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Expenditure" keyfield="pc_expenditure_id" linkfield="pc_allocation_id" table="vw_pc_expenditure" user="entity_id">
				<TEXTFIELD w="75" title="Category">pc_category_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Item Name">pc_item_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Receipt Number">receipt_number</TEXTFIELD>
				<TEXTDATE w="75" title="Date">exp_date</TEXTDATE>
				<TEXTFIELD w="75" title="Units">units</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Unit Price">unit_price</TEXTDECIMAL>
				<TEXTDECIMAL w="75" title="Items Cost">items_cost</TEXTDECIMAL>
				<TEXTFIELD w="75" title="Status">approve_status</TEXTFIELD>
			</GRID>
		</GRID>
	</DESK>
	<DESK w="700" name="Forms" key="71" h="500">
		<GRID name="Forms" keyfield="form_id" orderby="form_number, form_id" table="forms">
			<TEXTFIELD w="120" title="Form Number">form_number</TEXTFIELD>
			<TEXTFIELD w="240" title="Form Name">form_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Version">version</TEXTFIELD>
			<CHECKBOX w="75" title="Completed" format="boolean" ischar="true">completed</CHECKBOX>
			<CHECKBOX w="75" title="Active" format="boolean" ischar="true">is_active</CHECKBOX>
			<BROWSER title="Entry Form" action="FORM" linkfield="actionvalue" baseurl="http://localhost:9090/form.jsp?action=FORM" blankpage="yes">form_id</BROWSER>
			<GRID name="Fields" keyfield="field_id" orderby="field_order" linkfield="form_id" table="vw_fields">
				<TEXTFIELD w="75" title="Field Order">field_order</TEXTFIELD>
				<TEXTFIELD w="240" title="Question">question</TEXTFIELD>
				<TEXTFIELD w="75" title="Field Type">field_type</TEXTFIELD>
				<TEXTFIELD w="75" title="Share Line">share_line</TEXTFIELD>
				<TEXTFIELD w="75" title="Field Size">field_size</TEXTFIELD>
				<CHECKBOX w="75" title="Manditory">manditory</CHECKBOX>
				<CHECKBOX w="75" title="Field Bold">field_bold</CHECKBOX>
				<CHECKBOX w="75" title="Field Italics">field_italics</CHECKBOX>
				<FORM name="Fields" keyfield="field_id" linkfield="form_id" table="fields">
					<TEXTAREA w="430" title="Question" y="10" h="40" x="10" rows="5">question</TEXTAREA>
					<COMBOLIST w="150" title="Field Type" default="TEXTFIELD" y="50" h="20" x="10">field_type
						<NODE>TEXTFIELD</NODE>
						<NODE>TEXTAREA</NODE>
						<NODE>TITLE</NODE>
						<NODE>TEXT</NODE>
						<NODE>SUBGRID</NODE>
						<NODE>DATE</NODE>
						<NODE>TIME</NODE>
						<NODE>LIST</NODE>
						<NODE>SELECT</NODE>
						<NODE>TAB</NODE>
					</COMBOLIST>
					<TEXTFIELD w="150" title="Field Order" y="50" h="20" x="290">field_order</TEXTFIELD>
					<TEXTFIELD w="150" title="Share Line" y="70" h="20" x="10">share_line</TEXTFIELD>
					<TEXTFIELD w="150" title="Field Size" default="25" y="70" h="20" x="290">field_size</TEXTFIELD>
					<TEXTFIELD w="150" title="Field Class" y="90" h="20" x="10">field_class</TEXTFIELD>
					<CHECKBOX w="150" title="Manditory" y="90" ischar="true" h="20" x="290">manditory</CHECKBOX>
					<CHECKBOX w="150" title="Field Bold" y="110" ischar="true" h="20" x="10">field_bold</CHECKBOX>
					<CHECKBOX w="150" title="Field Italics" y="110" ischar="true" h="20" x="290">field_italics</CHECKBOX>
					<TEXTAREA w="530" title="Field Lookup" y="2" h="70" x="10" rows="5">field_lookup</TEXTAREA>
				</FORM>
				<GRID name="Sub Fields" keyfield="sub_field_id" orderby="sub_field_order" linkfield="field_id" table="vw_sub_fields">
					<TEXTFIELD w="75" title="Sub Field Order">sub_field_order</TEXTFIELD>
					<TEXTFIELD w="240" title="Question">question</TEXTFIELD>
					<TEXTFIELD w="75" title="Sub Title Share">sub_title_share</TEXTFIELD>
					<TEXTFIELD w="75" title="Sub Field Type">sub_field_type</TEXTFIELD>
					<TEXTFIELD w="75" title="Sub Field Size">sub_field_size</TEXTFIELD>
					<CHECKBOX w="75" title="Manditory" format="boolean">manditory</CHECKBOX>
					<FORM name="Sub Fields" keyfield="sub_field_id" linkfield="field_id" table="sub_fields">
						<TEXTAREA w="530" title="Question" y="10" h="50" x="10" rows="5">question</TEXTAREA>
						<TEXTFIELD w="150" title="Field Order" y="30" h="20" x="10">sub_field_order</TEXTFIELD>
						<COMBOLIST w="150" title="Field Type" y="30" h="20" x="290">sub_field_type
							<NODE>TEXTFIELD</NODE>
							<NODE>TEXTAREA</NODE>
							<NODE>TEXT</NODE>
						</COMBOLIST>
						<TEXTFIELD w="150" title="Title Share" y="50" h="20" x="10">sub_title_share</TEXTFIELD>
						<TEXTFIELD w="150" title="Field Size" default="5" y="50" h="20" x="290">sub_field_size</TEXTFIELD>
						<TEXTFIELD w="150" title="Col Spans" y="70" h="20" x="10">sub_col_spans</TEXTFIELD>
						<CHECKBOX w="150" title="Manditory" y="70" ischar="true" h="20" x="290">manditory</CHECKBOX>
						<CHECKBOX w="150" title="Show" y="90" ischar="true" h="20" x="10">show</CHECKBOX>
						<TEXTAREA w="530" tab="Field Lookup" y="2" h="70" x="10" rows="5">sub_field_lookup</TEXTAREA>
					</FORM>
				</GRID>
			</GRID>
			<FORM name="Forms" keyfield="form_id" table="forms" th="210">
				<TEXTFIELD w="430" title="Form Name" y="10" h="20" x="10">form_name</TEXTFIELD>
				<TEXTFIELD w="150" title="Form Number" y="30" h="20" x="10">form_number</TEXTFIELD>
				<TEXTFIELD w="150" title="Version" y="30" h="20" x="290">version</TEXTFIELD>
				<CHECKBOX w="150" title="Completed" y="50" ischar="true" h="20" x="10">completed</CHECKBOX>
				<CHECKBOX w="150" title="Active" y="50" ischar="true" h="20" x="290">is_active</CHECKBOX>
				<EDITOR w="530" tab="Form Header" y="2" h="170" x="10">form_header</EDITOR>
				<EDITOR w="530" tab="Form Footer" y="2" h="170" x="10">form_footer</EDITOR>
				<TEXTAREA w="530" tab="Details" y="2" h="170" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
		<GRID name="Completed Forms" keyfield="entry_form_id" table="vw_entry_forms" where="(approve_status = 'Completed')">
			<TEXTFIELD w="150" title="Entity Name">entity_name</TEXTFIELD>
			<TEXTFIELD w="150" title="Form Name">form_name</TEXTFIELD>
			<TEXTTIMESTAMP w="100" title="Application Date" format="date">application_date</TEXTTIMESTAMP>
			<TEXTTIMESTAMP w="100" title="Completion Date" format="date">completion_date</TEXTTIMESTAMP>
			<BROWSER title="View Form" action="ENTRYFORM" linkfield="actionvalue" baseurl="http://localhost:9090/form.jsp?action=ENTRYFORM" blankpage="true" disabled="yes">entry_form_id</BROWSER>
			<ACTIONS>
				<ACTION fnct="Upd_Complete_Form" phase="2">Approve</ACTION>
				<ACTION fnct="Upd_Complete_Form" phase="3">Reject</ACTION>
			</ACTIONS>
		</GRID>
		<GRID name="Approved Forms" keyfield="entry_form_id" orderby="form_name, entity_name" table="vw_entry_forms" where="(approve_status = 'Approved')">
			<TITLEFIELD w="150" title="Form Name">form_name</TITLEFIELD>
			<TEXTFIELD w="150" title="Entity Name">entity_name</TEXTFIELD>
			<TEXTTIMESTAMP w="100" title="Application Date" format="date">application_date</TEXTTIMESTAMP>
			<TEXTTIMESTAMP w="100" title="Completion Date" format="date">completion_date</TEXTTIMESTAMP>
			<TEXTTIMESTAMP w="100" title="Approve Date" format="date">action_date</TEXTTIMESTAMP>
			<BROWSER title="View Form" action="ENTRYFORM" linkfield="actionvalue" baseurl="http://localhost:9090/form.jsp?action=ENTRYFORM" blankpage="true" disabled="yes">entry_form_id</BROWSER>
		</GRID>
		<GRID name="Rejected Forms" keyfield="entry_form_id" table="vw_entry_forms" where="(approve_status = 'Rejected')">
			<TEXTFIELD w="150" title="Entity Name">entity_name</TEXTFIELD>
			<TEXTFIELD w="150" title="Form Name">form_name</TEXTFIELD>
			<TEXTTIMESTAMP w="100" title="Application Date" format="date">application_date</TEXTTIMESTAMP>
			<TEXTTIMESTAMP w="100" title="Completion Date" format="date">completion_date</TEXTTIMESTAMP>
			<TEXTTIMESTAMP w="100" title="Rejected Date" format="date">action_date</TEXTTIMESTAMP>
			<BROWSER title="View Form" action="ENTRYFORM" linkfield="actionvalue" baseurl="http://localhost:9090/form.jsp?action=ENTRYFORM" blankpage="true" disabled="yes">entry_form_id</BROWSER>
		</GRID>
	</DESK>
	<DESK w="700" name="Client Forms" key="72" h="500">
		<GRID name="Applied Forms" keyfield="entry_form_id" table="vw_entry_forms" where="(approve_status = 'Draft')" user="entity_id">
			<TEXTFIELD w="350" title="Form Name">form_name</TEXTFIELD>
			<TEXTTIMESTAMP w="150" title="Application Date">application_date</TEXTTIMESTAMP>
			<BROWSER title="Form" action="ENTRYFORM" linkfield="actionvalue" baseurl="http://localhost:9090/form.jsp?action=ENTRYFORM" blankpage="true">entry_form_id</BROWSER>
			<ACTIONS>
				<ACTION fnct="Upd_Complete_Form" phase="1">Submit Form</ACTION>
			</ACTIONS>
		</GRID>
		<GRID name="Completed Forms" keyfield="entry_form_id" table="vw_entry_forms" where="(approve_status > 'Draft')" user="entity_id">
			<TEXTFIELD w="150" title="Form Name">form_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Approve Status">approve_status</TEXTFIELD>
			<TEXTTIMESTAMP w="100" title="Application Date">application_date</TEXTTIMESTAMP>
			<TEXTTIMESTAMP w="100" title="Completion Date">completion_date</TEXTTIMESTAMP>
			<TEXTTIMESTAMP w="100" title="Approve Date">action_date</TEXTTIMESTAMP>
			<BROWSER title="Form" action="ENTRYFORM" linkfield="actionvalue" baseurl="http://localhost:9090/form.jsp?action=ENTRYFORM" blankpage="true">entry_form_id</BROWSER>
			<ACTIONS>
				<ACTION fnct="Upd_Complete_Form" phase="1">Submit Form</ACTION>
			</ACTIONS>
		</GRID>
		<GRID name="Forms" keyfield="form_id" orderby="form_id" table="forms">
			<TEXTFIELD w="75" title="Form ID">form_id</TEXTFIELD>
			<TEXTFIELD w="150" title="Form Name">form_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Form Number">form_number</TEXTFIELD>
			<TEXTFIELD w="75" title="Version">version</TEXTFIELD>
			<CHECKBOX w="75" title="Completed">completed</CHECKBOX>
			<BROWSER title="Entry Form" action="FORM" linkfield="actionvalue" baseurl="http://localhost:9090/form.jsp?action=FORM" blankpage="yes">form_id</BROWSER>
			<ACTIONS>
				<ACTION fnct="Ins_Entry_Form">Apply Form</ACTION>
			</ACTIONS>
		</GRID>
	</DESK>
	<DESK w="700" name="Entitys" key="80" h="500">
		<GRID name="Entitys" keyfield="entity_id" table="vw_entitys">
			<TEXTFIELD w="75" title="Entity ID">entity_id</TEXTFIELD>
			<TEXTFIELD w="140" title="Entity Name">entity_name</TEXTFIELD>
			<TEXTFIELD w="100" title="User Name">user_name</TEXTFIELD>
			<TEXTFIELD w="100" title="Role">function_role</TEXTFIELD>
			<CHECKBOX w="100" title="Super User" format="boolean">super_user</CHECKBOX>
			<CHECKBOX w="75" title="Active" format="boolean">is_active</CHECKBOX>
			<TEXTFIELD w="100" title="Type">entity_type_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Email">primary_email</TEXTFIELD>
			<TEXTFIELD w="75" title="Telephone">primary_telephone</TEXTFIELD>
			<GRID name="Address" keyfield="address_id" linkfield="table_id" table="vw_address" where="table_name = 'entitys'">
				<TEXTFIELD w="100" title="Country">sys_country_name</TEXTFIELD>
				<TEXTFIELD w="100" title="Postal Code">postal_code</TEXTFIELD>
				<TEXTFIELD w="100" title="Town">town</TEXTFIELD>
				<TEXTFIELD w="100" title="Phone Number">phone_number</TEXTFIELD>
				<TEXTFIELD w="100" title="Mobile">mobile</TEXTFIELD>
				<TEXTFIELD w="140" title="Email">email</TEXTFIELD>
				<TEXTFIELD w="140" title="Default">is_default</TEXTFIELD>
				<FORM name="Address" keyfield="address_id" linkfield="table_id" table="address">
					<DEFAULT default="entitys">table_name</DEFAULT>
					<COMBOBOX w="430" title="Country" default="KE" lptable="sys_countrys" noorg="true" y="10" h="20" x="10" lpfield="sys_country_name">sys_country_id</COMBOBOX>
					<TEXTFIELD w="150" title="Post Office Box" y="30" h="20" x="10">post_office_box</TEXTFIELD>
					<TEXTFIELD w="150" title="Postal Code" y="30" h="20" x="290">postal_code</TEXTFIELD>
					<TEXTFIELD w="150" title="Town" y="50" h="20" x="10">town</TEXTFIELD>
					<TEXTFIELD w="430" title="Premises" y="70" h="20" x="10">premises</TEXTFIELD>
					<TEXTFIELD w="430" title="Street" y="90" h="20" x="10">street</TEXTFIELD>
					<TEXTFIELD w="430" title="Phone Number" y="110" h="20" x="10">phone_number</TEXTFIELD>
					<TEXTFIELD w="150" title="Extension" y="130" h="20" x="10">extension</TEXTFIELD>
					<TEXTFIELD w="430" title="Mobile" y="150" h="20" x="10">mobile</TEXTFIELD>
					<TEXTFIELD w="430" title="Fax" y="170" h="20" x="10">fax</TEXTFIELD>
					<TEXTFIELD w="430" title="Email" y="190" h="20" x="10">email</TEXTFIELD>
					<CHECKBOX w="30" title="Default" y="210" h="20" x="10">is_default</CHECKBOX>
					<TEXTAREA w="430" title="Details" y="230" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Subscriptions" keyfield="entity_subscription_id" linkfield="entity_id" table="vw_entity_subscriptions">
				<TEXTFIELD w="75" title="Entity Type Name">entity_type_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Subscription Level Name">subscription_level_name</TEXTFIELD>
				<FORM name="Subscriptions" keyfield="entity_subscription_id" linkfield="entity_id" table="entity_subscriptions">
					<COMBOBOX w="430" title="Entity Type" lptable="entity_types" y="10" h="20" x="10" lpfield="entity_type_name">entity_type_id</COMBOBOX>
					<COMBOBOX w="430" title="Subscription Level" lptable="subscription_levels" y="30" h="20" x="10" lpfield="subscription_level_name">subscription_level_id</COMBOBOX>
					<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<FORM name="Entitys" keyfield="entity_id" table="entitys">
				<COMBOBOX w="430" title="Org" lptable="orgs" y="10" h="20" x="10" lpfield="org_name">org_id</COMBOBOX>
				<COMBOBOX w="430" title="Entity Type" lptable="entity_types" y="30" h="20" x="10" lpfield="entity_type_name">entity_type_id</COMBOBOX>
				<TEXTFIELD w="150" title="Entity Name" y="50" h="20" x="10">entity_name</TEXTFIELD>
				<TEXTFIELD w="150" title="User Name" y="50" h="20" x="290">user_name</TEXTFIELD>
				<TEXTFIELD w="430" title="Primary Email" y="70" h="20" x="10">primary_email</TEXTFIELD>
				<TEXTFIELD w="250" title="Primary Telephone" y="90" h="20" x="10">primary_telephone</TEXTFIELD>
				<CHECKBOX w="150" title="Entity Leader" y="110" h="20" x="290">entity_leader</CHECKBOX>
				<TEXTFIELD w="150" title="Function Role" y="130" h="20" x="290">function_role</TEXTFIELD>
				<CHECKBOX w="150" title="Active" y="150" h="20" x="10">is_active</CHECKBOX>
				<TEXTFIELD w="150" title="First Password" y="150" h="20" x="290">first_password</TEXTFIELD>
				<TEXTAREA w="430" title="Details" y="170" h="70" x="10">details</TEXTAREA>
			</FORM>
			<GRID name="Reporting" keyfield="reporting_id" linkfield="entity_id" table="vw_reporting">
				<TEXTFIELD w="75" title="Rpt Name">rpt_name</TEXTFIELD>
				<TEXTDATE w="75" title="Date From">date_from</TEXTDATE>
				<TEXTDATE w="75" title="Date To">date_to</TEXTDATE>
				<CHECKBOX w="75" title="Primary Report">primary_report</CHECKBOX>
				<CHECKBOX w="75" title="Active">is_active</CHECKBOX>
				<TEXTDECIMAL w="75" title="% Reporting">ps_reporting</TEXTDECIMAL>
				<FORM name="Reporting" keyfield="reporting_id" linkfield="entity_id" table="reporting">
					<COMBOBOX w="430" title="Report To" lptable="entitys" lpkey="entity_id" y="10" h="20" x="10" lpfield="entity_name">report_to_id</COMBOBOX>
					<TEXTDATE w="150" title="Date From" y="30" h="20" x="10">date_from</TEXTDATE>
					<TEXTDATE w="150" title="Date To" y="30" h="20" x="290">date_to</TEXTDATE>
					<CHECKBOX w="150" title="Primary Report" y="50" h="20" x="10">primary_report</CHECKBOX>
					<CHECKBOX w="150" title="Active" y="50" h="20" x="290">is_active</CHECKBOX>
					<TEXTDECIMAL w="150" title="% Reporting" y="70" h="20" x="10">ps_reporting</TEXTDECIMAL>
					<TEXTAREA w="430" title="Details" y="90" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<ACTIONS>
				<ACTION fnct="change_password">Reset Password</ACTION>
			</ACTIONS>
		</GRID>
		<GRID name="Entity Types" keyfield="entity_type_id" table="entity_types">
			<TEXTFIELD w="75" title="Entity Type ID">entity_type_id</TEXTFIELD>
			<TEXTFIELD w="175" title="Entity Type Name">entity_type_name</TEXTFIELD>
			<TEXTFIELD w="175" title="Entity Role">entity_role</TEXTFIELD>
			<TEXTFIELD w="175" title="Group EMail">group_email</TEXTFIELD>
			<TEXTFIELD w="75" title="Use Key">use_key_id</TEXTFIELD>
			<GRID name="Entity Subscriptions" keyfield="entity_subscription_id" linkfield="entity_type_id" table="vw_entity_subscriptions">
				<TEXTFIELD w="75" title="Entity ID">entity_id</TEXTFIELD>
				<TEXTFIELD w="275" title="Entity Name">entity_name</TEXTFIELD>
				<TEXTFIELD w="275" title="Level">subscription_level_name</TEXTFIELD>
				<FORM name="Entity Subscriptions" keyfield="entity_subscription_id" linkfield="entity_type_id" table="entity_subscriptions">
					<COMBOBOX w="430" title="Entity" lptable="entitys" y="10" h="20" x="10" lpfield="entity_name">entity_id</COMBOBOX>
					<COMBOBOX w="430" title="Subscription Level" lptable="subscription_levels" y="30" h="20" x="10" lpfield="subscription_level_name">subscription_level_id</COMBOBOX>
					<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<FORM name="Entity Types" keyfield="entity_type_id" table="entity_types" th="210">
				<COMBOBOX w="430" title="Use Key" lptable="use_keys" noorg="true" where="(use_function=0)" y="10" h="20" x="10" lpfield="use_key_name">use_key_id</COMBOBOX>
				<TEXTFIELD w="430" title="Entity Type Name" y="30" h="20" x="10">entity_type_name</TEXTFIELD>
				<TEXTFIELD w="430" title="Entity Role" y="50" h="20" x="10">entity_role</TEXTFIELD>
				<TEXTFIELD w="150" title="Start View" y="70" h="20" x="290">start_view</TEXTFIELD>
				<TEXTFIELD w="430" title="Group EMail" y="90" h="20" x="10">group_email</TEXTFIELD>
				<TEXTAREA w="530" tab="Description" y="2" h="170" x="10">description</TEXTAREA>
				<TEXTAREA w="530" tab="Details" y="2" h="170" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
		<GRID name="Subscription Levels" keyfield="subscription_level_id" table="subscription_levels">
			<TEXTFIELD w="75" title="Level ID">subscription_level_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Level Name">subscription_level_name</TEXTFIELD>
			<FORM name="Subscription Levels" keyfield="subscription_level_id" table="subscription_levels">
				<TEXTFIELD w="430" title="Level" y="10" h="20" x="10">subscription_level_name</TEXTFIELD>
				<TEXTAREA w="430" title="Details" y="30" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
	</DESK>
	<DESK w="700" name="EMails" key="81" h="500">
		<GRID name="EMails" keyfield="sys_email_id" table="sys_emails">
			<TEXTFIELD w="75" title="Email ID">sys_email_id</TEXTFIELD>
			<TEXTFIELD w="275" title="Email Name">sys_email_name</TEXTFIELD>
			<TEXTFIELD w="275" title="Title">title</TEXTFIELD>
			<FORM name="EMails" keyfield="sys_email_id" table="sys_emails" th="210">
				<TEXTFIELD w="350" title="Email Name" y="10" h="20" x="10">sys_email_name</TEXTFIELD>
				<TEXTFIELD w="430" title="Title" y="30" h="20" x="10">title</TEXTFIELD>
				<EDITOR w="530" tab="Details" y="2" h="170" x="10">details</EDITOR>
			</FORM>
		</GRID>
		<GRID name="Email List" keyfield="sys_emailed_id" table="vw_sys_emailed">
			<TEXTFIELD w="75" title="Email ID">sys_email_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Email Name">sys_email_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Emailed ID">sys_emailed_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Table ID">table_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Table Name">table_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Email Type">email_type</TEXTFIELD>
			<CHECKBOX w="75" title="Emailed">emailed</CHECKBOX>
			<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
		</GRID>
	</DESK>
	<DESK w="750" name="Workflows" key="82" h="570">
		<GRID name="Workflows" keyfield="workflow_id" orderby="workflow_id" table="vw_workflows">
			<TEXTFIELD w="75" title="Workflow ID">workflow_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Workflow Name">workflow_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Source">source_entity_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Table Name">table_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Table Link Field">table_link_field</TEXTFIELD>
			<TEXTFIELD w="75" title="Table Link ID">table_link_id</TEXTFIELD>
			<GRID name="Workflow Phases" keyfield="workflow_phase_id" linkfield="workflow_id" table="vw_workflow_phases">
				<TEXTFIELD w="75" title="Approval Level">approval_level</TEXTFIELD>
				<TEXTFIELD w="75" title="Return Level">return_level</TEXTFIELD>
				<TEXTFIELD w="75" title="Approval Entity">approval_entity_name</TEXTFIELD>
				<CHECKBOX w="75" title="Advice">advice</CHECKBOX>
				<CHECKBOX w="75" title="Notice">notice</CHECKBOX>
				<TEXTFIELD w="75" title="Approvals">required_approvals</TEXTFIELD>
				<TEXTFIELD w="75" title="Phase Narrative">phase_narrative</TEXTFIELD>
				<GRID name="Checklists" keyfield="checklist_id" linkfield="workflow_phase_id" table="checklists">
					<TEXTFIELD w="75" title="Checklist Number">checklist_number</TEXTFIELD>
					<CHECKBOX w="75" title="Manditory">manditory</CHECKBOX>
					<TEXTFIELD w="240" title="Requirement">requirement</TEXTFIELD>
					<FORM name="Checklists" keyfield="checklist_id" linkfield="workflow_phase_id" table="checklists" th="210">
						<TEXTFIELD w="150" title="Checklist Number" y="10" h="20" x="10">checklist_number</TEXTFIELD>
						<CHECKBOX w="150" title="Manditory" y="10" h="20" x="290">manditory</CHECKBOX>
						<TEXTAREA w="530" tab="Requirement" y="2" h="170" x="10">requirement</TEXTAREA>
						<TEXTAREA w="530" tab="Details" y="2" h="170" x="10">details</TEXTAREA>
					</FORM>
				</GRID>
				<FORM name="Workflow Phases" keyfield="workflow_phase_id" linkfield="workflow_id" table="workflow_phases" th="210">
					<COMBOBOX w="430" title="Approvals" lptable="entity_types" lpkey="entity_type_id" y="10" h="20" x="10" lpfield="entity_type_name">approval_entity_id</COMBOBOX>
					<TEXTFIELD w="150" title="Approval Level" y="30" h="20" x="10">approval_level</TEXTFIELD>
					<TEXTFIELD w="150" title="Return Level" y="30" h="20" x="290">return_level</TEXTFIELD>
					<TEXTFIELD w="150" title="Escalation Days" default="0" y="50" h="20" x="10">escalation_days</TEXTFIELD>
					<TEXTFIELD w="150" title="Escalation Hours" default="3" y="50" h="20" x="290">escalation_hours</TEXTFIELD>
					<TEXTFIELD w="150" title="Approvals" default="1" y="70" h="20" x="10">required_approvals</TEXTFIELD>
					<CHECKBOX w="50" title="Advice" y="90" h="20" x="10">advice</CHECKBOX>
					<CHECKBOX w="50" title="Notice" y="90" h="20" x="190">notice</CHECKBOX>
					<CHECKBOX w="150" title="Use Reporting" y="110" h="20" x="10">use_reporting</CHECKBOX>
					<TEXTFIELD w="150" title="Reporting Level" default="1" y="110" h="20" x="290">reporting_level</TEXTFIELD>
					<TEXTFIELD w="430" title="Narrative" y="130" h="20" x="10">phase_narrative</TEXTFIELD>
					<EDITOR w="530" default="For your approval" tab="Advice Email" y="2" h="170" x="10">advice_email</EDITOR>
					<EDITOR w="530" default="Phase approved" tab="Notice Email" y="2" h="170" x="10">notice_email</EDITOR>
					<TEXTAREA w="530" tab="Details" y="2" h="170" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<FORM name="Workflows" keyfield="workflow_id" table="workflows" th="210">
				<COMBOBOX w="430" title="Source" lptable="entity_types" lpkey="entity_type_id" y="10" h="20" x="10" lpfield="entity_type_name">source_entity_id</COMBOBOX>
				<TEXTFIELD w="430" title="Workflow Name" y="30" h="20" x="10">workflow_name</TEXTFIELD>
				<TEXTFIELD w="150" title="Table Name" y="50" h="20" x="10">table_name</TEXTFIELD>
				<TEXTFIELD w="150" title="Table Link Field" y="50" h="20" x="290">table_link_field</TEXTFIELD>
				<TEXTFIELD w="150" title="Table Link ID" y="70" h="20" x="10">table_link_id</TEXTFIELD>
				<EDITOR w="530" default="Request approved" tab="Approve Email" y="2" h="170" x="10">approve_email</EDITOR>
				<EDITOR w="530" default="Request rejected" tab="Reject Email" y="2" h="170" x="10">reject_email</EDITOR>
				<TEXTAREA w="530" tab="Details" y="2" h="170" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
	</DESK>
	<DESK w="700" name="Approvals" key="83" h="500">
		<GRID name="Approvals" keyfield="approval_id" table="vw_approvals_entitys" params="table_name, table_id" where="(approve_status = 'Completed')" user="entity_id">
			<TEXTFIELD w="75" title="Workflow">workflow_name</TEXTFIELD>
			<TEXTFIELD w="75" title="From">org_entity_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Group">source_entity_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Approval">approval_entity_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Level">approval_level</TEXTFIELD>
			<TEXTFIELD w="175" title="Narrative">approval_narrative</TEXTFIELD>
			<TEXTTIMESTAMP w="75" title="Date">application_date</TEXTTIMESTAMP>
			<ACTIONS>
				<ACTION fnct="upd_approvals" approval="2">Approve</ACTION>
				<ACTION fnct="upd_approvals" approval="3">Reject</ACTION>
				<ACTION fnct="upd_approvals" approval="4">Review</ACTION>
			</ACTIONS>
			<GRID name="Petty Cash" keyfield="pc_expenditure_id" table="vw_pc_expenditure" viewfilter="table_name=pc_expenditure" linkparams="table_id=workflow_table_id">
				<TEXTFIELD w="75" title="Category">pc_category_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Item Name">pc_item_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Receipt Number">receipt_number</TEXTFIELD>
				<TEXTDATE w="75" title="Date">exp_date</TEXTDATE>
				<TEXTFIELD w="75" title="Units">units</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Unit Price">unit_price</TEXTDECIMAL>
				<TEXTDECIMAL w="75" title="Items Cost">items_cost</TEXTDECIMAL>
				<CHECKBOX w="75" title="Request">is_request</CHECKBOX>
				<FORM name="Expenditure" keyfield="pc_expenditure_id" linkfield="pc_allocation_id" table="pc_expenditure">
					<COMBOBOX w="430" title="Item" lptable="pc_items" y="10" h="20" x="10" lpfield="pc_item_name">pc_item_id</COMBOBOX>
					<COMBOBOX w="430" title="Type" lptable="pc_types" y="30" h="20" x="10" lpfield="pc_type_name">pc_type_id</COMBOBOX>
					<TEXTFIELD w="150" title="Units" y="50" h="20" x="10">units</TEXTFIELD>
					<TEXTDECIMAL w="150" title="Unit Price" y="50" h="20" x="290">unit_price</TEXTDECIMAL>
					<TEXTFIELD w="150" title="Receipt Number" y="70" h="20" x="10">receipt_number</TEXTFIELD>
					<TEXTDATE w="150" title="Exp Date" y="70" h="20" x="290">exp_date</TEXTDATE>
					<CHECKBOX w="150" title="Request" y="90" h="20" x="10">is_request</CHECKBOX>
					<TEXTAREA w="430" title="Details" y="110" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Payroll" keyfield="period_id" orderby="start_date desc" table="periods" viewfilter="table_name=periods" linkparams="table_id=workflow_table_id">
				<TEXTFIELD w="75" title="Period ID">period_id</TEXTFIELD>
				<TEXTDATE w="75" title="Start Date">start_date</TEXTDATE>
				<TEXTDATE w="75" title="End Date">end_date</TEXTDATE>
				<TEXTDECIMAL w="75" title="Overtime Rate">overtime_rate</TEXTDECIMAL>
				<JASPER name="Payroll" reportfile="vw_employee_month_1.jasper"></JASPER>
				<JASPER name="Statutory Deductions" reportfile="vw_employee_tax_types.jasper"></JASPER>
				<JASPER name="Allowances" reportfile="vw_employee_allowances.jasper"></JASPER>
				<JASPER name="Deductions" reportfile="vw_employee_deductions.jasper"></JASPER>
			</GRID>
			<GRID name="Interns" keyfield="intern_id" table="vw_interns" params="entity_id" viewfilter="table_name=interns" linkparams="table_id=workflow_table_id">
				<TEXTFIELD w="75" title="ID">intern_id</TEXTFIELD>
				<TEXTFIELD w="75" title="Applicant Name">entity_name</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Payment Amount">payment_amount</TEXTDECIMAL>
				<TEXTDATE w="75" title="Start Date">start_date</TEXTDATE>
				<TEXTDATE w="75" title="End Date">end_date</TEXTDATE>
				<TEXTTIMESTAMP w="75" title="Application Date">application_date</TEXTTIMESTAMP>
				<TEXTFIELD w="75" title="Approval">approve_status</TEXTFIELD>
				<GRID name="Applicant" keyfield="entity_id" table="vw_applicants" linkparams="entity_id=entity_id">
					<TEXTFIELD w="75" title="ID">entity_id</TEXTFIELD>
					<TEXTFIELD w="75" title="Surname">surname</TEXTFIELD>
					<TEXTFIELD w="75" title="First Name">first_name</TEXTFIELD>
					<TEXTFIELD w="75" title="Middle Name">middle_name</TEXTFIELD>
					<TEXTFIELD w="75" title="Age">applicant_age</TEXTFIELD>
					<TEXTFIELD w="75" title="Gender">gender_name</TEXTFIELD>
					<TEXTFIELD w="75" title="Nationality">sys_country_name</TEXTFIELD>
					<TEXTFIELD w="75" title="Marital Status">marital_status_name</TEXTFIELD>
					<TEXTFIELD w="75" title="Identity Card">identity_card</TEXTFIELD>
					<JASPER name="CV Applicant" org.table="vw_applicants" reportfile="cv_applicant.jasper"></JASPER>
				</GRID>
			</GRID>
			<GRID name="Leave Approvals" keyfield="employee_leave_id" table="vw_employee_leave" viewfilter="table_name=employee_leave" linkparams="table_id=workflow_table_id">
				<TEXTFIELD w="75" title="Employee Name">entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Leave Type">leave_type_name</TEXTFIELD>
				<TEXTDATE w="75" title="Leave From">leave_from</TEXTDATE>
				<TEXTDATE w="75" title="Leave To">leave_to</TEXTDATE>
				<TEXTFIELD w="75" title="Approval">approve_status</TEXTFIELD>
				<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
				<FORM new="false" name="Employee Leave" keyfield="employee_leave_id" table="employee_leave">
					<COMBOBOX w="430" title="Leave Type" lptable="leave_types" y="10" h="20" x="10" lpfield="leave_type_name">leave_type_id</COMBOBOX>
					<TEXTDATE w="150" title="Leave From" y="30" h="20" x="10">leave_from</TEXTDATE>
					<TEXTDATE w="150" title="Leave To" y="30" h="20" x="290">leave_to</TEXTDATE>
					<CHECKBOX w="150" title="Start Half Day" y="50" h="20" x="10">Start_Half_Day</CHECKBOX>
					<CHECKBOX w="150" title="End Half Day" y="50" h="20" x="290">End_Half_Day</CHECKBOX>
					<TEXTFIELD w="150" title="Leave Days" y="70" h="20" x="10">Leave_days</TEXTFIELD>
					<CHECKBOX w="150" title="Completed" y="70" h="20" x="290">completed</CHECKBOX>
					<TEXTFIELD w="430" title="Narrative" y="90" h="20" x="10">narrative</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="110" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Employee Objectives" keyfield="employee_objective_id" table="vw_employee_objectives" viewfilter="table_name=employee_objectives" linkparams="table_id=workflow_table_id">
				<TEXTFIELD w="275" title="Objective Title">employee_objective_name</TEXTFIELD>
				<TEXTDATE w="75" title="Objective Date">objective_date</TEXTDATE>
				<TEXTFIELD w="75" title="Status">approve_status</TEXTFIELD>
				<JASPER name="Objective Report" reportfile="vw_employee_currentobjectives.jasper"></JASPER>
				<GRID new="false" name="Objectives" keyfield="objective_id" delete="false" orderby="objective_id" linkfield="employee_objective_id" table="vw_objectives">
					<TEXTFIELD w="125" title="Objective Type">objective_type_name</TEXTFIELD>
					<TEXTDATE w="75" title="Date Set">date_set</TEXTDATE>
					<TEXTDECIMAL w="75" title="Objective %">objective_ps</TEXTDECIMAL>
					<TEXTFIELD w="175" title="Objective Name">objective_name</TEXTFIELD>
					<CHECKBOX w="75" title="Completed">objective_completed</CHECKBOX>
					<GRID new="false" name="Objective Details" keyfield="objective_detail_id" delete="false" linkfield="objective_id" table="vw_objective_details">
						<TEXTFIELD w="75" title="Detail Name">objective_detail_name</TEXTFIELD>
						<TEXTFIELD w="75" title="Success Indicator">success_indicator</TEXTFIELD>
						<TEXTFIELD w="75" title="Achievements">achievements</TEXTFIELD>
						<TEXTFIELD w="75" title="Resources Required">resources_required</TEXTFIELD>
						<TEXTDATE w="75" title="Target Date">target_date</TEXTDATE>
						<TEXTDATE w="75" title="Completion Date">completion_date</TEXTDATE>
						<FORM new="false" name="Objective Details" keyfield="objective_detail_id" delete="false" linkfield="objective_id" table="objective_details">
							<TEXTAREA w="430" tab="Comments" y="10" h="70" x="10">supervisor_comments</TEXTAREA>
							<TEXTAREA w="430" tab="Details" y="2" h="70" x="10">details</TEXTAREA>
						</FORM>
					</GRID>
					<FORM new="false" name="Objectives" keyfield="objective_id" delete="false" linkfield="employee_objective_id" table="objectives">
						<TEXTAREA w="430" tab="Overall Comments" y="2" h="70" x="10">supervisor_comments</TEXTAREA>
						<TEXTAREA w="430" tab="Details" y="2" h="70" x="10">details</TEXTAREA>
					</FORM>
				</GRID>
				<FORM name="Employee Objectives" keyfield="employee_objective_id" linkfield="entity_id" table="employee_objectives">
					<TEXTFIELD w="430" title="Objective Title" y="10" h="20" x="10">employee_objective_name</TEXTFIELD>
					<TEXTDATE w="150" title="Objective Date" y="30" h="20" x="10">objective_date</TEXTDATE>
					<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID new="false" name="Work Reviews" keyfield="job_review_id" table="vw_job_reviews" viewfilter="table_name=job_reviews" linkparams="table_id=workflow_table_id">
				<TEXTFIELD w="75" title="Job Review ID">job_review_id</TEXTFIELD>
				<TEXTFIELD w="75" title="Total Points">total_points</TEXTFIELD>
				<TEXTDATE w="75" title="Review Date">review_date</TEXTDATE>
				<CHECKBOX w="75" title="Review Done">review_done</CHECKBOX>
				<TEXTFIELD w="75" title="Status">approve_status</TEXTFIELD>
				<JASPER name="Review Report" org.table="employees" reportfile="vw_employee_appraisal_report.jasper"></JASPER>
				<GRID name="Objective Evaluation" keyfield="evaluation_point_id" updatetable="evaluation_points" orderby="objective_id" linkfield="job_review_id" table="vw_evaluation_objectives" params="objective_id">
					<TEXTFIELD w="150" title="Objective">objective_name</TEXTFIELD>
					<TEXTFIELD w="75" title="Points">points</TEXTFIELD>
					<TEXTFIELD w="175" title="Narrative">narrative</TEXTFIELD>
					<EDITFIELD w="75" title="Review Points" editkey="evaluation_point_id" edit="true" editvalue="evaluation_points">reviewer_points</EDITFIELD>
					<EDITFIELD w="175" title="Review  Narrative" editkey="evaluation_point_id" edit="true" editvalue="evaluation_points">reviewer_narrative</EDITFIELD>
					<FORM new="false" name="Objective Evaluation" keyfield="evaluation_point_id" linkfield="job_review_id" table="evaluation_points">
						<TEXTFIELD w="150" title="Points" y="30" h="20" x="10">reviewer_points</TEXTFIELD>
						<TEXTAREA w="430" tab="Narrative" y="2" h="70" x="10">reviewer_narrative</TEXTAREA>
						<TEXTAREA w="430" tab="Discussion Area" y="2" h="70" x="10">details</TEXTAREA>
					</FORM>
					<GRID new="false" name="Objective Details" keyfield="objective_detail_id" delete="false" updatetable="objective_details" table="vw_objective_details" linkparams="objective_id=objective_id">
						<TEXTFIELD w="75" title="Detail Name">objective_detail_name</TEXTFIELD>
						<TEXTFIELD w="75" title="Success Indicator">success_indicator</TEXTFIELD>
						<TEXTFIELD w="75" title="Achievements">achievements</TEXTFIELD>
						<TEXTFIELD w="75" title="Resources Required">resources_required</TEXTFIELD>
						<TEXTDATE w="75" title="Completion Date">completion_date</TEXTDATE>
						<TEXTFIELD w="75" title="Points">ods_points</TEXTFIELD>
						<TEXTFIELD w="100" title="Reviewer Points" editkey="objective_detail_id" edit="true" editvalue="objective_details">ods_reviewer_points</TEXTFIELD>
						<FORM new="false" name="Objective Details" keyfield="objective_detail_id" delete="false" table="objective_details" th="210">
							<TEXTAREA w="430" tab="Comments" y="2" h="70" x="10">supervisor_comments</TEXTAREA>
						</FORM>
					</GRID>
				</GRID>
				<GRID name="Competences Review" keyfield="evaluation_point_id" updatetable="evaluation_points" orderby="review_point_id" linkfield="job_review_id" table="vw_evaluation_points">
					<TEXTFIELD w="150" title="Review Point">review_point_name</TEXTFIELD>
					<TEXTFIELD w="75" title="Mark">grade</TEXTFIELD>
					<TEXTFIELD w="175" title="Narrative">narrative</TEXTFIELD>
					<EDITFIELD w="75" title="Review Points" editkey="evaluation_point_id" edit="true" editvalue="evaluation_points">reviewer_grade</EDITFIELD>
					<EDITFIELD w="175" title="Review Narrative" editkey="evaluation_point_id" edit="true" editvalue="evaluation_points">reviewer_narrative</EDITFIELD>
					<FORM new="false" name="Evaluation Points" keyfield="evaluation_point_id" linkfield="job_review_id" table="evaluation_points">
						<TEXTFIELD w="150" title="Grade" y="10" h="20" x="10">reviewer_grade</TEXTFIELD>
						<TEXTAREA w="430" tab="Narrative" y="2" h="70" x="10">reviewer_narrative</TEXTAREA>
						<TEXTAREA w="430" tab="Details" y="2" h="70" x="10">details</TEXTAREA>
					</FORM>
				</GRID>
				<FORM new="false" name="Work Reviews" keyfield="job_review_id" linkfield="entity_id" table="job_reviews" th="210">
					<TEXTDATE w="150" title="Review Date" y="10" h="20" x="10">review_date</TEXTDATE>
					<CHECKBOX w="150" title="Review Done" y="10" h="20" x="290">review_done</CHECKBOX>
					<TEXTFIELD w="150" title="Supervisor Rating" y="30" h="20" x="10">supervisor_rating</TEXTFIELD>
					<TEXTAREA w="530" tab="Supervisor Comments" y="2" h="170" x="10">recomendation</TEXTAREA>
					<TEXTAREA w="530" tab="Overall Comments" y="2" h="170" x="10">reviewer_comments</TEXTAREA>
				</FORM>
				<FORM new="false" name="Program Leader" keyfield="job_review_id" linkfield="entity_id" table="job_reviews" th="210">
					<TEXTAREA w="530" tab="Comments" y="2" h="170" x="10">pl_comments</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Subscriptions" keyfield="subscription_id" table="vw_subscriptions" viewfilter="table_name=subscriptions" linkparams="table_id=workflow_table_id">
				<TEXTFIELD w="75" title="Subscription ID">subscription_id</TEXTFIELD>
				<TEXTFIELD w="75" title="Industry Name">industry_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Entity Name">entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Org Name">org_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Business Name">business_name</TEXTFIELD>
				<TEXTFIELD w="75" title="City">city</TEXTFIELD>
				<TEXTFIELD w="75" title="Country Name">sys_country_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Number Of Employees">number_of_employees</TEXTFIELD>
				<TEXTFIELD w="75" title="Primary Contact">primary_contact</TEXTFIELD>
				<TEXTFIELD w="75" title="Primary Email">primary_email</TEXTFIELD>
				<TEXTFIELD w="75" title="Approve Status">approve_status</TEXTFIELD>
			</GRID>
			<GRID name="Claims" keyfield="claim_id" table="vw_claims" viewfilter="table_name=claims" linkparams="table_id=workflow_table_id">
				<TEXTFIELD w="75" title="From">entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Claim Type">claim_type_name</TEXTFIELD>
				<TEXTDATE w="75" title="Claim Date">claim_date</TEXTDATE>
				<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
				<TEXTTIMESTAMP w="75" title="Application Date">application_date</TEXTTIMESTAMP>
				<TEXTFIELD w="75" title="Approve Status"></TEXTFIELD>
				<JASPER name="Claim Report" reportfile="vw_claim_details.jasper"></JASPER>
			</GRID>
			<GRID name="Advance" keyfield="employee_advance_id" table="employee_advances" viewfilter="table_name=claims" linkparams="table_id=workflow_table_id">
				<TEXTFIELD w="75" title="From">entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Employee Advance ID">employee_advance_id</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Amount">amount</TEXTDECIMAL>
				<CHECKBOX w="75" title="In Payroll">in_payroll</CHECKBOX>
				<TEXTFIELD w="275" title="Narrative">narrative</TEXTFIELD>
			</GRID>
			<GRID name="Loan" keyfield="loan_id" table="vw_loans" viewfilter="table_name=loans" linkparams="table_id=workflow_table_id">
				<TEXTFIELD w="75" title="Loan ID">loan_id</TEXTFIELD>
				<TEXTFIELD w="75" title="Staff ID">employee_id</TEXTFIELD>
				<TEXTFIELD w="75" title="Staff Name">entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Loan Type">loan_type_name</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Principle">principle</TEXTDECIMAL>
				<TEXTDECIMAL w="75" title="Interest">interest</TEXTDECIMAL>
				<TEXTDECIMAL w="75" title="Balance">loan_balance</TEXTDECIMAL>
				<TEXTDECIMAL w="75" title="Monthly Repayment">monthly_repayment</TEXTDECIMAL>
				<TEXTFIELD w="75" title="Repayment Period">repayment_period</TEXTFIELD>
				<CHECKBOX w="75" title="Reducing Balance">reducing_balance</CHECKBOX>
				<TEXTFIELD w="75" title="Approval">approve_status</TEXTFIELD>
			</GRID>
			<GRID name="Completed Forms" keyfield="entry_form_id" table="vw_entry_forms" viewfilter="table_name=entry_forms" linkparams="table_id=workflow_table_id">
				<TEXTFIELD w="150" title="Form Name">form_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Approve Status">approve_status</TEXTFIELD>
				<TEXTTIMESTAMP w="100" title="Application Date">application_date</TEXTTIMESTAMP>
				<TEXTTIMESTAMP w="100" title="Completion Date">completion_date</TEXTTIMESTAMP>
				<TEXTTIMESTAMP w="100" title="Approve Date">action_date</TEXTTIMESTAMP>
				<BROWSER name="View Form" linkfield="actionvalue" baseurl="http://localhost:9090/form.jsp?action=ENTRYFORM" blankpage="true" disabled="yes"></BROWSER>
			</GRID>
			<GRID name="Forwards" keyfield="approval_id" linkfield="forward_id" table="vw_approvals">
				<TEXTFIELD w="25" title="ID">approval_id</TEXTFIELD>
				<TEXTFIELD w="75" title="Workflow">workflow_name</TEXTFIELD>
				<TEXTFIELD w="75" title="From">org_entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="To">app_entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Status">approve_status</TEXTFIELD>
				<TEXTFIELD w="175" title="Narrative">approval_narrative</TEXTFIELD>
				<FORM name="Forwards" keyfield="approval_id" linkfield="forward_id" table="approvals" th="210">
					<USERFIELD>org_entity_id</USERFIELD>
					<COMBOBOX w="430" title="Forward To" lptable="entitys" lpkey="entity_id" y="10" h="20" x="10" lpfield="entity_name">app_entity_id</COMBOBOX>
					<TEXTFIELD w="150" title="Escalation Days" default="0" y="30" h="20" x="10">escalation_days</TEXTFIELD>
					<TEXTFIELD w="150" title="Escalation Hours" default="3" y="30" h="20" x="290">escalation_hours</TEXTFIELD>
					<TEXTFIELD w="430" title="Approval Narrative" y="50" h="20" x="10">approval_narrative</TEXTFIELD>
					<TEXTAREA w="530" tab="To Be Done" y="2" h="170" x="10">to_be_done</TEXTAREA>
					<TEXTAREA w="530" tab="What is Done" y="2" h="170" disabled="true" x="10">what_is_done</TEXTAREA>
					<TEXTAREA w="530" tab="Details" y="2" h="170" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Checklists" keyfield="approval_checklist_id" linkfield="approval_id" table="approval_checklists">
				<TEXTFIELD w="275" title="Requirement">requirement</TEXTFIELD>
				<CHECKBOX w="75" title="Manditory">manditory</CHECKBOX>
				<CHECKBOX w="75" title="Done">done</CHECKBOX>
				<TEXTFIELD w="175" title="Narrative">narrative</TEXTFIELD>
				<ACTIONS>
					<ACTION fnct="upd_checklist" phase="1">Approve</ACTION>
					<ACTION fnct="upd_checklist" phase="2">Reject</ACTION>
				</ACTIONS>
			</GRID>
			<FORM name="Review" keyfield="approval_id" table="approvals">
				<TEXTAREA w="530" tab="To Be Done" y="2" h="170" x="10">to_be_done</TEXTAREA>
				<TEXTAREA w="530" tab="What Done" y="2" h="170" x="10">what_is_done</TEXTAREA>
				<TEXTAREA w="530" tab="Review Advice" y="2" h="170" x="10">review_advice</TEXTAREA>
				<TEXTAREA w="530" tab="Details" y="2" h="170" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
		<GRID name="Forwards" keyfield="approval_id" table="vw_approvals" params="table_name, table_id" where="(approve_status = 'Completed')" user="app_entity_id">
			<TEXTFIELD w="25" title="ID">approval_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Workflow">workflow_name</TEXTFIELD>
			<TEXTFIELD w="75" title="From">org_entity_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Group">source_entity_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Approval">approval_entity_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Level">approval_level</TEXTFIELD>
			<TEXTFIELD w="175" title="Narrative">approval_narrative</TEXTFIELD>
			<TEXTTIMESTAMP w="75" title="Date">completion_date</TEXTTIMESTAMP>
			<ACTIONS>
				<ACTION fnct="upd_approvals" phase="2">Approve</ACTION>
				<ACTION fnct="upd_approvals" phase="3">Reject</ACTION>
				<ACTION fnct="upd_approvals" phase="4">Review</ACTION>
			</ACTIONS>
			<GRID name="Leave Approvals" keyfield="employee_leave_id" table="vw_employee_leave" viewfilter="table_name=employee_leave" linkparams="table_id=workflow_table_id">
				<TEXTFIELD w="75" title="Employee Name">entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Leave Type">leave_type_name</TEXTFIELD>
				<TEXTDATE w="75" title="Leave From">leave_from</TEXTDATE>
				<TEXTDATE w="75" title="Leave To">leave_to</TEXTDATE>
				<TEXTFIELD w="75" title="Approval">approve_status</TEXTFIELD>
				<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
				<FORM new="false" name="Employee Leave" keyfield="employee_leave_id" table="employee_leave">
					<COMBOBOX w="430" title="Leave Type" lptable="leave_types" y="10" h="20" x="10" lpfield="leave_type_name">leave_type_id</COMBOBOX>
					<TEXTDATE w="150" title="Leave From" y="30" h="20" x="10">leave_from</TEXTDATE>
					<TEXTDATE w="150" title="Leave To" y="30" h="20" x="290">leave_to</TEXTDATE>
					<CHECKBOX w="150" title="Start Half Day" y="50" h="20" x="10">Start_Half_Day</CHECKBOX>
					<CHECKBOX w="150" title="End Half Day" y="50" h="20" x="290">End_Half_Day</CHECKBOX>
					<TEXTFIELD w="150" title="Leave Days" y="70" h="20" x="10">Leave_days</TEXTFIELD>
					<CHECKBOX w="150" title="Completed" y="70" h="20" x="290">completed</CHECKBOX>
					<TEXTFIELD w="430" title="Narrative" y="90" h="20" x="10">narrative</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="110" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Completed Forms" keyfield="entry_form_id" table="vw_entry_forms" viewfilter="table_name=entry_forms" linkparams="table_id=workflow_table_id">
				<TEXTFIELD w="150" title="Form Name">form_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Approve Status">approve_status</TEXTFIELD>
				<TEXTTIMESTAMP w="100" title="Application Date">application_date</TEXTTIMESTAMP>
				<TEXTTIMESTAMP w="100" title="Completion Date">completion_date</TEXTTIMESTAMP>
				<TEXTTIMESTAMP w="100" title="Approve Date">action_date</TEXTTIMESTAMP>
				<BROWSER name="View Form" linkfield="actionvalue" baseurl="http://localhost:9090/form.jsp?action=ENTRYFORM" blankpage="true" disabled="yes"></BROWSER>
			</GRID>
			<GRID name="Forwards" keyfield="approval_id" linkfield="forward_id" table="vw_approvals">
				<TEXTFIELD w="25" title="ID">approval_id</TEXTFIELD>
				<TEXTFIELD w="75" title="Workflow">workflow_name</TEXTFIELD>
				<TEXTFIELD w="75" title="From">org_entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="To">app_entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Status">approve_status</TEXTFIELD>
				<TEXTFIELD w="175" title="Narrative">approval_narrative</TEXTFIELD>
				<FORM name="Forwards" keyfield="approval_id" linkfield="forward_id" table="approvals" th="210">
					<USERFIELD>org_entity_id</USERFIELD>
					<COMBOBOX w="430" title="Forward To" lptable="entitys" lpkey="entity_id" y="10" h="20" x="10" lpfield="entity_name">app_entity_id</COMBOBOX>
					<TEXTFIELD w="150" title="Escalation Days" default="0" y="30" h="20" x="10">escalation_days</TEXTFIELD>
					<TEXTFIELD w="150" title="Escalation Hours" default="3" y="30" h="20" x="290">escalation_hours</TEXTFIELD>
					<TEXTFIELD w="430" title="Approval Narrative" y="50" h="20" x="10">approval_narrative</TEXTFIELD>
					<TEXTAREA w="530" tab="To Be Done" y="2" h="170" x="10">to_be_done</TEXTAREA>
					<TEXTAREA w="530" tab="What is Done" y="2" h="170" disabled="true" x="10">what_is_done</TEXTAREA>
					<TEXTAREA w="530" tab="Details" y="2" h="170" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Checklists" keyfield="approval_checklist_id" linkfield="approval_id" table="approval_checklists">
				<TEXTFIELD w="275" title="Requirement">requirement</TEXTFIELD>
				<CHECKBOX w="75" title="Manditory">manditory</CHECKBOX>
				<CHECKBOX w="75" title="Done">done</CHECKBOX>
				<TEXTFIELD w="175" title="Narrative">narrative</TEXTFIELD>
				<ACTIONS>
					<ACTION fnct="upd_checklist" phase="1">Approve</ACTION>
					<ACTION fnct="upd_checklist" phase="2">Reject</ACTION>
				</ACTIONS>
			</GRID>
			<FORM name="Review" keyfield="approval_id" table="approvals">
				<TEXTAREA w="530" tab="To Be Done" y="2" h="170" x="10">to_be_done</TEXTAREA>
				<TEXTAREA w="530" tab="What Done" y="2" h="170" x="10">what_is_done</TEXTAREA>
				<TEXTAREA w="530" tab="Review Advice" y="2" h="170" x="10">review_advice</TEXTAREA>
				<TEXTAREA w="530" tab="Details" y="2" h="170" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
		<GRID name="My Approvals" keyfield="approval_id" table="vw_approvals" params="table_name, table_id" user="app_entity_id">
			<TEXTFIELD w="75" title="Workflow">workflow_name</TEXTFIELD>
			<TEXTFIELD w="75" title="From">org_entity_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Group">source_entity_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Approval">approval_entity_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Level">approval_level</TEXTFIELD>
			<TEXTFIELD w="175" title="Narrative">approval_narrative</TEXTFIELD>
			<TEXTTIMESTAMP w="75" title="Date">application_date</TEXTTIMESTAMP>
			<GRID name="Payroll" keyfield="period_id" orderby="start_date desc" table="periods" viewfilter="table_name=periods" linkparams="table_id=workflow_table_id">
				<TEXTFIELD w="75" title="Period ID">period_id</TEXTFIELD>
				<TEXTDATE w="75" title="Start Date">start_date</TEXTDATE>
				<TEXTDATE w="75" title="End Date">end_date</TEXTDATE>
				<TEXTDECIMAL w="75" title="Overtime Rate">overtime_rate</TEXTDECIMAL>
				<JASPER name="Payroll" reportfile="vw_employee_month_1.jasper"></JASPER>
				<JASPER name="Statutory Deductions" reportfile="vw_employee_tax_types.jasper"></JASPER>
				<JASPER name="Allowances" reportfile="vw_employee_allowances.jasper"></JASPER>
				<JASPER name="Deductions" reportfile="vw_employee_deductions.jasper"></JASPER>
			</GRID>
			<GRID name="Leave Approvals" keyfield="employee_leave_id" table="vw_employee_leave" viewfilter="table_name=employee_leave" linkparams="table_id=workflow_table_id">
				<TEXTFIELD w="75" title="Employee Name">entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Leave Type">leave_type_name</TEXTFIELD>
				<TEXTDATE w="75" title="Leave From">leave_from</TEXTDATE>
				<TEXTDATE w="75" title="Leave To">leave_to</TEXTDATE>
				<TEXTFIELD w="75" title="Approval">approve_status</TEXTFIELD>
				<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
			</GRID>
			<GRID name="Employee Objectives" keyfield="employee_objective_id" table="vw_employee_objectives" viewfilter="table_name=employee_objectives" linkparams="table_id=workflow_table_id">
				<TEXTFIELD w="275" title="Objective Title">employee_objective_name</TEXTFIELD>
				<TEXTDATE w="75" title="Objective Date">objective_date</TEXTDATE>
				<TEXTFIELD w="75" title="Status">approve_status</TEXTFIELD>
				<JASPER name="Objective Report" reportfile="vw_employee_currentobjectives.jasper"></JASPER>
			</GRID>
			<GRID new="false" name="Work Reviews" keyfield="job_review_id" table="vw_job_reviews" viewfilter="table_name=job_reviews" linkparams="table_id=workflow_table_id">
				<TEXTFIELD w="75" title="Job Review ID">job_review_id</TEXTFIELD>
				<TEXTFIELD w="75" title="Total Points">total_points</TEXTFIELD>
				<TEXTDATE w="75" title="Review Date">review_date</TEXTDATE>
				<CHECKBOX w="75" title="Review Done">review_done</CHECKBOX>
				<TEXTFIELD w="75" title="Status">approve_status</TEXTFIELD>
				<JASPER name="Review Report" org.table="employees" reportfile="vw_employee_appraisal_report.jasper"></JASPER>
			</GRID>
		</GRID>
	</DESK>
	<DESK w="800" name="All Approvals" key="84" h="500">
		<GRID name="All Approvals" keyfield="approval_id" table="vw_approvals_entitys" params="table_name, table_id">
			<TEXTFIELD w="25" title="App. ID">approval_id</TEXTFIELD>
			<TEXTFIELD w="25" title="ID">table_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Workflow">workflow_name</TEXTFIELD>
			<TEXTFIELD w="75" title="To">entity_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Source">source_entity_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Group">approval_entity_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Level">approval_level</TEXTFIELD>
			<TEXTFIELD w="75" title="Narrative">phase_narrative</TEXTFIELD>
			<TEXTFIELD w="75" title="Status">approve_status</TEXTFIELD>
			<GRID name="Forwards" keyfield="approval_id" linkfield="forward_id" table="vw_approvals">
				<TEXTFIELD w="25" title="ID">approval_id</TEXTFIELD>
				<TEXTFIELD w="75" title="Workflow">workflow_name</TEXTFIELD>
				<TEXTFIELD w="75" title="From">org_entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="To">app_entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Status">approve_status</TEXTFIELD>
				<TEXTFIELD w="175" title="Narrative">approval_narrative</TEXTFIELD>
			</GRID>
			<GRID name="Leave Approvals" keyfield="employee_leave_id" table="vw_employee_leave" viewfilter="table_name=employee_leave" linkparams="table_id=workflow_table_id">
				<TEXTFIELD w="75" title="Employee Name">entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Leave Type">leave_type_name</TEXTFIELD>
				<TEXTDATE w="75" title="Leave From">leave_from</TEXTDATE>
				<TEXTDATE w="75" title="Leave To">leave_to</TEXTDATE>
				<TEXTFIELD w="75" title="Approval">approve_status</TEXTFIELD>
				<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
				<FORM new="false" name="Employee Leave" keyfield="employee_leave_id" table="employee_leave">
					<COMBOBOX w="430" title="Leave Type" lptable="leave_types" y="10" h="20" x="10" lpfield="leave_type_name">leave_type_id</COMBOBOX>
					<TEXTDATE w="150" title="Leave From" y="30" h="20" x="10">leave_from</TEXTDATE>
					<TEXTDATE w="150" title="Leave To" y="30" h="20" x="290">leave_to</TEXTDATE>
					<CHECKBOX w="150" title="Start Half Day" y="50" h="20" x="10">Start_Half_Day</CHECKBOX>
					<CHECKBOX w="150" title="End Half Day" y="50" h="20" x="290">End_Half_Day</CHECKBOX>
					<TEXTFIELD w="150" title="Leave Days" y="70" h="20" x="10">Leave_days</TEXTFIELD>
					<CHECKBOX w="150" title="Completed" y="70" h="20" x="290">completed</CHECKBOX>
					<TEXTFIELD w="430" title="Narrative" y="90" h="20" x="10">narrative</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="110" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<GRID name="Completed Forms" keyfield="entry_form_id" table="vw_entry_forms" viewfilter="table_name=entry_forms" linkparams="table_id=workflow_table_id">
				<TEXTFIELD w="150" title="Form Name">form_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Approve Status">approve_status</TEXTFIELD>
				<TEXTTIMESTAMP w="100" title="Application Date">application_date</TEXTTIMESTAMP>
				<TEXTTIMESTAMP w="100" title="Completion Date">completion_date</TEXTTIMESTAMP>
				<TEXTTIMESTAMP w="100" title="Approve Date">action_date</TEXTTIMESTAMP>
				<BROWSER name="View Form" linkfield="actionvalue" baseurl="http://localhost:9090/form.jsp?action=ENTRYFORM" blankpage="true" disabled="yes"></BROWSER>
			</GRID>
		</GRID>
	</DESK>
	<DESK w="700" name="Banks" key="101" h="550">
		<JASPER name="Banks" reportfile="vw_bank_branch.jasper"></JASPER>
	</DESK>
	<DESK w="700" name="Departments" key="102" h="550">
		<JASPER name="Departments" reportfile="vw_departments.jasper"></JASPER>
		<JASPER name="Departments Roles" reportfile="vw_department_roles.jasper"></JASPER>
	</DESK>
	<DESK w="700" name="Definations" key="103" h="550">
		<JASPER name="Education Levels" reportfile="education_class.jasper"></JASPER>
		<JASPER name="Kin Types" reportfile="kin_types.jasper"></JASPER>
		<JASPER name="Skill Types" reportfile="vw_skill_types.jasper"></JASPER>
	</DESK>
	<DESK w="700" name="Applicant" key="104" h="550">
		<JASPER name="Applicant" reportfile="vw_applicant.jasper"></JASPER>
	</DESK>
	<DESK w="700" name="CV Applicant" key="105" h="750">
		<GRID name="Applicants" keyfield="entity_id" orderby="entity_id" table="vw_applicants">
			<TEXTFIELD w="75" title="ID">entity_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Surname">surname</TEXTFIELD>
			<TEXTFIELD w="75" title="First Name">first_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Middle Name">middle_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Age">applicant_age</TEXTFIELD>
			<TEXTFIELD w="75" title="Gender">gender_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Nationality">sys_country_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Marital Status">marital_status_name</TEXTFIELD>
			<JASPER name="CV" org.table="vw_applicants" reportfile="cv_applicant.jasper"></JASPER>
			<JASPER name="CV2" org.table="vw_applicants" reportfile="cv_applicant_2.jasper"></JASPER>
		</GRID>
	</DESK>
	<DESK w="700" name="Employee List" key="106" h="550">
		<JASPER name="Staff List" reportfile="staff_list.jasper"></JASPER>
		<JASPER name="Employee List" reportfile="vw_employees.jasper"></JASPER>
		<JASPER name="Dependents" reportfile="dependents.jasper"></JASPER>
		<JASPER name="Emergency Contacts" reportfile="emergency_contacts.jasper"></JASPER>
		<FILTER w="700" name="New Employees" split="150" type="vert" h="550">
			<FILTERFORM name="Date Range">
				<TEXTDATE w="150" title="Starting From" y="10" h="20" x="10">from_date</TEXTDATE>
			</FILTERFORM>
			<JASPER name="New Employees" reportfile="new_employeees.jasper"></JASPER>
		</FILTER>
	</DESK>
	<DESK w="700" name="CV Employees" key="107" h="750">
		<GRID name="Employees" keyfield="entity_id" orderby="first_name" table="vw_employees">
			<TEXTFIELD w="75" title="ID">employee_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Department">department_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Department Role">department_role_name</TEXTFIELD>
			<TEXTFIELD w="75" title="First Name">first_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Surname">surname</TEXTFIELD>
			<TEXTFIELD w="75" title="Gender">gender_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Marital Status">marital_status_name</TEXTFIELD>
			<CHECKBOX w="75" title="Active">active</CHECKBOX>
			<JASPER name="CV Employees" org.table="vw_employees" reportfile="cv_employees.jasper"></JASPER>
		</GRID>
	</DESK>
	<DESK w="700" name="Casuals" key="108" h="550">
		<JASPER name="Casuals Applications" reportfile="vw_casual_application.jasper"></JASPER>
		<JASPER name="Casual Category" reportfile="casual_category.jasper"></JASPER>
	</DESK>
	<DESK w="700" name="Leave" key="109" h="550">
		<FILTER w="700" name="Leave" split="150" type="horl" key="6" h="550">
			<DRILLDOWN name="Year" keyfield="period_year" table="vw_Period_Year" listfield="period_year"></DRILLDOWN>
			<JASPER name="Leave" reportfile="leave_summary.jasper"></JASPER>
			<JASPER name="Leave" reportfile="vw_employee_leave_b.jasper"></JASPER>
		</FILTER>
		<FILTER w="700" name="Leave Summary" split="150" type="vert" h="550">
			<FILTERFORM name="Date Range">
				<COMBOBOX w="430" title="Employee" lptable="entitys" lpkey="entity_id" where="(entity_type_id = 1)" y="10" h="20" x="10" lpfield="entity_name">entity_id</COMBOBOX>
				<COMBOLIST w="150" title="Status" y="30" h="20" x="10">approve_status
					<DATA>Completed</DATA>
					<DATA>Draft</DATA>
					<DATA>Approved</DATA>
					<DATA>Rejected</DATA>
				</COMBOLIST>
				<TEXTDATE w="150" title="Starting From" y="50" h="20" x="10">minDate</TEXTDATE>
				<TEXTDATE w="150" title="Ending at" y="50" h="20" x="290">maxDate</TEXTDATE>
			</FILTERFORM>
			<JASPER name="Leave Summary 1" reportfile="employee_leave_report.jasper"></JASPER>
			<JASPER name="Leave Summary 2" org.table="vw_employee_leave" reportfile="employee_leave.jasper"></JASPER>
		</FILTER>
		<FILTER w="700" name="Leave Summary - Type" split="150" type="vert" h="550">
			<FILTERFORM name="Date Range">
				<COMBOBOX w="430" title="Employee" lptable="entitys" lpkey="entity_id" where="(entity_type_id = 1)" y="10" h="20" x="10" lpfield="entity_name">entity_id</COMBOBOX>
				<COMBOBOX w="430" title="Leave Type" lptable="leave_types" y="10" h="20" x="10" lpfield="leave_type_name">leave_type_id</COMBOBOX>
				<COMBOLIST w="150" title="Status" y="30" h="20" x="10">approve_status
					<DATA>Completed</DATA>
					<DATA>Draft</DATA>
					<DATA>Approved</DATA>
					<DATA>Rejected</DATA>
				</COMBOLIST>
				<TEXTDATE w="150" title="Starting From" y="50" h="20" x="10">minDate</TEXTDATE>
				<TEXTDATE w="150" title="Ending at" y="50" h="20" x="290">maxDate</TEXTDATE>
			</FILTERFORM>
			<JASPER name="Leave Summary 1" reportfile="employee_leave_report2.jasper"></JASPER>
			<JASPER name="Leave Summary 2" org.table="vw_employee_leave" reportfile="employee_leave2.jasper"></JASPER>
			<JASPER name="Leave Balance" reportfile="leave_balance_field.jasper"></JASPER>
		</FILTER>
		<FILTER w="700" name="Leave Balance" split="150" type="vert" h="550">
			<FILTERFORM name="Date Range">
				<COMBOBOX w="430" title="Leave Type" lptable="leave_types" y="10" h="20" x="10" lpfield="leave_type_name">leave_type_id</COMBOBOX>
			</FILTERFORM>
			<JASPER name="Leave Balance" reportfile="vw_employee_leave_c.jasper"></JASPER>
			<JASPER name="Leave Balance - by type" reportfile="leave_balance_field.jasper"></JASPER>
		</FILTER>
		<FILTER w="700" name="Leave" split="150" type="vert" h="550">
			<FILTERFORM name="Date Range">
				<TEXTDATE w="150" title="Starting From" y="10" h="20" x="10">minDate</TEXTDATE>
				<TEXTDATE w="150" title="Ending at" y="10" h="20" x="290">maxDate</TEXTDATE>
			</FILTERFORM>
			<JASPER name="Leave" reportfile="vw_employee_leave_e.jasper"></JASPER>
			<JASPER name="Leave Full" reportfile="vw_employee_leave.jasper"></JASPER>
		</FILTER>
		<JASPER name="Approvals" reportfile="leave_approvals.jasper"></JASPER>
		<JASPER name="Leave Types" reportfile="leave_types.jasper"></JASPER>
	</DESK>
	<DESK w="700" name="Intake" key="110" h="550">
		<JASPER name="Intake" reportfile="vw_intake.jasper"></JASPER>
		<JASPER name="Applications" reportfile="vw_applications.jasper"></JASPER>
	</DESK>
	<DESK w="700" name="Internships" key="111" h="550">
		<JASPER name="Internships" reportfile="vw_internships.jasper"></JASPER>
		<JASPER name="Interns" reportfile="vw_interns.jasper"></JASPER>
	</DESK>
	<DESK w="700" name="Perfomance Review" key="112" h="550">
		<FILTER w="700" name="Individual Reports" split="150" type="vert" h="550">
			<FILTERFORM name="Date Range">
				<COMBOBOX w="430" title="Employee" lptable="entitys" lpkey="entity_id" where="(entity_type_id = 1)" y="10" h="20" x="10" lpfield="entity_name">entity_id</COMBOBOX>
			</FILTERFORM>
			<JASPER name="Perfomance Review" reportfile="vw_evaluation_points.jasper"></JASPER>
			<JASPER name="Appraisal Ratings" org.table="vw_evaluation_points" reportfile="vw_appraisal_ratings.jasper"></JASPER>
		</FILTER>
		<FILTER w="700" name="Annual Reports" split="150" type="horl" key="6" h="550">
			<DRILLDOWN name="Year" keyfield="period_year" table="vw_Period_Year" listfield="period_year"></DRILLDOWN>
			<JASPER name="Perfomance Review" reportfile="vw_evaluation_points_a.jasper"></JASPER>
			<JASPER name="Appraisal Ratings" org.table="vw_evaluation_points" reportfile="vw_appraisal_ratings_a.jasper"></JASPER>
			<JASPER name="Career Development" reportfile="vw_career_development.jasper"></JASPER>
			<JASPER name="Objectives" org.table="job_reviews" reportfile="vw_employee_objectives_all.jasper"></JASPER>
		</FILTER>
		<JASPER name="Review Category" reportfile="vw_review_points.jasper"></JASPER>
	</DESK>
	<DESK w="700" name="Arbitration" key="113" h="550">
		<JASPER name="Cases" reportfile="vw_employee_cases.jasper"></JASPER>
		<JASPER name="Cases Category" reportfile="case_types.jasper"></JASPER>
	</DESK>
	<DESK w="707" name="Summary Reports" key="150" h="590">
		<FILTER w="700" name="Summary Reports" split="150" type="vert" h="550">
			<FILTERFORM name="Date Range">
				<TEXTDATE w="150" title="Starting From" y="10" h="20" x="10">minDate</TEXTDATE>
				<TEXTDATE w="150" title="Ending At" y="10" h="20" x="290">maxDate</TEXTDATE>
			</FILTERFORM>
			<JASPER name="Summary Reports" reportfile="employee_stats.jasper"></JASPER>
		</FILTER>
	</DESK>
	<DESK w="707" name="Staff Contracts" key="155" h="590">
		<FILTER w="700" name="Staff Contracts" split="150" type="vert" h="550">
			<FILTERFORM name="Date Range">
				<TEXTDATE w="150" title="Starting From" y="10" h="20" x="10">minDate</TEXTDATE>
				<TEXTDATE w="150" title="Ending At" y="10" h="20" x="290">maxDate</TEXTDATE>
			</FILTERFORM>
			<JASPER name="Staff Contracts" org.table="vw_contracting" reportfile="updated_staff_contracts.jasper"></JASPER>
		</FILTER>
	</DESK>
	<DESK w="707" name="Review Reports" key="160" h="590">
		<GRID name="Review Report" keyfield="review_year" table="vw_review_year">
			<TEXTFIELD w="75" title="Review Year">review_year</TEXTFIELD>
			<GRID name="Job Reviews" keyfield="job_review_id" orderby="entity_name" linkfield="review_year" table="vw_job_reviews" where="(approve_status='Approved')">
				<TEXTFIELD w="75" title="Staff Name">entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Total Points">total_points</TEXTFIELD>
				<TEXTDATE w="75" title="Review Date">review_date</TEXTDATE>
				<CHECKBOX w="75" title="Review Done">review_done</CHECKBOX>
				<TEXTFIELD w="75" title="Approve Status">approve_status</TEXTFIELD>
				<JASPER name="Review Report" reportfile="vw_employee_appraisal_report.jasper"></JASPER>
			</GRID>
		</GRID>
		<GRID name="Objectives Reports" keyfield="objective_year" table="vw_objective_year">
			<TEXTFIELD w="75" title="objective Year">objective_year</TEXTFIELD>
			<GRID name="Employee Objectives" keyfield="employee_objective_id" orderby="entity_name" linkfield="objective_year" table="vw_employee_objectives" where="(approve_status='Approved')">
				<TEXTFIELD w="75" title="Staff">entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Objective Name">employee_objective_name</TEXTFIELD>
				<TEXTDATE w="75" title="Objective Date">objective_date</TEXTDATE>
				<JASPER name="Objective Report" reportfile="vw_employee_currentobjectives.jasper"></JASPER>
			</GRID>
		</GRID>
	</DESK>
	<DESK w="707" name="Supervisor Review Reports" key="165" h="590">
		<GRID name="Review Report" keyfield="review_year" table="vw_review_year">
			<TEXTFIELD w="75" title="Review Year">review_year</TEXTFIELD>
			<GRID name="Completed Reviews" keyfield="job_review_id" orderby="entity_name" linkfield="review_year" table="vw_review_reporting" where="(approve_status='Completed')" user="rpt_id">
				<TEXTFIELD w="75" title="Staff Name">entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Total Points">total_points</TEXTFIELD>
				<TEXTDATE w="75" title="Review Date">review_date</TEXTDATE>
				<CHECKBOX w="75" title="Review Done">review_done</CHECKBOX>
				<TEXTFIELD w="75" title="Approve Status">approve_status</TEXTFIELD>
				<JASPER name="Review Report" org.table="employees" reportfile="vw_employee_appraisal_report.jasper"></JASPER>
			</GRID>
			<GRID name="Approved Reviews" keyfield="job_review_id" orderby="entity_name" linkfield="review_year" table="vw_review_reporting" where="(approve_status='Approved')" user="rpt_id">
				<TEXTFIELD w="75" title="Staff Name">entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Total Points">total_points</TEXTFIELD>
				<TEXTDATE w="75" title="Review Date">review_date</TEXTDATE>
				<CHECKBOX w="75" title="Review Done">review_done</CHECKBOX>
				<TEXTFIELD w="75" title="Approve Status">approve_status</TEXTFIELD>
				<JASPER name="Review Report" org.table="employees" reportfile="vw_employee_appraisal_report.jasper"></JASPER>
			</GRID>
		</GRID>
	</DESK>
	<DESK w="700" name="Aptitude Tests" key="180" h="550">
		<GRID name="Aptitude Tests" keyfield="aptitude_test_id" table="aptitude_tests">
			<TEXTFIELD w="75" title="Aptitude Test ID">aptitude_test_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Aptitude Test Name">aptitude_test_name</TEXTFIELD>
			<CHECKBOX w="75" title="Display">display</CHECKBOX>
			<TEXTFIELD w="75" title="Pass Mark">pass_mark</TEXTFIELD>
			<FORM name="Aptitude Tests" keyfield="aptitude_test_id" table="aptitude_tests">
				<TEXTFIELD w="150" title="Aptitude Test Name" y="10" h="20" x="10">aptitude_test_name</TEXTFIELD>
				<CHECKBOX w="150" title="Display" y="10" h="20" x="290">display</CHECKBOX>
				<TEXTFIELD w="150" title="Pass Mark" y="30" h="20" x="10">pass_mark</TEXTFIELD>
				<TEXTAREA w="430" tab="Test Objectives" y="50" h="70" x="10">test_objectives</TEXTAREA>
				<TEXTAREA w="430" tab="Sample Jsp" y="120" h="70" x="10">sample_jsp</TEXTAREA>
				<TEXTAREA w="430" tab="Sample Js" y="190" h="70" x="10">sample_js</TEXTAREA>
				<TEXTAREA w="430" tab="Sample Css" y="260" h="70" x="10">sample_css</TEXTAREA>
				<TEXTAREA w="430" tab="Sample Sql" y="330" h="70" x="10">sample_sql</TEXTAREA>
			</FORM>
			<GRID name="Aptitude Grades" keyfield="aptitude_grade_id" linkfield="aptitude_test_id" table="vw_aptitude_grades" button.nav="Preview Code">
				<TEXTFIELD w="75" title="Aptitude Test Name">aptitude_test_name</TEXTFIELD>
				<TEXTFIELD w="75" title="User Name">user_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Graded By">graded_by_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Grade">grade</TEXTFIELD>
				<TEXTDATE w="75" title="Date Taken">date_taken</TEXTDATE>
				<TEXTDATE w="75" title="Date Graded">date_graded</TEXTDATE>
				<FORM new="false" name="Aptitude Grades" keyfield="aptitude_grade_id" linkfield="aptitude_test_id" table="aptitude_grades">
					<USERFIELD>graded_by</USERFIELD>
					<TEXTDATE w="150" title="Date Graded" y="10" h="20" x="10">date_graded</TEXTDATE>
					<TEXTFIELD w="150" title="Grade" y="10" h="20" x="290">grade</TEXTFIELD>
					<TEXTAREA w="430" title="Review Comment" y="30" h="70" x="10">review_comment</TEXTAREA>
				</FORM>
			</GRID>
		</GRID>
		<GRID name="Aptitude Grades" keyfield="aptitude_grade_id" table="vw_aptitude_grades" button.nav="Preview Code">
			<TEXTFIELD w="75" title="Aptitude Test Name">aptitude_test_name</TEXTFIELD>
			<TEXTFIELD w="75" title="User Name">user_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Graded By">graded_by_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Grade">grade</TEXTFIELD>
			<TEXTDATE w="75" title="Date Taken">date_taken</TEXTDATE>
			<TEXTDATE w="75" title="Date Graded">date_graded</TEXTDATE>
			<FORM new="false" name="Aptitude Grades" keyfield="aptitude_grade_id" table="aptitude_grades">
				<USERFIELD>graded_by</USERFIELD>
				<TEXTDATE w="150" title="Date Graded" y="10" h="20" x="10">date_graded</TEXTDATE>
				<TEXTFIELD w="150" title="Grade" y="10" h="20" x="290">grade</TEXTFIELD>
				<TEXTAREA w="430" title="Review Comment" y="30" h="70" x="10">review_comment</TEXTAREA>
			</FORM>
		</GRID>
	</DESK>
	<DESK w="700" name="Aptitude Test Report" key="185" h="550">
		<JASPER name="Aptitude Tests Report" reportfile="aptitude_test.jasper"></JASPER>
		<JASPER name="Pass Report" reportfile="aptitude_grades.jasper"></JASPER>
	</DESK>
	<DESK w="700" name="Transaction Ledger" key="190" h="550">
		<GRID name="Expenditure" keyfield="transaction_id" orderby="completed desc, payment_date" table="vw_tx_ledger" where="(tx_type = -1) AND (for_processing = true) AND (completed = false)">
			<TEXTFIELD w="75" title="Ledger Type">ledger_type_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Currency">currency_symbol</TEXTFIELD>
			<TEXTFIELD w="75" title="Bank Account Name">bank_account_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Supplier">entity_name</TEXTFIELD>
			<TEXTDATE w="75" title="Date">payment_date</TEXTDATE>
			<TEXTDECIMAL w="75" title="Amount">transaction_amount</TEXTDECIMAL>
			<TEXTDECIMAL w="75" title="Tax Amount">transaction_tax_amount</TEXTDECIMAL>
			<TEXTFIELD w="75" title="Reference Number">reference_number</TEXTFIELD>
			<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
			<FORM name="Expenditure" keyfield="transaction_id" table="transactions">
				<DEFAULT default="Draft">approve_status</DEFAULT>
				<DEFAULT default="-1">tx_type</DEFAULT>
				<DEFAULT default="true">for_processing</DEFAULT>
				<DEFAULT default="21">transaction_type_id</DEFAULT>
				<COMBOBOX w="430" title="Ledger Type" lptable="ledger_types" where="(expense_ledger = true)" y="10" h="20" x="10" lpfield="ledger_type_name">ledger_type_id</COMBOBOX>
				<COMBOBOX w="430" title="Supplier" lptable="entitys" lpkey="entity_id" where="(use_key_id = 3)" y="30" h="20" x="10" lpfield="entity_name">entity_id</COMBOBOX>
				<COMBOBOX w="430" title="Bank Account" lptable="bank_accounts" y="50" h="20" x="10" lpfield="bank_account_name">bank_account_id</COMBOBOX>
				<COMBOBOX w="430" title="Department" lptable="departments" where="(cost_center = true)" y="50" h="20" x="10" lpfield="department_name">department_id</COMBOBOX>
				<COMBOBOX w="150" title="Currency" lptable="currency" default_org_fnct="get_default_currency" y="70" h="20" x="10" lpfield="currency_name">currency_id</COMBOBOX>
				<TEXTDECIMAL w="150" title="Exchange Rate" default="1" y="70" h="20" x="290">exchange_rate</TEXTDECIMAL>
				<TEXTDATE w="150" title="Transaction Date" default="now" y="90" h="20" x="10">transaction_date</TEXTDATE>
				<TEXTDATE w="150" title="Payment Date" default="now" y="90" h="20" x="290">payment_date</TEXTDATE>
				<TEXTDECIMAL w="150" title="Amount" y="110" h="20" x="10">transaction_amount</TEXTDECIMAL>
				<TEXTDECIMAL w="150" title="Tax Amount" y="110" h="20" x="290">transaction_tax_amount</TEXTDECIMAL>
				<TEXTFIELD w="150" title="Reference Number" y="130" h="20" x="10">reference_number</TEXTFIELD>
				<TEXTFIELD w="150" title="Payment Reference" y="130" h="20" x="290">payment_number</TEXTFIELD>
				<TEXTFIELD w="430" title="Narrative" y="150" h="20" x="10">narrative</TEXTFIELD>
				<CHECKBOX w="150" title="Completed" y="170" h="20" x="10">completed</CHECKBOX>
				<CHECKBOX w="150" title="Cleared" y="170" h="20" x="290">is_cleared</CHECKBOX>
				<TEXTAREA w="430" title="Details" y="190" h="70" x="10">details</TEXTAREA>
			</FORM>
			<GRID name="Details" keyfield="transaction_detail_id" linkfield="transaction_id" table="vw_transaction_details">
				<TEXTFIELD w="75" title="Account Name">account_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Item Name">item_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Quantity">quantity</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Amount">amount</TEXTDECIMAL>
				<TEXTDECIMAL w="75" title="Tax Amount">tax_amount</TEXTDECIMAL>
				<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
				<FORM name="Transaction Details" keyfield="transaction_detail_id" linkfield="transaction_id" table="transaction_details">
					<COMBOBOX w="430" title="Item" lptable="items" where="(for_sale=true)" y="10" h="20" x="10" lpfield="item_name">item_id</COMBOBOX>
					<TEXTFIELD w="150" title="Quantity" default="1" y="30" h="20" x="10">quantity</TEXTFIELD>
					<TEXTDECIMAL w="150" title="Amount" y="30" h="20" x="290">amount</TEXTDECIMAL>
					<TEXTFIELD w="430" title="Narrative" y="50" h="20" x="10">narrative</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="70" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<JASPER name="Receipts" reportfile="vw_trxr.jasper"></JASPER>
		</GRID>
		<GRID name="Income" keyfield="transaction_id" orderby="completed desc, payment_date" table="vw_tx_ledger" where="(tx_type = 1) AND (for_processing = true) AND (completed = false)">
			<TEXTFIELD w="75" title="Ledger Type">ledger_type_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Currency">currency_symbol</TEXTFIELD>
			<TEXTFIELD w="75" title="Bank Account Name">bank_account_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Supplier">entity_name</TEXTFIELD>
			<TEXTDATE w="75" title="Date">payment_date</TEXTDATE>
			<TEXTDECIMAL w="75" title="Amount">transaction_amount</TEXTDECIMAL>
			<TEXTDECIMAL w="75" title="Tax Amount">transaction_tax_amount</TEXTDECIMAL>
			<TEXTFIELD w="75" title="Reference Number">reference_number</TEXTFIELD>
			<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
			<FORM name="Income" keyfield="transaction_id" table="transactions">
				<DEFAULT default="Draft">approve_status</DEFAULT>
				<DEFAULT default="1">tx_type</DEFAULT>
				<DEFAULT default="22">transaction_type_id</DEFAULT>
				<DEFAULT default="true">for_processing</DEFAULT>
				<COMBOBOX w="430" title="Ledger Type" lptable="ledger_types" where="(income_ledger = true)" y="10" h="20" x="10" lpfield="ledger_type_name">ledger_type_id</COMBOBOX>
				<COMBOBOX w="430" title="Client" lptable="entitys" lpkey="entity_id" where="(use_key_id = 2)" y="30" h="20" x="10" lpfield="entity_name">entity_id</COMBOBOX>
				<COMBOBOX w="430" title="Bank Account" lptable="bank_accounts" y="50" h="20" x="10" lpfield="bank_account_name">bank_account_id</COMBOBOX>
				<COMBOBOX w="430" title="Department" lptable="departments" where="(revenue_center = true)" y="50" h="20" x="10" lpfield="department_name">department_id</COMBOBOX>
				<COMBOBOX w="150" title="Currency" lptable="currency" default_org_fnct="get_default_currency" y="70" h="20" x="10" lpfield="currency_name">currency_id</COMBOBOX>
				<TEXTDECIMAL w="150" title="Exchange Rate" default="1" y="70" h="20" x="290">exchange_rate</TEXTDECIMAL>
				<TEXTDATE w="150" title="Transaction Date" default="now" y="90" h="20" x="10">transaction_date</TEXTDATE>
				<TEXTDATE w="150" title="Payment Date" default="now" y="90" h="20" x="290">payment_date</TEXTDATE>
				<TEXTDECIMAL w="150" title="Amount" y="110" h="20" x="10">transaction_amount</TEXTDECIMAL>
				<TEXTDECIMAL w="150" title="Tax Amount" y="110" h="20" x="290">transaction_tax_amount</TEXTDECIMAL>
				<TEXTFIELD w="150" title="Reference Number" y="130" h="20" x="10">reference_number</TEXTFIELD>
				<TEXTFIELD w="150" title="Receipt Reference" y="130" h="20" x="290">payment_number</TEXTFIELD>
				<TEXTFIELD w="430" title="Narrative" y="150" h="20" x="10">narrative</TEXTFIELD>
				<CHECKBOX w="150" title="Completed" y="170" h="20" x="10">completed</CHECKBOX>
				<CHECKBOX w="150" title="Cleared" y="170" h="20" x="290">is_cleared</CHECKBOX>
				<TEXTAREA w="430" title="Details" y="190" h="70" x="10">details</TEXTAREA>
			</FORM>
			<GRID name="Details" keyfield="transaction_detail_id" linkfield="transaction_id" table="vw_transaction_details">
				<TEXTFIELD w="75" title="Account Name">account_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Item Name">item_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Quantity">quantity</TEXTFIELD>
				<TEXTDECIMAL w="75" title="Amount">amount</TEXTDECIMAL>
				<TEXTDECIMAL w="75" title="Tax Amount">tax_amount</TEXTDECIMAL>
				<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
				<FORM name="Transaction Details" keyfield="transaction_detail_id" linkfield="transaction_id" table="transaction_details">
					<COMBOBOX w="430" title="Item" lptable="items" where="(for_sale=true)" y="10" h="20" x="10" lpfield="item_name">item_id</COMBOBOX>
					<TEXTFIELD w="150" title="Quantity" default="1" y="30" h="20" x="10">quantity</TEXTFIELD>
					<TEXTDECIMAL w="150" title="Amount" y="30" h="20" x="290">amount</TEXTDECIMAL>
					<TEXTFIELD w="430" title="Narrative" y="50" h="20" x="10">narrative</TEXTFIELD>
					<TEXTAREA w="430" title="Details" y="70" h="70" x="10">details</TEXTAREA>
				</FORM>
			</GRID>
			<JASPER name="Receipts" reportfile="vw_trxr.jasper"></JASPER>
			<JASPER name="Invoice" reportfile="vw_trx.jasper"></JASPER>
		</GRID>
		<GRID name="Ledger Summary" keyfield="ledger_period" orderby="ledger_year desc, ledger_period" table="vws_tx_ledger">
			<TEXTFIELD w="75" title="Ledger ID">ledger_period</TEXTFIELD>
			<TEXTFIELD w="75" title="Year">ledger_year</TEXTFIELD>
			<TEXTFIELD w="75" title="Month">ledger_month</TEXTFIELD>
			<TEXTDECIMAL w="75" title="Dr Amount">sum_dr_amount</TEXTDECIMAL>
			<TEXTDECIMAL w="75" title="Cr Amount">sum_cr_amount</TEXTDECIMAL>
			<TEXTDECIMAL w="75" title="Amount">sum_base_amount</TEXTDECIMAL>
			<TEXTDECIMAL w="75" title="Completed">sum_base_balance</TEXTDECIMAL>
			<TEXTDECIMAL w="75" title="Cleared">sum_cleared_balance</TEXTDECIMAL>
			<TEXTDECIMAL w="75" title="TBalance">prev_balance_amount</TEXTDECIMAL>
			<TEXTDECIMAL w="75" title="TCleared">prev_clear_balance_amount</TEXTDECIMAL>
			<ACTIONS>
				<ACTION fnct="cpy_trx_ledger" approval="1">Copy Month</ACTION>
			</ACTIONS>
			<GRID name="Expenditure" keyfield="transaction_id" orderby="completed desc, payment_date" linkfield="ledger_period" table="vw_tx_ledger" where="(tx_type = -1) ">
				<TEXTFIELD w="75" title="Ledger Type">ledger_type_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Currency">currency_symbol</TEXTFIELD>
				<TEXTFIELD w="75" title="Supplier">entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
				<TEXTDATE w="75" title="Date">payment_date</TEXTDATE>
				<TEXTDECIMAL w="75" title="Amount">transaction_amount</TEXTDECIMAL>
				<TEXTDECIMAL w="75" title="Tax Amount">transaction_tax_amount</TEXTDECIMAL>
				<CHECKBOX w="75" title="For Processing">for_processing</CHECKBOX>
				<CHECKBOX w="75" title="Completed">completed</CHECKBOX>
				<CHECKBOX w="75" title="Cleared">is_cleared</CHECKBOX>
				<ACTIONS>
					<ACTION fnct="upd_trx_ledger" approval="1">Process</ACTION>
					<ACTION fnct="upd_trx_ledger" approval="2">Un Process</ACTION>
					<ACTION fnct="upd_trx_ledger" approval="3">Complete</ACTION>
					<ACTION fnct="upd_trx_ledger" approval="4">Clear</ACTION>
					<ACTION fnct="post_transaction" approval="1">Post</ACTION>
				</ACTIONS>
				<FORM name="Expenditure" keyfield="transaction_id" table="transactions">
					<DEFAULT default="-1">tx_type</DEFAULT>
					<DEFAULT default="21">transaction_type_id</DEFAULT>
					<DEFAULT default="Draft">approve_status</DEFAULT>
					<COMBOBOX w="430" title="Ledger Type" lptable="ledger_types" where="(expense_ledger = true)" y="10" h="20" x="10" lpfield="ledger_type_name">ledger_type_id</COMBOBOX>
					<COMBOBOX w="430" title="Supplier" lptable="entitys" lpkey="entity_id" where="(use_key_id = 3)" y="30" h="20" x="10" lpfield="entity_name">entity_id</COMBOBOX>
					<COMBOBOX w="430" title="Bank Account" lptable="bank_accounts" y="50" h="20" x="10" lpfield="bank_account_name">bank_account_id</COMBOBOX>
					<COMBOBOX w="430" title="Department" lptable="departments" where="(cost_center = true)" y="50" h="20" x="10" lpfield="department_name">department_id</COMBOBOX>
					<COMBOBOX w="150" title="Currency" lptable="currency" default_org_fnct="get_default_currency" y="70" h="20" x="10" lpfield="currency_name">currency_id</COMBOBOX>
					<TEXTDECIMAL w="150" title="Exchange Rate" default="1" y="70" h="20" x="290">exchange_rate</TEXTDECIMAL>
					<TEXTDATE w="150" title="Transaction Date" default="now" y="90" h="20" x="10">transaction_date</TEXTDATE>
					<TEXTDATE w="150" title="Payment Date" default="now" y="90" h="20" x="290">payment_date</TEXTDATE>
					<TEXTDECIMAL w="150" title="Amount" y="110" h="20" x="10">transaction_amount</TEXTDECIMAL>
					<TEXTDECIMAL w="150" title="Tax Amount" y="110" h="20" x="290">transaction_tax_amount</TEXTDECIMAL>
					<TEXTFIELD w="150" title="Reference Number" y="130" h="20" x="10">reference_number</TEXTFIELD>
					<TEXTFIELD w="150" title="Payment Reference" y="130" h="20" x="290">payment_number</TEXTFIELD>
					<TEXTFIELD w="430" title="Narrative" y="150" h="20" x="10">narrative</TEXTFIELD>
					<CHECKBOX w="150" title="Completed" y="170" h="20" x="10">completed</CHECKBOX>
					<CHECKBOX w="150" title="For Processing" y="170" h="20" x="290">for_processing</CHECKBOX>
					<CHECKBOX w="150" title="Cleared" y="190" h="20" x="10">is_cleared</CHECKBOX>
					<TEXTAREA w="430" title="Details" y="210" h="70" x="10">details</TEXTAREA>
				</FORM>
				<GRID name="Details" keyfield="transaction_detail_id" linkfield="transaction_id" table="vw_transaction_details">
					<TEXTFIELD w="75" title="Account Name">account_name</TEXTFIELD>
					<TEXTFIELD w="75" title="Item Name">item_name</TEXTFIELD>
					<TEXTFIELD w="75" title="Quantity">quantity</TEXTFIELD>
					<TEXTDECIMAL w="75" title="Amount">amount</TEXTDECIMAL>
					<TEXTDECIMAL w="75" title="Tax Amount">tax_amount</TEXTDECIMAL>
					<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
					<FORM name="Transaction Details" keyfield="transaction_detail_id" linkfield="transaction_id" table="transaction_details">
						<COMBOBOX w="430" title="Item" lptable="items" where="(for_sale=true)" y="10" h="20" x="10" lpfield="item_name">item_id</COMBOBOX>
						<TEXTFIELD w="150" title="Quantity" default="1" y="30" h="20" x="10">quantity</TEXTFIELD>
						<TEXTDECIMAL w="150" title="Amount" y="30" h="20" x="290">amount</TEXTDECIMAL>
						<TEXTFIELD w="430" title="Narrative" y="50" h="20" x="10">narrative</TEXTFIELD>
						<TEXTAREA w="430" title="Details" y="70" h="70" x="10">details</TEXTAREA>
					</FORM>
				</GRID>
				<JASPER name="Receipts" reportfile="vw_trxr.jasper"></JASPER>
			</GRID>
			<GRID name="Income" keyfield="transaction_id" orderby="completed desc, payment_date" linkfield="ledger_period" table="vw_tx_ledger" where="(tx_type = 1)">
				<TEXTFIELD w="75" title="Ledger Type">ledger_type_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Currency">currency_symbol</TEXTFIELD>
				<TEXTFIELD w="75" title="Supplier">entity_name</TEXTFIELD>
				<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
				<TEXTDATE w="75" title="Date">payment_date</TEXTDATE>
				<TEXTDECIMAL w="75" title="Amount">transaction_amount</TEXTDECIMAL>
				<TEXTDECIMAL w="75" title="Tax Amount">transaction_tax_amount</TEXTDECIMAL>
				<CHECKBOX w="75" title="For Processing">for_processing</CHECKBOX>
				<CHECKBOX w="75" title="Completed">completed</CHECKBOX>
				<CHECKBOX w="75" title="Cleared">is_cleared</CHECKBOX>
				<ACTIONS>
					<ACTION fnct="upd_trx_ledger" approval="1">Process</ACTION>
					<ACTION fnct="upd_trx_ledger" approval="2">Un Process</ACTION>
					<ACTION fnct="upd_trx_ledger" approval="3">Complete</ACTION>
					<ACTION fnct="upd_trx_ledger" approval="4">Clear</ACTION>
					<ACTION fnct="post_transaction" approval="1">Post</ACTION>
				</ACTIONS>
				<FORM name="Income" keyfield="transaction_id" table="transactions">
					<DEFAULT default="Draft">approve_status</DEFAULT>
					<DEFAULT default="1">tx_type</DEFAULT>
					<DEFAULT default="22">transaction_type_id</DEFAULT>
					<COMBOBOX w="430" title="Ledger Type" lptable="ledger_types" where="(income_ledger = true)" y="10" h="20" x="10" lpfield="ledger_type_name">ledger_type_id</COMBOBOX>
					<COMBOBOX w="430" title="Client" lptable="entitys" lpkey="entity_id" where="(use_key_id = 2)" y="30" h="20" x="10" lpfield="entity_name">entity_id</COMBOBOX>
					<COMBOBOX w="430" title="Bank Account" lptable="bank_accounts" y="50" h="20" x="10" lpfield="bank_account_name">bank_account_id</COMBOBOX>
					<COMBOBOX w="430" title="Department" lptable="departments" where="(revenue_center = true)" y="50" h="20" x="10" lpfield="department_name">department_id</COMBOBOX>
					<COMBOBOX w="150" title="Currency" lptable="currency" default_org_fnct="get_default_currency" y="70" h="20" x="10" lpfield="currency_name">currency_id</COMBOBOX>
					<TEXTDECIMAL w="150" title="Exchange Rate" default="1" y="70" h="20" x="290">exchange_rate</TEXTDECIMAL>
					<TEXTDATE w="150" title="Transaction Date" default="now" y="90" h="20" x="10">transaction_date</TEXTDATE>
					<TEXTDATE w="150" title="Payment Date" default="now" y="90" h="20" x="290">payment_date</TEXTDATE>
					<TEXTDECIMAL w="150" title="Amount" y="110" h="20" x="10">transaction_amount</TEXTDECIMAL>
					<TEXTDECIMAL w="150" title="Tax Amount" y="110" h="20" x="290">transaction_tax_amount</TEXTDECIMAL>
					<TEXTFIELD w="150" title="Reference Number" y="130" h="20" x="10">reference_number</TEXTFIELD>
					<TEXTFIELD w="150" title="Receipt Reference" y="130" h="20" x="290">payment_number</TEXTFIELD>
					<TEXTFIELD w="430" title="Narrative" y="150" h="20" x="10">narrative</TEXTFIELD>
					<CHECKBOX w="150" title="Completed" y="170" h="20" x="10">completed</CHECKBOX>
					<CHECKBOX w="150" title="For Processing" y="170" h="20" x="290">for_processing</CHECKBOX>
					<CHECKBOX w="150" title="Cleared" y="190" h="20" x="10">is_cleared</CHECKBOX>
					<TEXTAREA w="430" title="Details" y="210" h="70" x="10">details</TEXTAREA>
				</FORM>
				<GRID name="Details" keyfield="transaction_detail_id" linkfield="transaction_id" table="vw_transaction_details">
					<TEXTFIELD w="75" title="Account Name">account_name</TEXTFIELD>
					<TEXTFIELD w="75" title="Item Name">item_name</TEXTFIELD>
					<TEXTFIELD w="75" title="Quantity">quantity</TEXTFIELD>
					<TEXTDECIMAL w="75" title="Amount">amount</TEXTDECIMAL>
					<TEXTDECIMAL w="75" title="Tax Amount">tax_amount</TEXTDECIMAL>
					<TEXTFIELD w="75" title="Narrative">narrative</TEXTFIELD>
					<FORM name="Transaction Details" keyfield="transaction_detail_id" linkfield="transaction_id" table="transaction_details">
						<COMBOBOX w="430" title="Item" lptable="items" where="(for_sale=true)" y="10" h="20" x="10" lpfield="item_name">item_id</COMBOBOX>
						<TEXTFIELD w="150" title="Quantity" default="1" y="30" h="20" x="10">quantity</TEXTFIELD>
						<TEXTDECIMAL w="150" title="Amount" y="30" h="20" x="290">amount</TEXTDECIMAL>
						<TEXTFIELD w="430" title="Narrative" y="50" h="20" x="10">narrative</TEXTFIELD>
						<TEXTAREA w="430" title="Details" y="70" h="70" x="10">details</TEXTAREA>
					</FORM>
				</GRID>
				<JASPER name="Receipts" reportfile="vw_trxr.jasper"></JASPER>
				<JASPER name="Invoice" reportfile="vw_trx.jasper"></JASPER>
			</GRID>
			<JASPER name="Report" reportfile="vw_tx_ledger_a.jasper"></JASPER>
			<JASPER name="Uncleared" reportfile="vw_tx_ledger_b.jasper"></JASPER>
			<JASPER name="Open" reportfile="vw_tx_ledger_c.jasper"></JASPER>
			<JASPER name="Tax" reportfile="vw_tx_ledger_d.jasper"></JASPER>
		</GRID>
		<GRID name="Ledger Types" keyfield="ledger_type_id" table="vw_ledger_types">
			<TEXTFIELD w="15" title="ID">ledger_type_id</TEXTFIELD>
			<TEXTFIELD w="45" title="Account">account_no</TEXTFIELD>
			<TEXTFIELD w="75" title="Account Name">account_name</TEXTFIELD>
			<TEXTFIELD w="45" title="Tax Account">t_account_no</TEXTFIELD>
			<TEXTFIELD w="75" title="Tax Account Name">t_account_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Ledger Type Name">ledger_type_name</TEXTFIELD>
			<CHECKBOX w="35" title="Posting">ledger_posting</CHECKBOX>
			<CHECKBOX w="35" title="Income">income_ledger</CHECKBOX>
			<CHECKBOX w="35" title="Expense">expense_ledger</CHECKBOX>
			<FORM name="Ledger Types" keyfield="ledger_type_id" table="ledger_types">
				<COMBOBOX w="430" title="Account" lptable="vw_accounts" y="10" h="20" x="10" lpfield="account_description">account_id</COMBOBOX>
				<COMBOBOX w="430" title="Tax Account" lptable="vw_accounts" lpkey="account_id" y="30" h="20" x="10" lpfield="account_description">tax_account_id</COMBOBOX>
				<TEXTFIELD w="430" title="Ledger Type Name" y="50" h="20" x="10">ledger_type_name</TEXTFIELD>
				<CHECKBOX w="150" title="For Posting" y="70" h="20" x="10">ledger_posting</CHECKBOX>
				<CHECKBOX w="150" title="Income" y="90" h="20" x="10">income_ledger</CHECKBOX>
				<CHECKBOX w="150" title="Expense" y="90" h="20" x="290">expense_ledger</CHECKBOX>
				<TEXTAREA w="430" title="Details" y="110" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
	</DESK>
	<DESK w="700" name="Transaction Ledger" key="195" h="550">
		<JASPER name="Transaction Ledger Summary" reportfile="vws_tx_ledger.jasper"></JASPER>
		<JASPER name="Transaction Ledger" reportfile="vw_tx_ledger.jasper"></JASPER>
	</DESK>
	<DESK w="700" name="Loan Application" key="205" h="500">
		<GRID name="Draft Application" keyfield="loan_id" table="vw_loans" where="(approve_status = 'Draft')" user="entity_id">
			<TEXTFIELD w="75" title="Loan ID">loan_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Staff ID">entity_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Staff Name">entity_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Loan Type">loan_type_name</TEXTFIELD>
			<TEXTDECIMAL w="75" title="Principle">principle</TEXTDECIMAL>
			<TEXTDECIMAL w="75" title="Interest">interest</TEXTDECIMAL>
			<TEXTDECIMAL w="75" title="Monthly Repayment">monthly_repayment</TEXTDECIMAL>
			<TEXTFIELD w="75" title="Repayment Period">repayment_period</TEXTFIELD>
			<CHECKBOX w="75" title="Reducing Balance">reducing_balance</CHECKBOX>
			<ACTIONS>
				<ACTION fnct="loan_aplication">Apply for Loan</ACTION>
			</ACTIONS>
			<FORM name="Loan" keyfield="loan_id" table="loans">
				<USERFIELD>entity_id</USERFIELD>
				<DEFAULT default="Draft">approve_status</DEFAULT>
				<COMBOBOX w="430" title="Loan Type" lptable="loan_types" y="10" h="20" x="10" lpfield="loan_type_name">loan_type_id</COMBOBOX>
				<TEXTDECIMAL w="150" title="Principle" y="30" h="20" x="10">principle</TEXTDECIMAL>
				<TEXTDECIMAL w="150" title="Repayment" y="30" h="20" x="290">monthly_repayment</TEXTDECIMAL>
				<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
		<GRID name="Loan Payments" keyfield="loan_id" table="vw_loans" user="entity_id">
			<TEXTFIELD w="75" title="Loan ID">loan_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Staff ID">employee_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Staff Name">entity_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Loan Type">loan_type_name</TEXTFIELD>
			<TEXTDECIMAL w="75" title="Principle">principle</TEXTDECIMAL>
			<TEXTDECIMAL w="75" title="Interest">interest</TEXTDECIMAL>
			<TEXTDECIMAL w="75" title="Balance">loan_balance</TEXTDECIMAL>
			<TEXTDECIMAL w="75" title="Monthly Repayment">monthly_repayment</TEXTDECIMAL>
			<TEXTFIELD w="75" title="Repayment Period">repayment_period</TEXTFIELD>
			<CHECKBOX w="75" title="Reducing Balance">reducing_balance</CHECKBOX>
			<TEXTFIELD w="75" title="Approval">approve_status</TEXTFIELD>
			<JASPER name="Loan Statement" reportfile="vw_loan_monthly.jasper"></JASPER>
		</GRID>
	</DESK>
	<DESK w="700" name="Advance Application" key="210" h="500">
		<GRID name="Draft Advances" keyfield="employee_advance_id" table="employee_advances" where="(approve_status = 'Draft')" user="entity_id">
			<TEXTFIELD w="75" title="Employee Advance ID">employee_advance_id</TEXTFIELD>
			<TEXTDECIMAL w="75" title="Amount">amount</TEXTDECIMAL>
			<CHECKBOX w="75" title="In Payroll">in_payroll</CHECKBOX>
			<TEXTFIELD w="275" title="Narrative">narrative</TEXTFIELD>
			<ACTIONS>
				<ACTION fnct="advance_aplication">Apply for Advance</ACTION>
			</ACTIONS>
			<FORM name="Employee Advance" keyfield="employee_advance_id" linkfield="employee_month_id" table="employee_advances">
				<USERFIELD>entity_id</USERFIELD>
				<DEFAULT default="Draft">approve_status</DEFAULT>
				<TEXTDECIMAL w="150" title="Amount" y="10" h="20" x="10">amount</TEXTDECIMAL>
				<CHECKBOX w="150" title="In Payroll" default="false" y="10" h="20" x="290">in_payroll</CHECKBOX>
				<TEXTFIELD w="430" title="Narrative" y="30" h="20" x="10">narrative</TEXTFIELD>
				<TEXTAREA w="430" title="Details" y="50" h="70" x="10">details</TEXTAREA>
			</FORM>
		</GRID>
		<JASPER name="Advance Statement" user="filterid" reportfile="vw_advance_statement.jasper"></JASPER>
	</DESK>
	<DESK w="700" name="Subscription" key="215" h="500">
		<FORMVIEW name="Subscription" keyfield="industry_id" table="vw_subscriptions" user="entity_id">
			<TEXTFIELD w="75" title="Subscription ID">subscription_id</TEXTFIELD>
			<TEXTFIELD w="75" title="Industry Name">industry_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Country">sys_country_name</TEXTFIELD>
			<TEXTFIELD w="75" title="User Name">entity_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Business Name">business_name</TEXTFIELD>
			<TEXTFIELD w="75" title="Business Address">business_address</TEXTFIELD>
			<TEXTFIELD w="75" title="City">city</TEXTFIELD>
			<TEXTFIELD w="75" title="State">state</TEXTFIELD>
			<TEXTFIELD w="75" title="Number Of Employees">number_of_employees</TEXTFIELD>
			<TEXTFIELD w="75" title="Telephone">telephone</TEXTFIELD>
			<TEXTFIELD w="75" title="Website">website</TEXTFIELD>
			<TEXTFIELD w="75" title="Primary Contact">primary_contact</TEXTFIELD>
			<TEXTFIELD w="75" title="Job Title">job_title</TEXTFIELD>
			<TEXTFIELD w="75" title="Primary Email">primary_email</TEXTFIELD>
			<TEXTFIELD w="75" title="Approve Status">approve_status</TEXTFIELD>
			<TEXTFIELD w="75" title="System Key">system_key</TEXTFIELD>
			<CHECKBOX w="75" title="Subscribed">subscribed</CHECKBOX>
			<TEXTTIMESTAMP w="75" title="Subscribed Date">subscribed_date</TEXTTIMESTAMP>
		</FORMVIEW>
	</DESK>
	<DESK w="700" name="Leave Summary" key="220" h="500">
		<FILTER w="700" name="Leave Summary" split="150" type="vert" h="550">
			<FILTERFORM name="Date Range">
				<COMBOBOX w="430" title="Employee" lptable="entitys" lpkey="entity_id" where="(entity_type_id = 1)" y="10" h="20" x="10" lpfield="entity_name">entity_id</COMBOBOX>
				<COMBOLIST w="150" title="Status" y="30" h="20" x="10">approve_status
					<DATA>Completed</DATA>
					<DATA>Draft</DATA>
					<DATA>Approved</DATA>
					<DATA>Rejected</DATA>
				</COMBOLIST>
				<TEXTDATE w="150" title="Starting From" y="50" h="20" x="10">minDate</TEXTDATE>
				<TEXTDATE w="150" title="Ending at" y="50" h="20" x="290">maxDate</TEXTDATE>
			</FILTERFORM>
			<JASPER name="Leave List" reportfile="vw_employee_leave_e.jasper"></JASPER>
			<JASPER name="Leave Approvals" org.table="vw_employee_leave" reportfile="employee_leave.jasper"></JASPER>
			<JASPER name="Leave Staff Summary" reportfile="employee_leave_report.jasper"></JASPER>
		</FILTER>
	</DESK>
</APP>
