vtenext/install/schema/DatabaseSchema.xml
2021-04-28 20:10:26 +02:00

8609 lines
265 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0"?>
<schema version="0.3">
<table name="com_vte_wf_activatedonce">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="workflow_id" type="I" size="11">
<KEY/>
</field>
<field name="entity_id" type="I" size="11">
<KEY/>
</field>
</table>
<table name="com_vte_wft_entitymeth">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="workflowtasks_entitymethod_id" type="I" size="11">
<KEY/>
</field>
<field name="module_name" type="C" size="100"/>
<field name="method_name" type="C" size="100"/>
<field name="function_path" type="C" size="400"/>
<field name="function_name" type="C" size="100"/>
</table>
<table name="com_vte_workflows">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="workflow_id" type="I" size="11">
<KEY/>
</field>
<field name="module_name" type="C" size="100"/>
<field name="summary" type="C" size="400"/>
<field name="test" type="X"/>
<field name="execution_condition" type="I" size="11">
<NOTNULL/>
</field>
<field name="defaultworkflow" type="I" size="1">
</field>
</table>
<table name="com_vte_workflowtask_queue">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="task_id" type="I" size="11">
<KEY/>
</field>
<field name="entity_id" type="C" size="100">
<KEY/>
</field>
<field name="do_after" type="I" size="11"/>
</table>
<table name="com_vte_workflowtasks">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="task_id" type="I" size="11">
<KEY/>
</field>
<field name="workflow_id" type="I" size="11"/>
<field name="summary" type="C" size="400"/>
<field name="task" type="X"/>
<index name="com_vte_workflowtasks_wf_idx">
<col>workflow_id</col>
</index>
</table>
<table name="com_vte_workflowtemplates">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="template_id" type="I" size="11">
<KEY/>
</field>
<field name="module_name" type="C" size="100"/>
<field name="title" type="C" size="400"/>
<field name="template" type="X"/>
</table>
<table name="crmv_budget">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="11"/>
<field name="year" type="I" size="4"/>
<field name="budget" type="N" size="30"/>
</table>
<table name="tbl_s_advancedrule">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="advrule_id" type="I" size="11">
</field>
<field name="module_name" type="C" size="100"/>
<field name="title" type="C" size="200">
<NOTNULL/>
</field>
<field name="description" type="C" size="400"/>
<index name="tbl_s_advancedrule_idx">
<UNIQUE/>
<col>advrule_id</col>
</index>
</table>
<table name="tbl_s_advancedrule_rel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="advrule_id" type="I" size="11"/>
<field name="entity_type" type="C" size="100"/>
<field name="id" type="C" size="100"/>
<field name="permission" type="L" />
<index name="tbl_s_advancedrulerel_idx">
<col>advrule_id</col>
</index>
</table>
<table name="tbl_s_advrule_relmod">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="advrule_id" type="I" size="11">
<KEY/>
</field>
<field name="entity_type" type="C" size="10">
<KEY/>
</field>
<field name="id" type="C" size="10">
<KEY/>
</field>
<field name="rel_tabid" type="I" size="10">
<KEY/>
</field>
<field name="rel_permission" type="C" size="100">
<KEY/>
</field>
<index name="fk_1_tbl_s_advr_relmodules">
<col>rel_tabid</col>
</index>
</table>
<table name="tbl_s_advancedrulefilters">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="advrule_id" type="I" size="19">
<KEY/>
</field>
<field name="columnindex" type="I" size="11">
<KEY/>
</field>
<field name="columnname" type="C" size="250"/>
<field name="comparator" type="C" size="10"/>
<field name="value" type="C" size="200"/>
<index name="advfilter_cvid_idx">
<col>advrule_id</col>
</index>
</table>
<table name="tbl_s_advrule_relmodlist">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="datashare_relatedmodule_id" type="I" size="19">
<KEY/>
</field>
<field name="tabid" type="I" size="19"/>
<field name="relatedto_tabid" type="I" size="19"/>
<index name="advrule_relmod_tabid_idx">
<col>tabid</col>
</index>
<index name="datash_relmod_relto_tabid_idx">
<col>relatedto_tabid</col>
</index>
</table>
<table name="tbl_s_cvorderby">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="cvid" type="I" size="19">
<KEY/>
</field>
<field name="columnindex" type="I" size="11">
<KEY/>
</field>
<field name="columnname" type="C" size="255"/>
<field name="ordertype" type="C" size="4">
<DEFAULT value="ASC"/>
</field>
<index name="tbl_s_cvorderby_columnidx_idx">
<col>columnindex</col>
</index>
<index name="tbl_s_cvorderby_cvid_idx">
<col>cvid</col>
</index>
</table>
<table name="tbl_s_faxservertype">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="server_type" type="C" size="100"/>
<field name="presence" type="I" size="1">
<DEFAULT value="0"/>
</field>
</table>
<table name="tbl_s_ldap_config">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="ldap_active" type="I" size="1"/>
<field name="ldap_host" type="C" size="50"/>
<field name="ldap_port" type="I" size="5"/>
<field name="ldap_basedn" type="C" size="100"/>
<field name="ldap_username" type="C" size="50"/>
<field name="ldap_pass" type="C" size="50"/>
<field name="ldap_objclass" type="C" size="50"/>
<field name="ldap_account" type="C" size="60"/>
<field name="ldap_fullname" type="C" size="50"/>
<field name="ldap_userfilter" type="C" size="100"/>
<field name="user_role" type="C" size="10"/>
</table>
<table name="tbl_s_lvcolors">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="tabid" type="I" size="9"/>
<field name="fieldname" type="C" size="128"/>
<field name="fieldvalue" type="C" size="255"/>
<field name="color" type="C" size="7">
<DEFAULT value="#000000"/>
</field>
</table>
<table name="tbl_s_mailconnector">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="11">
<KEY/>
</field>
<field name="mailid" type="C" size="255"/>
<field name="state" type="C" size="2"/>
<field name="timestamp" type="C" size="14"/>
</table>
<table name="tbl_s_picklist_language">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="code_system" type="I" size="19">
<KEY/>
</field>
<field name="code" type="C" size="20">
<KEY/>
</field>
<field name="field" type="C" size="50">
<KEY/>
</field>
<field name="language" type="C" size="5">
<KEY/>
</field>
<field name="value" type="C" size="1000" />
<field name="sortorderid" type="I" size="19"/>
<index name="picklist_code_field_lang_idx">
<UNIQUE/>
<col>code</col>
<col>field</col>
<col>language</col>
</index>
<index name="picklist_field_idx">
<col>field</col>
</index>
</table>
<table name="tbl_s_smsservertype">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="server_type" type="C" size="100"/>
<field name="presence" type="I" size="1">
<DEFAULT value="0"/>
</field>
</table>
<table name="tbl_v_account">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="accountid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
</table>
<table name="tbl_v_contactdetails">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="contactid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="account_name" type="C" size="255"/>
</table>
<table name="tbl_v_leaddetails">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="leadid" type="I" size="19">
<KEY/>
</field>
</table>
<table name="tbl_v_leadimportemails">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="mailid" type="C" size="255">
<NOTNULL/>
</field>
<field name="status" type="C" size="8">
<NOTNULL/>
</field>
<field name="sender" type="C" size="255">
<NOTNULL/>
</field>
<field name="timestamp" type="C" size="32">
<NOTNULL/>
</field>
<field name="leadid" type="I" size="19">
<NOTNULL/>
</field>
<field name="emailid" type="I" size="19">
<NOTNULL/>
</field>
<index name="tbl_v_leadimp_mailid_idx">
<col>mailid</col>
</index>
</table>
<table name="tbl_v_leadimportemails_mapping">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="string" type="C" size="100">
<KEY/>
</field>
<field name="fieldname" type="C" size="50">
<KEY/>
</field>
<data>
<row><f>account:</f><f>company</f></row>
<row><f>assigned_to:</f><f>assigned_user_id</f></row>
<row><f>first_name:</f><f>firstname</f></row>
<row><f>last_name:</f><f>lastname</f></row>
</data>
</table>
<table name="vte_account">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="accountid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="accountname" type="C" size="100">
<NOTNULL/>
</field>
<field name="description" type="XL" />
<field name="parentid" type="I" size="19">
<DEFAULT value="0"/>
</field>
<field name="account_type" type="C" size="200"/>
<field name="industry" type="C" size="200"/>
<field name="annualrevenue" type="I" size="19">
<DEFAULT value="0"/>
</field>
<field name="rating" type="C" size="200"/>
<field name="ownership" type="C" size="50"/>
<field name="phone" type="C" size="30"/>
<field name="otherphone" type="C" size="30"/>
<field name="email1" type="C" size="100"/>
<field name="email2" type="C" size="100"/>
<field name="website" type="C" size="100"/>
<field name="fax" type="C" size="30"/>
<field name="employees" type="I" size="10">
<DEFAULT value="0"/>
</field>
<field name="emailoptout" type="C" size="3">
<DEFAULT value="0"/>
</field>
<field name="import_date" type="C" size="255"/>
<field name="import_file" type="C" size="255"/>
<field name="external_code" type="C" size="100"/>
<field name="secondary_owner" type="C" size="100"/>
<field name="secondary_owner_mode" type="C" size="100"/>
<field name="crmv_bankdetails" type="C" size="100"/>
<field name="crmv_vat_registration_number" type="C" size="16"/>
<field name="crmv_social_security_number" type="C" size="16"/>
<field name="account_no" type="C" size="255"/>
<field name="newsletter_unsubscrpt" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="daily_cost" type="N" size="14.2"/>
<index name="account_account_type_idx">
<col>account_type</col>
</index>
<index name="account_idx1">
<col>account_no</col>
</index>
<index name="account_idx2">
<col>accountname</col>
</index>
<index name="account_idx3">
<col>parentid</col>
</index>
<index name="account_idx4">
<col>industry</col>
</index>
<index name="account_idx5">
<col>phone</col>
</index>
<index name="account_idx6">
<col>otherphone</col>
</index>
</table>
<table name="vte_accountbillads">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="accountaddressid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="bill_city" type="C" size="30"/>
<field name="bill_code" type="C" size="30"/>
<field name="bill_country" type="C" size="30"/>
<field name="bill_state" type="C" size="30"/>
<field name="bill_street" type="C" size="250"/>
<field name="bill_pobox" type="C" size="30"/>
<index name="accountbillads_idx1">
<col>bill_city</col>
</index>
<index name="accountbillads_idx2">
<col>bill_code</col>
</index>
<index name="accountbillads_idx3">
<col>bill_country</col>
</index>
<index name="accountbillads_idx4">
<col>bill_state</col>
</index>
<index name="accountbillads_idx5">
<col>bill_street</col>
</index>
</table>
<table name="vte_accountdepstatus">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="deploymentstatusid" type="I" size="19">
<KEY/>
</field>
<field name="deploymentstatus" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<index name="accdep_deploymentstatus_idx">
<UNIQUE/>
<col>deploymentstatus</col>
</index>
</table>
<table name="vte_accountownership">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="acctownershipid" type="I" size="19">
<KEY/>
</field>
<field name="ownership" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<index name="accountownership_ownership_idx">
<UNIQUE/>
<col>ownership</col>
</index>
</table>
<table name="vte_accountrating">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="accountratingid" type="I" size="19">
<KEY/>
</field>
<field name="rating" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<index name="accountrating_rating_idx">
<UNIQUE/>
<col>rating</col>
</index>
</table>
<table name="vte_accountregion">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="accountregionid" type="I" size="19">
<KEY/>
</field>
<field name="region" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<index name="accountregion_region_idx">
<UNIQUE/>
<col>region</col>
</index>
</table>
<table name="vte_accountscf">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="accountid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_accountshipads">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="accountaddressid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="ship_city" type="C" size="30"/>
<field name="ship_code" type="C" size="30"/>
<field name="ship_country" type="C" size="30"/>
<field name="ship_state" type="C" size="30"/>
<field name="ship_pobox" type="C" size="30"/>
<field name="ship_street" type="C" size="250"/>
<index name="accountshipads_idx1">
<col>ship_city</col>
</index>
<index name="accountshipads_idx2">
<col>ship_code</col>
</index>
<index name="accountshipads_idx3">
<col>ship_country</col>
</index>
<index name="accountshipads_idx4">
<col>ship_state</col>
</index>
<index name="accountshipads_idx5">
<col>ship_street</col>
</index>
</table>
<table name="vte_accounttype">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="accounttypeid" type="I" size="19">
<KEY/>
</field>
<field name="accounttype" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="accounttype_accounttype_idx">
<UNIQUE/>
<col>accounttype</col>
</index>
</table>
<table name="vte_actionmapping">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="actionid" type="I" size="19">
<KEY/>
</field>
<field name="actionname" type="C" size="200">
<KEY/>
</field>
<field name="securitycheck" type="I" size="19"/>
</table>
<table name="vte_activity">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="activityid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="subject" type="C" size="100">
<NOTNULL/>
</field>
<field name="description" type="XL" />
<field name="semodule" type="C" size="20"/>
<field name="activitytype" type="C" size="200">
<NOTNULL/>
</field>
<field name="date_start" type="D">
<NOTNULL/>
</field>
<field name="due_date" type="D"/>
<field name="time_start" type="C" size="50"/>
<field name="time_end" type="C" size="50"/>
<field name="activity_start" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="activity_end" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="duration_hours" type="C" size="200"/>
<field name="duration_minutes" type="C" size="200"/>
<field name="status" type="C" size="200"/>
<field name="eventstatus" type="C" size="200"/>
<field name="priority" type="C" size="200"/>
<field name="location" type="C" size="150"/>
<field name="notime" type="C" size="3">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="visibility" type="C" size="50">
<NOTNULL/>
<DEFAULT value="all"/>
</field>
<field name="recurringtype" type="C" size="200"/>
<field name="is_all_day_event" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="exp_duration" type="C" size="100" />
<field name="ical_uuid" type="C" size="127" />
<field name="recurr_idx" type="I" size="11">
<DEFAULT value="0"/>
</field>
<index name="activity_activityid_subj_idx">
<col>activityid</col>
<col>subject</col>
</index>
<index name="activitytype_date_start_idx">
<col>activitytype</col>
<col>date_start</col>
</index>
<index name="date_start_due_date_idx">
<col>date_start</col>
<col>due_date</col>
</index>
<index name="date_start_time_start_idx">
<col>date_start</col>
<col>time_start</col>
</index>
<index name="activity_eventstatus_idx">
<col>eventstatus</col>
</index>
<index name="activity_status_idx">
<col>status</col>
</index>
<index name="activity_idx1">
<col>subject</col>
</index>
<index name="activity_idx2">
<col>semodule</col>
</index>
<index name="activity_idx3">
<col>activitytype</col>
</index>
<index name="activity_idx4">
<col>date_start</col>
</index>
<index name="activity_idx5">
<col>due_date</col>
</index>
<index name="activity_idx6">
<col>time_start</col>
</index>
<index name="activity_idx7">
<col>time_end</col>
</index>
<index name="activity_idx8">
<col>priority</col>
</index>
<index name="activity_exp_duration">
<col>exp_duration</col>
</index>
<index name="activity_caluuid_idx">
<col>ical_uuid</col>
</index>
<index name="activity_start_idx">
<col>activity_start</col>
</index>
<index name="activity_end_idx">
<col>activity_end</col>
</index>
</table>
<table name="vte_activity_reminder">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="activity_id" type="I" size="11">
<KEY/>
</field>
<field name="reminder_time" type="I" size="11">
<NOTNULL/>
</field>
<field name="reminder_sent" type="I" size="2">
<NOTNULL/>
</field>
<field name="recurringid" type="I" size="19">
<KEY/>
</field>
<index name="activity_reminder_idx1">
<col>reminder_time</col>
</index>
<index name="activity_reminder_idx2">
<col>reminder_sent</col>
</index>
<index name="activity_reminder_idx3">
<col>recurringid</col>
</index>
</table>
<table name="vte_act_reminder_popup">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="reminderid" type="I" size="19">
<KEY/>
</field>
<field name="semodule" type="C" size="100">
<NOTNULL/>
</field>
<field name="recordid" type="I" size="19">
<NOTNULL/>
</field>
<field name="date_start" type="D">
<NOTNULL/>
</field>
<field name="time_start" type="C" size="100">
<NOTNULL/>
</field>
<field name="status" type="I" size="2"/>
<index name="act_reminder_popup_idx1">
<col>recordid</col>
<col>status</col>
<col>date_start</col>
<col>time_start</col>
</index>
<index name="act_reminder_popup_idx2">
<col>status</col>
</index>
</table>
<table name="vte_activity_view">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="activity_viewid" type="I" size="19">
<KEY/>
</field>
<field name="activity_view" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
</table>
<table name="vte_activitycf">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="activityid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_activityproductrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="activityid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="productid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<index name="activityproductrel_actid_idx">
<col>activityid</col>
</index>
<index name="activityproductrel_prodid_idx">
<col>productid</col>
</index>
</table>
<table name="vte_activitytype">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="activitytypeid" type="I" size="19">
<KEY/>
</field>
<field name="activitytype" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="activitytype_activitytype_idx">
<UNIQUE/>
<col>activitytype</col>
</index>
</table>
<table name="vte_activsubtype">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="activesubtypeid" type="I" size="19">
<KEY/>
</field>
<field name="activsubtype" type="C" size="100"/>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
</table>
<table name="vte_exp_duration">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="exp_durationid" type="I" size="19">
<KEY/>
</field>
<field name="exp_duration" type="C" size="100">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="exp_duration_exp_duration_idx">
<UNIQUE/>
<col>exp_duration</col>
</index>
</table>
<table name="vte_asterisk">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="server" type="C" size="30"/>
<field name="port" type="C" size="30"/>
<field name="username" type="C" size="50"/>
<field name="password" type="C" size="50"/>
<field name="version" type="C" size="50"/>
</table>
<table name="vte_asteriskextensions">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="11"/>
<field name="asterisk_extension" type="C" size="50"/>
<field name="use_asterisk" type="C" size="3"/>
<index name="asteriskextensions_idx1">
<col>userid</col>
</index>
<index name="asteriskextensions_idx2">
<col>asterisk_extension</col>
</index>
<index name="asteriskextensions_idx3">
<col>use_asterisk</col>
</index>
</table>
<table name="vte_asteriskincomingcalls">
<field name="from_number" type="C" size="50">
</field>
<field name="from_name" type="C" size="50">
</field>
<field name="to_number" type="C" size="50">
</field>
<field name="callertype" type="C" size="30">
</field>
<field name="flag" type="I" size="19">
</field>
<field name="timer" type="I" size="19">
</field>
<field name="refuid" type="C" size="255">
</field>
<opt platform="mysql">ENGINE=InnoDB</opt>
<index name="asteriskincomingcalls_idx1">
<col>from_number</col>
</index>
<index name="asteriskincomingcalls_idx2">
<col>from_name</col>
</index>
<index name="asteriskincomingcalls_idx3">
<col>to_number</col>
</index>
</table>
<table name="vte_asteriskincomingevents">
<field name="uid" type="C" size="255">
<key />
</field>
<field name="channel" type="C" size="100">
</field>
<field name="from_number" type="I" size="20">
</field>
<field name="from_name" type="C" size="100">
</field>
<field name="to_number" type="I" size="20">
</field>
<field name="callertype" type="C" size="100">
</field>
<field name="timer" type="I" size="20">
</field>
<field name="flag" type="C" size="3">
</field>
<field name="pbxrecordid" type="I" size="19">
</field>
<field name="relcrmid" type="I" size="19">
</field>
</table>
<table name="vte_attachments">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="attachmentsid" type="I" size="19">
<KEY/>
</field>
<field name="name" type="C" size="255">
<NOTNULL/>
</field>
<field name="description" type="X"/>
<field name="type" type="C" size="100"/>
<field name="path" type="X"/>
<field name="subject" type="C" size="255"/>
<field name="backend_name" type="C" size="63"/>
<field name="backend_key" type="C" size="1000"/>
<index name="attachments_attachmentsid_idx">
<col>attachmentsid</col>
</index>
<index name="attachments_idx1">
<col>name</col>
</index>
<index name="attachments_idx2">
<col>type</col>
</index>
<index name="attachments_idx3">
<col>subject</col>
</index>
</table>
<table name="vte_audit_trial">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="auditid" type="I" size="19">
<KEY/>
</field>
<field name="source" type="C" size="31"/>
<field name="request_id" type="C" size="63"/>
<field name="ip_address" type="C" size="31"/>
<field name="userid" type="I" size="19"/>
<field name="module" type="C" size="255"/>
<field name="action" type="C" size="127"/>
<field name="subaction" type="C" size="63"/>
<field name="recordid" type="C" size="20"/>
<field name="actiondate" type="T">
<NOTNULL/>
</field>
<field name="extra" type="C" size="1000"/>
<index name="audit_trial_idx1">
<col>userid</col>
</index>
<index name="audit_trial_idx2">
<col>module</col>
</index>
<index name="audit_trial_idx3">
<col>action</col>
</index>
<index name="audit_trial_idx4">
<col>recordid</col>
</index>
<index name="audit_trial_idx5">
<col>actiondate</col>
</index>
</table>
<table name="vte_panels">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="panelid" type="I" size="19">
<key/>
</field>
<field name="tabid" type="I" size="19" />
<field name="panellabel" type="C" size="100" />
<field name="sequence" type="I" size="10" />
<field name="visible" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="iscustom" type="I" size="1">
<DEFAULT value="0"/>
</field>
<index name="panels_tabid_idx">
<col>tabid</col>
</index>
</table>
<table name="vte_panel2rlist">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="panelid" type="I" size="19">
<key/>
</field>
<field name="relation_id" type="I" size="19">
<key/>
</field>
<field name="sequence" type="I" size="10" />
<index name="panel2rlist_relid_idx">
<col>relation_id</col>
</index>
</table>
<table name="vte_blocks">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="blockid" type="I" size="19">
<KEY/>
</field>
<field name="tabid" type="I" size="19">
<NOTNULL/>
</field>
<field name="panelid" type="I" size="19" />
<field name="blocklabel" type="C" size="100"/>
<field name="sequence" type="I" size="10"/>
<field name="show_title" type="I" size="2"/>
<field name="visible" type="I" size="2">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="create_view" type="I" size="2">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="edit_view" type="I" size="2">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="detail_view" type="I" size="2">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="display_status" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="iscustom" type="I" size="1">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="block_tabid_idx">
<col>tabid</col>
</index>
<index name="block_panelid_idx">
<col>panelid</col>
</index>
<index name="blocks_idx1">
<col>blocklabel</col>
</index>
<index name="blocks_idx2">
<col>sequence</col>
</index>
<index name="blocks_idx3">
<col>show_title</col>
</index>
<index name="blocks_idx4">
<col>visible</col>
</index>
<index name="blocks_idx5">
<col>create_view</col>
</index>
<index name="blocks_idx6">
<col>edit_view</col>
</index>
<index name="blocks_idx7">
<col>detail_view</col>
</index>
<index name="blocks_idx8">
<col>display_status</col>
</index>
<index name="blocks_idx9">
<col>iscustom</col>
</index>
</table>
<table name="vte_businesstype">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="businesstypeid" type="I" size="19">
<KEY/>
</field>
<field name="businesstype" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<index name="businesstype_businesstype_idx">
<UNIQUE/>
<col>businesstype</col>
</index>
</table>
<table name="vte_campaign">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="campaignname" type="C" size="255"/>
<field name="description" type="XL" />
<field name="campaigntype" type="C" size="200"/>
<field name="campaignstatus" type="C" size="200"/>
<field name="expectedrevenue" type="N" size="25.3"/>
<field name="budgetcost" type="N" size="25.3"/>
<field name="actualcost" type="N" size="25.3"/>
<field name="expectedresponse" type="C" size="200"/>
<field name="numsent" type="N" size="11"/>
<field name="product_id" type="I" size="19"/>
<field name="sponsor" type="C" size="255"/>
<field name="targetaudience" type="C" size="255"/>
<field name="targetsize" type="I" size="19"/>
<field name="expectedresponsecount" type="I" size="19"/>
<field name="expectedsalescount" type="I" size="19"/>
<field name="expectedroi" type="N" size="25.3"/>
<field name="actualresponsecount" type="I" size="19"/>
<field name="actualsalescount" type="I" size="19"/>
<field name="actualroi" type="N" size="25.3"/>
<field name="campaignid" type="I" size="19">
<KEY/>
</field>
<field name="closingdate" type="D"/>
<field name="campaign_no" type="C" size="255"/>
<index name="campaign_campaignstatus_idx">
<col>campaignstatus</col>
</index>
<index name="campaign_campaignname_idx">
<col>campaignname</col>
</index>
<index name="campaign_campaignid_idx">
<col>campaignid</col>
</index>
</table>
<table name="vte_campaignaccountrel">
<field name="campaignid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="accountid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="campaignrelstatusid" type="I" size="19" />
<opt platform="mysql">ENGINE=InnoDB</opt>
<index name="campaigncontrel_accid_idx">
<col>accountid</col>
<col>campaignid</col>
</index>
</table>
<table name="vte_campaignrelstatus">
<field name="campaignrelstatusid" type="I" size="19" />
<field name="campaignrelstatus" type="C" size="256" />
<field name="sortorderid" type="I" size="19" />
<field name="presence" type="I" size="19" />
<opt platform="mysql">ENGINE=InnoDB</opt>
</table>
<table name="vte_campaigncontrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="campaignid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="contactid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="campaignrelstatusid" type="I" size="19" />
<index name="campaigncontrel_contractid_idx">
<col>contactid</col>
<col>campaignid</col>
</index>
</table>
<table name="vte_campaignleadrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="campaignid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="leadid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="campaignrelstatusid" type="I" size="19" />
<index name="campaignleadrel_ldid_cid_idx">
<col>leadid</col>
<col>campaignid</col>
</index>
</table>
<table name="vte_campaignscf">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="campaignid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_campaignstatus">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="campaignstatusid" type="I" size="19">
<KEY/>
</field>
<field name="campaignstatus" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="campaignstatus_cstat_idx">
<col>campaignstatus</col>
</index>
</table>
<table name="vte_campaigntype">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="campaigntypeid" type="I" size="19">
<KEY/>
</field>
<field name="campaigntype" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="campaigntype_campaigntype_idx">
<UNIQUE/>
<col>campaigntype</col>
</index>
</table>
<table name="vte_carrier">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="carrierid" type="I" size="19">
<KEY/>
</field>
<field name="carrier" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="carrier_carrier_idx">
<UNIQUE/>
<col>carrier</col>
</index>
</table>
<table name="vte_cntactivityrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="contactid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="activityid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<index name="cntactivityrel_contactid_idx">
<col>contactid</col>
</index>
<index name="cntactivityrel_activityid_idx">
<col>activityid</col>
</index>
</table>
<table name="vte_competitor">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="competitorid" type="I" size="19">
<KEY/>
</field>
<field name="competitorname" type="C" size="100">
<NOTNULL/>
</field>
<field name="website" type="C" size="100"/>
<field name="strength" type="C" size="250"/>
<field name="weakness" type="C" size="250"/>
<index name="competitor_idx1">
<col>competitorname</col>
</index>
</table>
<table name="vte_contactaddress">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="contactaddressid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="mailingcity" type="C" size="40"/>
<field name="mailingstreet" type="C" size="250"/>
<field name="mailingcountry" type="C" size="40"/>
<field name="othercountry" type="C" size="30"/>
<field name="mailingstate" type="C" size="30"/>
<field name="mailingpobox" type="C" size="30"/>
<field name="othercity" type="C" size="40"/>
<field name="otherstate" type="C" size="50"/>
<field name="mailingzip" type="C" size="30"/>
<field name="otherzip" type="C" size="30"/>
<field name="otherstreet" type="C" size="250"/>
<field name="otherpobox" type="C" size="30"/>
<index name="contactaddress_idx1">
<col>mailingcity</col>
</index>
<index name="contactaddress_idx2">
<col>mailingstreet</col>
</index>
<index name="contactaddress_idx3">
<col>mailingcountry</col>
</index>
<index name="contactaddress_idx4">
<col>othercountry</col>
</index>
<index name="contactaddress_idx5">
<col>mailingstate</col>
</index>
<index name="contactaddress_idx6">
<col>mailingpobox</col>
</index>
<index name="contactaddress_idx7">
<col>othercity</col>
</index>
<index name="contactaddress_idx8">
<col>otherstate</col>
</index>
<index name="contactaddress_idx9">
<col>mailingzip</col>
</index>
<index name="contactaddress_idx10">
<col>otherzip</col>
</index>
<index name="contactaddress_idx11">
<col>otherstreet</col>
</index>
<index name="contactaddress_idx12">
<col>otherpobox</col>
</index>
</table>
<table name="vte_contactdetails">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="contactid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="accountid" type="I" size="19"/>
<field name="salutation" type="C" size="200"/>
<field name="firstname" type="C" size="40"/>
<field name="lastname" type="C" size="80">
<NOTNULL/>
</field>
<field name="description" type="XL" />
<field name="email" type="C" size="100"/>
<field name="phone" type="C" size="50"/>
<field name="mobile" type="C" size="50"/>
<field name="title" type="C" size="50"/>
<field name="department" type="C" size="30"/>
<field name="fax" type="C" size="50"/>
<field name="reportsto" type="I" size="19"/>
<field name="training" type="C" size="50"/>
<field name="usertype" type="C" size="50"/>
<field name="contacttype" type="C" size="50"/>
<field name="otheremail" type="C" size="100"/>
<field name="yahooid" type="C" size="100"/>
<field name="donotcall" type="C" size="3"/>
<field name="emailoptout" type="C" size="3">
<DEFAULT value="0"/>
</field>
<field name="imagename" type="C" size="150"/>
<field name="reference" type="C" size="3"/>
<field name="import_date" type="C" size="255"/>
<field name="import_file" type="C" size="255"/>
<field name="contact_no" type="C" size="255"/>
<field name="vendor_id" type="I" size="19"/>
<field name="newsletter_unsubscrpt" type="I" size="1">
<DEFAULT value="0"/>
</field>
<index name="contactdetails_accountid_idx">
<col>accountid</col>
</index>
<index name="contactdetails_idx1">
<col>contact_no</col>
</index>
<index name="contactdetails_idx2">
<col>firstname</col>
</index>
<index name="contactdetails_idx3">
<col>lastname</col>
</index>
<index name="contactdetails_idx4">
<col>email</col>
</index>
<index name="contactdetails_idx5">
<col>phone</col>
</index>
<index name="contactdetails_idx6">
<col>mobile</col>
</index>
<index name="contactdetails_idx7">
<col>fax</col>
</index>
<index name="contactdetails_idx8">
<col>reportsto</col>
</index>
<index name="contactdetails_idx9">
<col>training</col>
</index>
<index name="contactdetails_idx10">
<col>contacttype</col>
</index>
<index name="contactdetails_idx11">
<col>otheremail</col>
</index>
<index name="contactdetails_idx12">
<col>emailoptout</col>
</index>
</table>
<table name="vte_contactscf">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="contactid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_contactsubdetails">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="contactsubscriptionid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="homephone" type="C" size="50"/>
<field name="otherphone" type="C" size="50"/>
<field name="assistant" type="C" size="30"/>
<field name="assistantphone" type="C" size="50"/>
<field name="birthday" type="D"/>
<field name="laststayintouchrequest" type="I" size="30">
<DEFAULT value="0"/>
</field>
<field name="laststayintouchsavedate" type="I" size="19">
<DEFAULT value="0"/>
</field>
<field name="leadsource" type="C" size="200"/>
<index name="contactsubdetails_idx1">
<col>homephone</col>
</index>
<index name="contactsubdetails_idx2">
<col>otherphone</col>
</index>
<index name="contactsubdetails_idx3">
<col>assistant</col>
</index>
<index name="contactsubdetails_idx4">
<col>assistantphone</col>
</index>
<index name="contactsubdetails_idx5">
<col>birthday</col>
</index>
<index name="contactsubdetails_idx6">
<col>leadsource</col>
</index>
</table>
<table name="vte_contacttype">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="contacttypeid" type="I" size="19">
<KEY/>
</field>
<field name="contacttype" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<index name="contacttype_contacttype_idx">
<UNIQUE/>
<col>contacttype</col>
</index>
</table>
<table name="vte_contpotentialrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="contactid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="potentialid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="main_contact" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="contact_role" type="C" size="255" />
<index name="contpotrel_potentialid_idx">
<col>potentialid</col>
</index>
<index name="contpotrel_contactid_idx">
<col>contactid</col>
</index>
</table>
<table name="vte_contact_roles">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="contact_rolesid" type="I" size="19">
<KEY/>
</field>
<field name="contact_roles" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_partner_roles">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="partner_rolesid" type="I" size="19">
<KEY/>
</field>
<field name="partner_roles" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_accpotentialrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="accountid" type="R" size="19">
<KEY/>
</field>
<field name="potentialid" type="R" size="19">
<KEY/>
</field>
<field name="main_account" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="partner_role" type="C" size="255"/>
<index name="accpotrel_potentialid_idx">
<col>potentialid</col>
</index>
</table>
<table name="vte_convertleadmapping">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="cfmid" type="I" size="19">
<KEY/>
</field>
<field name="leadfid" type="I" size="19">
<NOTNULL/>
</field>
<field name="accountfid" type="I" size="19"/>
<field name="contactfid" type="I" size="19"/>
<field name="potentialfid" type="I" size="19"/>
<field name="editable" type="I" size="19">
<default value="1" />
</field>
</table>
<table name="vte_crmentity">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="crmid" type="I" size="19">
<KEY/>
</field>
<field name="smcreatorid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="smownerid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="modifiedby" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="setype" type="C" size="30">
<NOTNULL/>
</field>
<field name="description" type="XL"/>
<field name="createdtime" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="modifiedtime" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="viewedtime" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="status" type="C" size="50"/>
<field name="version" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<DEFAULT value="1"/>
</field>
<field name="deleted" type="I" size="1">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="crmentity_smcreatorid_idx">
<col>smcreatorid</col>
</index>
<index name="crmentity_smownerid_idx">
<col>smownerid</col>
</index>
<index name="crmentity_modifiedby_idx">
<col>modifiedby</col>
</index>
<index name="crmentity_owner_del_idx">
<col>smownerid</col>
<col>deleted</col>
</index>
<index name="crmentity_deleted_idx">
<col>deleted</col>
</index>
<index name="crmentity_setype_idx">
<col>setype</col>
</index>
<index name="crmentity_modtime_idx">
<col>modifiedtime</col>
</index>
</table>
<table name="vte_crmentitynotesrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="crmid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="notesid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<index name="crmentitynotesrel_notesid_idx">
<col>notesid</col>
</index>
<index name="crmentitynotesrel_crmid_idx">
<col>crmid</col>
</index>
</table>
<table name="vte_crmentityrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="crmid" type="I" size="11">
<KEY/>
<NOTNULL/>
</field>
<field name="module" type="C" size="100">
<NOTNULL/>
</field>
<field name="relcrmid" type="I" size="11">
<KEY/>
<NOTNULL/>
</field>
<field name="relmodule" type="C" size="100">
<NOTNULL/>
</field>
<index name="crmentityrel_module_idx">
<col>module</col>
</index>
<index name="crmentityrel_relcrmid_idx">
<col>relcrmid</col>
</index>
<index name="crmentityrel_relmodule_idx">
<col>relmodule</col>
</index>
</table>
<table name="vte_crmentityrel_ord">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="crmid" type="I" size="19">
<KEY/>
</field>
<field name="module" type="C" size="63">
<NOTNULL/>
</field>
<field name="relcrmid" type="I" size="19">
<KEY/>
</field>
<field name="relmodule" type="C" size="63">
<NOTNULL/>
</field>
<index name="crmentityrelord_module_idx">
<col>module</col>
</index>
<index name="crmentityrelord_relmodule_idx">
<col>relmodule</col>
</index>
<index name="crmentityrelord_relcrmid_idx">
<col>relcrmid</col>
</index>
</table>
<table name="vte_crmentityfolder">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="folderid" type="I" size="19">
<key/>
</field>
<field name="tabid" type="I" size="19">
<NOTNULL/>
</field>
<field name="createdby" type="I" size="19">
<NOTNULL/>
</field>
<field name="foldername" type="C" size="200">
<NOTNULL/>
</field>
<field name="description" type="C" size="250"/>
<field name="state" type="C" size="50"/>
<field name="sequence" type="I" size="19"/>
<index name="vte_crmentityfolder_idx1">
<col>tabid</col>
</index>
</table>
<table name="vte_currency">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="currencyid" type="I" size="19">
<KEY/>
</field>
<field name="currency" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<index name="currency_currency_idx">
<UNIQUE/>
<col>currency</col>
</index>
</table>
<table name="vte_currency_info">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="11">
<KEY/>
</field>
<field name="currency_name" type="C" size="100"/>
<field name="currency_code" type="C" size="100"/>
<field name="currency_symbol" type="C" size="30"/>
<field name="conversion_rate" type="N" size="10.3"/>
<field name="currency_status" type="C" size="25"/>
<field name="defaultid" type="C" size="10">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="deleted" type="I" size="1">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_customaction">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="cvid" type="I" size="19">
<NOTNULL/>
</field>
<field name="subject" type="C" size="250">
<NOTNULL/>
</field>
<field name="module" type="C" size="50">
<NOTNULL/>
</field>
<field name="content" type="X"/>
<index name="customaction_cvid_idx">
<col>cvid</col>
</index>
</table>
<table name="vte_customerdetails">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="customerid" type="I" size="19">
<KEY/>
</field>
<field name="portal" type="C" size="3"/>
<field name="support_start_date" type="D"/>
<field name="support_end_date" type="D"/>
<index name="customerdetails_idx1">
<col>portal</col>
</index>
<index name="customerdetails_idx2">
<col>support_start_date</col>
</index>
<index name="customerdetails_idx3">
<col>support_end_date</col>
</index>
</table>
<table name="vte_customview">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="cvid" type="I" size="19">
<KEY/>
</field>
<field name="viewname" type="C" size="100">
<NOTNULL/>
</field>
<field name="setdefault" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="setmetrics" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="setmobile" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="entitytype" type="C" size="25">
<NOTNULL/>
</field>
<field name="crmv_user_id" type="I" size="11"/>
<field name="status" type="I" size="1">
<default value="1" />
</field>
<field name="userid" type="I" size="19">
<default value="1" />
</field>
<field name="reportid" type="I" size="19"/>
<index name="customview_entitytype_idx">
<col>entitytype</col>
</index>
<index name="customview_idx1">
<col>viewname</col>
</index>
<index name="customview_idx2">
<col>setdefault</col>
</index>
<index name="customview_idx3">
<col>setmetrics</col>
</index>
<index name="customview_idx4">
<col>status</col>
</index>
<index name="customview_idx5">
<col>userid</col>
</index>
</table>
<table name="vte_cvadvfilter">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="cvid" type="I" size="19">
<KEY/>
</field>
<field name="columnindex" type="I" size="11">
<KEY/>
</field>
<field name="columnname" type="C" size="250"/>
<field name="comparator" type="C" size="10"/>
<field name="value" type="C" size="200"/>
<index name="cvadvfilter_cvid_idx">
<col>cvid</col>
</index>
</table>
<table name="vte_cvcolumnlist">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="cvid" type="I" size="19">
<KEY/>
</field>
<field name="columnindex" type="I" size="11">
<KEY/>
</field>
<field name="columnname" type="C" size="250"/>
<index name="cvcolumnlist_columnindex_idx">
<col>columnindex</col>
</index>
<index name="cvcolumnlist_cvid_idx">
<col>cvid</col>
</index>
</table>
<table name="vte_cvstdfilter">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="cvid" type="I" size="19">
<KEY/>
</field>
<field name="columnname" type="C" size="250"/>
<field name="stdfilter" type="C" size="250"/>
<field name="startdate" type="D"/>
<field name="enddate" type="D"/>
<field name="only_month_and_day" type="I" size="1">
<DEFAULT value="0"/>
</field>
<index name="cvstdfilter_cvid_idx">
<col>cvid</col>
</index>
</table>
<table name="vte_datashare_grp2grp">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="shareid" type="I" size="19">
<KEY/>
</field>
<field name="share_groupid" type="I" size="19"/>
<field name="to_groupid" type="I" size="19"/>
<field name="permission" type="I" size="19"/>
<index name="datashare_grp2grp_share_gr_idx">
<col>share_groupid</col>
</index>
<index name="datashare_grp2grp_to_gr_idx">
<col>to_groupid</col>
</index>
</table>
<table name="vte_datashare_grp2role">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="shareid" type="I" size="19">
<KEY/>
</field>
<field name="share_groupid" type="I" size="19"/>
<field name="to_roleid" type="C" size="255"/>
<field name="permission" type="I" size="19"/>
<index name="idx_datashare_grp2role_gr">
<col>share_groupid</col>
</index>
<index name="idx_datashare_grp2role_rl">
<col>to_roleid</col>
</index>
</table>
<table name="vte_datashare_grp2rs">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="shareid" type="I" size="19">
<KEY/>
</field>
<field name="share_groupid" type="I" size="19"/>
<field name="to_roleandsubid" type="C" size="255"/>
<field name="permission" type="I" size="19"/>
<index name="datashare_grp2rs_groupid_idx">
<col>share_groupid</col>
</index>
<index name="datashare_grp2rs_to_rlsub_idx">
<col>to_roleandsubid</col>
</index>
</table>
<table name="vte_datashare_mod_rel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="shareid" type="I" size="19">
<KEY/>
</field>
<field name="tabid" type="I" size="19">
<NOTNULL/>
</field>
<field name="relationtype" type="C" size="200"/>
<index name="idx_datashare_mod_rel_tabid">
<col>tabid</col>
</index>
</table>
<table name="vte_datashare_relmod">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="datashare_relatedmodule_id" type="I" size="19">
<KEY/>
</field>
<field name="tabid" type="I" size="19"/>
<field name="relatedto_tabid" type="I" size="19"/>
<index name="datashare_relmod_tabid_idx">
<col>tabid</col>
</index>
<index name="datashare_relmod_reltabid_idx">
<col>relatedto_tabid</col>
</index>
</table>
<table name="vte_datashare_relmod_perm">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="shareid" type="I" size="19">
<KEY/>
</field>
<field name="datashare_relatedmodule_id" type="I" size="19">
<KEY/>
</field>
<field name="permission" type="I" size="19"/>
<index name="datashare_relmod_perm_id_idx">
<col>shareid</col>
<col>permission</col>
</index>
</table>
<table name="vte_datashare_role2group">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="shareid" type="I" size="19">
<KEY/>
</field>
<field name="share_roleid" type="C" size="255"/>
<field name="to_groupid" type="I" size="19"/>
<field name="permission" type="I" size="19"/>
<index name="idx_datashare_rl2group_rlid">
<col>share_roleid</col>
</index>
<index name="idx_datashare_rl2group_grid">
<col>to_groupid</col>
</index>
</table>
<table name="vte_datashare_role2role">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="shareid" type="I" size="19">
<KEY/>
</field>
<field name="share_roleid" type="C" size="255"/>
<field name="to_roleid" type="C" size="255"/>
<field name="permission" type="I" size="19"/>
<index name="datashare_rl2rl_roleid_idx">
<col>share_roleid</col>
</index>
<index name="datashare_rl2rl_to_roleid_idx">
<col>to_roleid</col>
</index>
</table>
<table name="vte_datashare_role2rs">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="shareid" type="I" size="19">
<KEY/>
</field>
<field name="share_roleid" type="C" size="255"/>
<field name="to_roleandsubid" type="C" size="255"/>
<field name="permission" type="I" size="19"/>
<index name="datashare_role2s_roleid_idx">
<col>share_roleid</col>
</index>
<index name="datashare_role2s_to_rlsub_idx">
<col>to_roleandsubid</col>
</index>
</table>
<table name="vte_datashare_rs2grp">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="shareid" type="I" size="19">
<KEY/>
</field>
<field name="share_roleandsubid" type="C" size="255"/>
<field name="to_groupid" type="I" size="19"/>
<field name="permission" type="I" size="19"/>
<index name="datashare_rs2grp_rlsub_idx">
<col>share_roleandsubid</col>
</index>
<index name="datashare_rs2grp_to_grid_idx">
<col>to_groupid</col>
</index>
</table>
<table name="vte_datashare_rs2role">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="shareid" type="I" size="19">
<KEY/>
</field>
<field name="share_roleandsubid" type="C" size="255"/>
<field name="to_roleid" type="C" size="255"/>
<field name="permission" type="I" size="19"/>
<index name="datashare_rs2role_rlsubid_idx">
<col>share_roleandsubid</col>
</index>
<index name="datashare_rs2r_to_rl_idx">
<col>to_roleid</col>
</index>
</table>
<table name="vte_datashare_rs2rs">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="shareid" type="I" size="19">
<KEY/>
</field>
<field name="share_roleandsubid" type="C" size="255"/>
<field name="to_roleandsubid" type="C" size="255"/>
<field name="permission" type="I" size="19"/>
<index name="datashare_rs2rs_rlandsub_idx">
<col>share_roleandsubid</col>
</index>
<index name="idx_rs2rs_to_rlandsub_idx">
<col>to_roleandsubid</col>
</index>
</table>
<table name="vte_datashare_usr2usr">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="shareid" type="I" size="19">
<KEY/>
</field>
<field name="share_userid" type="C" size="255"/>
<field name="to_userid" type="I" size="19"/>
<field name="permission" type="I" size="19"/>
<index name="datashare_usr2usr_userid_idx">
<col>share_userid</col>
</index>
<index name="data_usr2usr_to_usrid_idx">
<col>to_userid</col>
</index>
</table>
<table name="vte_date_format">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="date_formatid" type="I" size="19">
<KEY/>
</field>
<field name="date_format" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
</table>
<table name="vte_dealintimation">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="dealintimationid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="dealname" type="C" size="100">
<NOTNULL/>
</field>
<field name="intimationamount" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="dealprobability" type="N" size="3.2">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="dealintimationactive" type="I" size="1"/>
<field name="fromname" type="C" size="120">
<NOTNULL/>
</field>
<field name="fromemailid" type="C" size="100">
<NOTNULL/>
</field>
<field name="notifyemails" type="C" size="50">
<NOTNULL/>
</field>
<field name="notifybccemails" type="C" size="50">
<NOTNULL/>
</field>
<field name="notifyccmails" type="C" size="50">
<NOTNULL/>
</field>
<field name="notifypotentialowner" type="I" size="1"/>
<index name="dealintimation_dealname_idx">
<UNIQUE/>
<col>dealname</col>
</index>
</table>
<table name="vte_def_org_field">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="tabid" type="I" size="10"/>
<field name="fieldid" type="I" size="19">
<KEY/>
</field>
<field name="visible" type="I" size="19"/>
<field name="readonly" type="I" size="19"/>
<index name="def_org_field_tabid_fldid_idx">
<col>tabid</col>
<col>fieldid</col>
</index>
<index name="def_org_field_tabid_idx">
<col>tabid</col>
</index>
<index name="deforgfield_visible_fldid_idx">
<col>visible</col>
<col>fieldid</col>
</index>
<index name="def_org_field_idx1">
<col>readonly</col>
</index>
<index name="def_org_field_idx2">
<col>fieldid</col>
</index>
</table>
<table name="vte_def_org_share">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="ruleid" type="I" size="11">
<KEY/>
</field>
<field name="tabid" type="I" size="11">
<NOTNULL/>
</field>
<field name="permission" type="I" size="19"/>
<field name="editstatus" type="I" size="19"/>
<index name="fk_1_vte_def_org_share">
<col>permission</col>
</index>
<index name="def_org_share_idx1">
<col>tabid</col>
</index>
<index name="def_org_share_idx2">
<col>editstatus</col>
</index>
</table>
<table name="vte_defaultcv">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="tabid" type="I" size="19">
<KEY/>
</field>
<field name="defaultviewname" type="C" size="50">
<NOTNULL/>
</field>
<field name="query" type="X"/>
</table>
<table name="vte_downloadpurpose">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="downloadpurposeid" type="I" size="19">
<KEY/>
</field>
<field name="purpose" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<index name="downloadpurpose_purpose_idx">
<UNIQUE/>
<col>purpose</col>
</index>
</table>
<table name="vte_duration_minutes">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="minutesid" type="I" size="19">
<KEY/>
</field>
<field name="duration_minutes" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
</table>
<table name="vte_durationhrs">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="hrsid" type="I" size="19">
<KEY/>
</field>
<field name="hrs" type="C" size="50"/>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
</table>
<table name="vte_durationmins">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="minsid" type="I" size="19">
<KEY/>
</field>
<field name="mins" type="C" size="50"/>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
</table>
<table name="vte_emailtemplates">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="foldername" type="C" size="100"/>
<field name="templatename" type="C" size="100"/>
<field name="subject" type="C" size="100"/>
<field name="description" type="X"/>
<field name="body" type="XL"/>
<field name="deleted" type="I" size="1">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="templateid" type="I" size="19">
<KEY/>
</field>
<field name="templatetype" type="C" size="255"/>
<field name="use_signature" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="overwrite_message" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="parentid" type="I" size="19">
<DEFAULT value="0"/>
</field>
<index name="emailtemplates_subject_idx">
<col>foldername</col>
<col>templatename</col>
<col>subject</col>
</index>
</table>
<table name="vte_entityname">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="tabid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="modulename" type="C" size="50">
<NOTNULL/>
</field>
<field name="tablename" type="C" size="100">
<NOTNULL/>
</field>
<field name="fieldname" type="C" size="150">
<NOTNULL/>
</field>
<field name="entityidfield" type="C" size="150">
<NOTNULL/>
</field>
<field name="entityidcolumn" type="C" size="150">
<NOTNULL/>
</field>
<index name="entityname_tabid_idx">
<col>tabid</col>
</index>
<index name="entityname_idx1">
<col>modulename</col>
</index>
<index name="entityname_idx2">
<col>tablename</col>
</index>
<index name="entityname_idx3">
<col>fieldname</col>
</index>
<index name="entityname_idx4">
<col>entityidfield</col>
</index>
<index name="entityname_idx5">
<col>entityidcolumn</col>
</index>
</table>
<table name="vte_evaluationstatus">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="evalstatusid" type="I" size="19">
<KEY/>
</field>
<field name="status" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<index name="evaluationstatus_status_idx">
<UNIQUE/>
<col>status</col>
</index>
</table>
<table name="vte_eventhandler_module">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="eventhandler_module_id" type="I" size="11">
<KEY/>
</field>
<field name="module_name" type="C" size="100"/>
<field name="handler_class" type="C" size="100"/>
<index name="eventhandler_module_idx1">
<col>module_name</col>
</index>
</table>
<table name="vte_eventhandlers">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="eventhandler_id" type="I" size="11">
<KEY/>
</field>
<field name="event_name" type="C" size="100">
<KEY/>
</field>
<field name="handler_path" type="C" size="400">
<NOTNULL/>
</field>
<field name="handler_class" type="C" size="100">
<KEY/>
</field>
<field name="cond" type="X"/>
<field name="is_active" type="I" size="1">
<NOTNULL/>
</field>
<field name="dependent_on" type="C" size="255">
<default value="[]" />
</field>
<index name="eventhandler_idx">
<UNIQUE/>
<col>eventhandler_id</col>
</index>
</table>
<table name="vte_eventstatus">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="eventstatusid" type="I" size="19">
<KEY/>
</field>
<field name="eventstatus" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="history" type="I" size="1">
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_expectedresponse">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="expectedresponseid" type="I" size="19">
<KEY/>
</field>
<field name="expectedresponse" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="CampaignExpRes_UK01">
<UNIQUE/>
<col>expectedresponse</col>
</index>
</table>
<table name="vte_faq">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19">
<KEY/>
</field>
<field name="product_id" type="I" size="19"/>
<field name="question" type="X"/>
<field name="answer" type="X"/>
<field name="category" type="C" size="200">
</field>
<field name="status" type="C" size="200">
</field>
<field name="faq_no" type="C" size="255"/>
</table>
<table name="vte_faqcf">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="faqid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_faqcategories">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="faqcategories_id" type="I" size="19">
<KEY/>
</field>
<field name="faqcategories" type="C" size="200"/>
<field name="PRESENCE" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_faqcomments">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="commentid" type="I" size="19">
<KEY/>
</field>
<field name="faqid" type="I" size="19"/>
<field name="comments" type="X"/>
<field name="createdtime" type="T">
<NOTNULL/>
</field>
<index name="faqcomments_faqid_idx">
<col>faqid</col>
</index>
</table>
<table name="vte_faqstatus">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="faqstatus_id" type="I" size="19">
<KEY/>
</field>
<field name="faqstatus" type="C" size="200"/>
<field name="PRESENCE" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_field">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="tabid" type="I" size="19">
<NOTNULL/>
</field>
<field name="fieldid" type="I" size="19">
<KEY/>
</field>
<field name="columnname" type="C" size="30">
<NOTNULL/>
</field>
<field name="tablename" type="C" size="50">
<NOTNULL/>
</field>
<field name="generatedtype" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="uitype" type="I" size="19">
<NOTNULL/>
</field>
<field name="fieldname" type="C" size="50">
<NOTNULL/>
</field>
<field name="fieldlabel" type="C" size="50">
<NOTNULL/>
</field>
<field name="readonly" type="I" size="1">
<NOTNULL/>
</field>
<field name="presence" type="I" size="19">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="selected" type="I" size="1">
<NOTNULL/>
</field>
<field name="maximumlength" type="I" size="19"/>
<field name="sequence" type="I" size="19"/>
<field name="block" type="I" size="19"/>
<field name="displaytype" type="I" size="19"/>
<field name="typeofdata" type="C" size="100"/>
<field name="quickcreate" type="I" size="10">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="quickcreatesequence" type="I" size="19"/>
<field name="info_type" type="C" size="20"/>
<field name="masseditable" type="I" size="10">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="helpinfo" type="X"/>
<index name="field_tabid_idx">
<col>tabid</col>
</index>
<index name="field_fieldname_idx">
<col>fieldname</col>
</index>
<index name="field_block_idx">
<col>block</col>
</index>
<index name="field_displaytype_idx">
<col>displaytype</col>
</index>
<index name="field_idx1">
<col>columnname</col>
</index>
<index name="field_idx2">
<col>tablename</col>
</index>
<index name="field_idx3">
<col>generatedtype</col>
</index>
<index name="field_idx4">
<col>uitype</col>
</index>
<index name="field_idx5">
<col>readonly</col>
</index>
<index name="field_idx6">
<col>sequence</col>
</index>
<index name="field_idx7">
<col>quickcreate</col>
</index>
<index name="field_presence_idx">
<col>presence</col>
</index>
</table>
<table name="vte_fieldmodulerel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="fieldid" type="I" size="11">
<NOTNULL/>
</field>
<field name="module" type="C" size="100">
<NOTNULL/>
</field>
<field name="relmodule" type="C" size="100">
<NOTNULL/>
</field>
<field name="status" type="C" size="10"/>
<field name="sequence" type="I" size="11"/>
<index name="fieldmodulerel_fieldid_idx">
<col>fieldid</col>
</index>
</table>
<table name="vte_files">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="C" size="36">
<KEY/>
</field>
<field name="name" type="C" size="36"/>
<field name="content" type="B"/>
<field name="deleted" type="I" size="1">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="date_entered" type="T">
<NOTNULL/>
</field>
<field name="assigned_user_id" type="I" size="19"/>
<index name="files_name_deleted_idx">
<col>assigned_user_id</col>
<col>name</col>
<col>deleted</col>
</index>
</table>
<table name="vte_glacct">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="glacctid" type="I" size="19">
<KEY/>
</field>
<field name="glacct" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="glacct_glacct_idx">
<UNIQUE/>
<col>glacct</col>
</index>
</table>
<table name="vte_group2grouprel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="groupid" type="I" size="19">
<KEY/>
</field>
<field name="containsgroupid" type="I" size="19">
<KEY/>
</field>
</table>
<table name="vte_group2role">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="groupid" type="I" size="19">
<KEY/>
</field>
<field name="roleid" type="C" size="255">
<KEY/>
</field>
<index name="fk_2_vte_group2role">
<col>roleid</col>
</index>
</table>
<table name="vte_group2rs">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="groupid" type="I" size="19">
<KEY/>
</field>
<field name="roleandsubid" type="C" size="255">
<KEY/>
</field>
<index name="fk_2_vte_group2rs">
<col>roleandsubid</col>
</index>
</table>
<table name="vte_groups">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="groupid" type="I" size="19">
<KEY/>
</field>
<field name="groupname" type="C" size="100"/>
<field name="date_entered" type="T">
<default value="0000-00-00 00:00:00" />
</field>
<field name="date_modified" type="T" />
<field name="description" type="X"/>
<index name="groups_groupname_idx">
<UNIQUE/>
<col>groupname</col>
</index>
<index name="groups_modified_idx">
<col>date_modified</col>
</index>
</table>
<table name="vte_headers">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="fileid" type="I" size="3">
<KEY/>
</field>
<field name="headernames" type="C" size="30">
<NOTNULL/>
</field>
</table>
<table name="vte_home_layout">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<field name="layout" type="I" size="19">
<NOTNULL/>
<DEFAULT value="4"/>
</field>
</table>
<table name="vte_homedashbd">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="stuffid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="dashbdname" type="C" size="100"/>
<field name="dashbdtype" type="C" size="100"/>
<index name="homedashbd_stuffid_idx">
<col>stuffid</col>
</index>
<index name="homedashbd_idx1">
<col>dashbdname</col>
</index>
</table>
<table name="vte_homedefault">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="stuffid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="hometype" type="C" size="100">
<NOTNULL/>
</field>
<field name="maxentries" type="I" size="19"/>
<field name="setype" type="C" size="30"/>
<index name="stuff_stuffid_def_idx">
<col>stuffid</col>
</index>
<index name="homedefault_idx1">
<col>hometype</col>
</index>
</table>
<table name="vte_homemodule">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="stuffid" type="I" size="19">
<KEY/>
</field>
<field name="modulename" type="C" size="100"/>
<field name="maxentries" type="I" size="19">
<NOTNULL/>
</field>
<field name="customviewid" type="I" size="19">
<NOTNULL/>
</field>
<field name="setype" type="C" size="30">
<NOTNULL/>
</field>
<index name="homemodule_stuffid_idx">
<col>stuffid</col>
</index>
</table>
<table name="vte_homemoduleflds">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="stuffid" type="I" size="19"/>
<field name="fieldname" type="C" size="100"/>
<index name="homemoduleflds_stuffid_idx">
<col>stuffid</col>
</index>
</table>
<table name="vte_homerss">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="stuffid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="url" type="C" size="100"/>
<field name="maxentries" type="I" size="19">
<NOTNULL/>
</field>
<index name="homerss_stuffid_idx">
<col>stuffid</col>
</index>
</table>
<table name="vte_homestuff">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="stuffid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="stuffsequence" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="stufftype" type="C" size="100"/>
<field name="userid" type="I" size="19">
<NOTNULL/>
</field>
<field name="visible" type="I" size="10">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="size" type="I" size="10">
<DEFAULT value="0"/>
</field>
<field name="stufftitle" type="C" size="100"/>
<index name="stuff_stuffid_idx">
<col>stuffid</col>
</index>
<index name="fk_1_vte_homestuff">
<col>userid</col>
</index>
<index name="idx_stufftitle">
<col>stufftitle</col>
</index>
</table>
<table name="vte_homewidget_url">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="widget_id" type="I" size="19">
<KEY/>
</field>
<field name="url" type="C" size="60"/>
</table>
<table name="vte_industry">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="industryid" type="I" size="19">
<KEY/>
</field>
<field name="industry" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="industry_industry_idx">
<UNIQUE/>
<col>industry</col>
</index>
</table>
<table name="vte_insufficient_stock">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="insufficient_stockid" type="I" size="19">
<KEY/>
</field>
<field name="insufficient_stock" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_inventory_tandc">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19">
<KEY/>
</field>
<field name="type" type="C" size="30">
<NOTNULL/>
</field>
<field name="tandc" type="X"/>
</table>
<table name="vte_inventorynotify">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="notificationid" type="I" size="19">
<KEY/>
</field>
<field name="notificationname" type="C" size="200"/>
<field name="notificationsubject" type="C" size="200"/>
<field name="notificationbody" type="XL"/>
<field name="label" type="C" size="50"/>
</table>
<table name="vte_inventoryproductrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19"/>
<field name="productid" type="I" size="19"/>
<field name="relmodule" type="C" size="63"/>
<field name="sequence_no" type="I" size="4"/>
<field name="quantity" type="N" size="25.3"/>
<field name="listprice" type="N" size="25.3"/>
<field name="discount_percent" type="C" size="255"/>
<field name="discount_amount" type="C" size="255"/>
<field name="total_notaxes" type="N" size="25.3"/>
<field name="tax_total" type="N" size="25.3"/>
<field name="comment" type="C" size="250"/>
<field name="description" type="X"/>
<field name="incrementondel" type="I" size="11">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="lineitem_id" type="I" size="11">
<KEY/>
</field>
<field name="linetotal" type="N" size="25.3"/>
<index name="inventoryproductrel_id_idx">
<col>id</col>
</index>
<index name="invprodrel_prdid_idx">
<col>productid</col>
</index>
<index name="invprodrel_relmod_idx">
<col>relmodule</col>
</index>
</table>
<table name="vte_inventoryshippingrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19">
<key/>
</field>
</table>
<table name="vte_inventorytotals">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19">
<key/>
</field>
<field name="tax_total" type="N" size="25.3" />
<field name="shtax_total" type="N" size="25.3" />
</table>
<table name="vte_inventorysubproductrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19">
<NOTNULL/>
</field>
<field name="sequence_no" type="I" size="10">
<NOTNULL/>
</field>
<field name="productid" type="I" size="19">
<NOTNULL/>
</field>
</table>
<table name="vte_inventorytaxinfo">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="taxid" type="I" size="3">
<KEY/>
</field>
<field name="taxname" type="C" size="50"/>
<field name="taxlabel" type="C" size="50"/>
<field name="percentage" type="N" size="7.3"/>
<field name="deleted" type="I" size="1"/>
<index name="inventorytaxinfo_taxname_idx">
<col>taxname</col>
</index>
</table>
<table name="vte_invitees">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="activityid" type="I" size="19">
<KEY/>
</field>
<field name="inviteeid" type="I" size="19">
<KEY/>
</field>
<field name="partecipation" type="I" size="1">
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_invoice">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="invoiceid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="description" type="XL" />
<field name="subject" type="C" size="100"/>
<field name="salesorderid" type="I" size="19"/>
<field name="customerno" type="C" size="100"/>
<field name="contactid" type="I" size="19"/>
<field name="notes" type="C" size="100"/>
<field name="invoicedate" type="D"/>
<field name="duedate" type="D"/>
<field name="invoiceterms" type="C" size="100"/>
<field name="type" type="C" size="100"/>
<field name="adjustment" type="N" size="25.3"/>
<field name="salescommission" type="N" size="25.3"/>
<field name="exciseduty" type="N" size="25.3"/>
<field name="subtotal" type="N" size="25.3"/>
<field name="total" type="N" size="25.3"/>
<field name="taxtype" type="C" size="25"/>
<field name="discount_percent" type="C" size="127"/>
<field name="discount_amount" type="C" size="255"/>
<field name="s_h_amount" type="N" size="25.3"/>
<field name="shipping" type="C" size="100"/>
<field name="accountid" type="I" size="19"/>
<field name="terms_conditions" type="X"/>
<field name="purchaseorder" type="C" size="200"/>
<field name="invoicestatus" type="C" size="200"/>
<field name="invoice_no" type="C" size="100"/>
<field name="project" type="C" size="255"/>
<field name="bulk" type="C" size="255"/>
<field name="currency_id" type="I" size="19">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="conversion_rate" type="N" size="10.3">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<index name="invoice_purchaseorderid_idx">
<col>invoiceid</col>
</index>
<index name="fk_2_vte_invoice">
<col>salesorderid</col>
</index>
<index name="invoice_idx1">
<col>subject</col>
</index>
<index name="invoice_idx2">
<col>customerno</col>
</index>
<index name="invoice_idx3">
<col>contactid</col>
</index>
<index name="invoice_idx4">
<col>duedate</col>
</index>
<index name="invoice_idx5">
<col>invoice_no</col>
</index>
<index name="invoice_idx6">
<col>invoicestatus</col>
</index>
<index name="invoice_idx7">
<col>accountid</col>
</index>
</table>
<table name="vte_invoice_recurring_info">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="salesorderid" type="I" size="19"/>
<field name="recurring_frequency" type="C" size="200"/>
<field name="start_period" type="D"/>
<field name="end_period" type="D"/>
<field name="last_recurring_date" type="D"/>
<field name="payment_duration" type="C" size="200"/>
<field name="invoice_status" type="C" size="200"/>
</table>
<table name="vte_invoicebillads">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="invoicebilladdressid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="bill_city" type="C" size="30"/>
<field name="bill_code" type="C" size="30"/>
<field name="bill_country" type="C" size="30"/>
<field name="bill_state" type="C" size="30"/>
<field name="bill_street" type="C" size="250"/>
<field name="bill_pobox" type="C" size="30"/>
<index name="invoice_recurring_info_idx1">
<col>bill_city</col>
</index>
<index name="invoice_recurring_info_idx2">
<col>bill_code</col>
</index>
<index name="invoice_recurring_info_idx3">
<col>bill_country</col>
</index>
<index name="invoice_recurring_info_idx4">
<col>bill_state</col>
</index>
<index name="invoice_recurring_info_idx5">
<col>bill_street</col>
</index>
<index name="invoice_recurring_info_idx6">
<col>bill_pobox</col>
</index>
</table>
<table name="vte_invoicecf">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="invoiceid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_invoiceshipads">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="invoiceshipaddressid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="ship_city" type="C" size="30"/>
<field name="ship_code" type="C" size="30"/>
<field name="ship_country" type="C" size="30"/>
<field name="ship_state" type="C" size="30"/>
<field name="ship_street" type="C" size="250"/>
<field name="ship_pobox" type="C" size="30"/>
<index name="invoiceshipads_idx1">
<col>ship_city</col>
</index>
<index name="invoiceshipads_idx2">
<col>ship_code</col>
</index>
<index name="invoiceshipads_idx3">
<col>ship_country</col>
</index>
<index name="invoiceshipads_idx4">
<col>ship_state</col>
</index>
<index name="invoiceshipads_idx5">
<col>ship_street</col>
</index>
<index name="invoiceshipads_idx6">
<col>ship_pobox</col>
</index>
</table>
<table name="vte_invoicestatus">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="inovicestatusid" type="I" size="19">
<KEY/>
</field>
<field name="invoicestatus" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="invoicestatus_invstat_idx">
<UNIQUE/>
<col>invoicestatus</col>
</index>
</table>
<table name="vte_invoicestatushistory">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="historyid" type="I" size="19">
<KEY/>
</field>
<field name="invoiceid" type="I" size="19">
<NOTNULL/>
</field>
<field name="accountname" type="C" size="100"/>
<field name="total" type="N" size="10"/>
<field name="invoicestatus" type="C" size="200"/>
<field name="lastmodified" type="T">
<NOTNULL/>
</field>
<index name="invstatushistory_invid_idx">
<col>invoiceid</col>
</index>
</table>
<table name="vte_language">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="11">
<KEY/>
</field>
<field name="name" type="C" size="50"/>
<field name="prefix" type="C" size="10"/>
<field name="label" type="C" size="30"/>
<field name="lastupdated" type="T">
<NOTNULL/>
</field>
<field name="sequence" type="I" size="11"/>
<field name="isdefault" type="I" size="1"/>
<field name="active" type="I" size="1"/>
</table>
<table name="vte_lar">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="larid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="name" type="C" size="50">
<NOTNULL/>
</field>
<field name="createdby" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="createdon" type="D">
<NOTNULL/>
</field>
<index name="lar_name_idx">
<UNIQUE/>
<col>name</col>
</index>
<index name="lar_createdby_idx">
<col>createdby</col>
</index>
<index name="lar_idx1">
<col>createdon</col>
</index>
</table>
<table name="vte_lead_view">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="lead_viewid" type="I" size="19">
<KEY/>
</field>
<field name="lead_view" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
</table>
<table name="vte_leadaddress">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="leadaddressid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="city" type="C" size="30"/>
<field name="code" type="C" size="30"/>
<field name="state" type="C" size="30"/>
<field name="pobox" type="C" size="30"/>
<field name="country" type="C" size="30"/>
<field name="phone" type="C" size="50"/>
<field name="mobile" type="C" size="50"/>
<field name="fax" type="C" size="50"/>
<field name="lane" type="C" size="250"/>
<field name="leadaddresstype" type="C" size="30">
<DEFAULT value="Billing"/>
</field>
<index name="leadaddress_idx1">
<col>city</col>
</index>
<index name="leadaddress_idx2">
<col>code</col>
</index>
<index name="leadaddress_idx3">
<col>state</col>
</index>
<index name="leadaddress_idx4">
<col>pobox</col>
</index>
<index name="leadaddress_idx5">
<col>country</col>
</index>
<index name="leadaddress_idx6">
<col>phone</col>
</index>
<index name="leadaddress_idx7">
<col>mobile</col>
</index>
<index name="leadaddress_idx8">
<col>lane</col>
</index>
<index name="leadaddress_idx9">
<col>leadaddresstype</col>
</index>
</table>
<table name="vte_leaddetails">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="leadid" type="I" size="19">
<KEY/>
</field>
<field name="description" type="XL" />
<field name="email" type="C" size="100"/>
<field name="interest" type="C" size="50"/>
<field name="firstname" type="C" size="40"/>
<field name="salutation" type="C" size="200"/>
<field name="lastname" type="C" size="80">
<NOTNULL/>
</field>
<field name="company" type="C" size="100">
<NOTNULL/>
</field>
<field name="annualrevenue" type="I" size="19">
<DEFAULT value="0"/>
</field>
<field name="industry" type="C" size="200"/>
<field name="campaign" type="C" size="30"/>
<field name="rating" type="C" size="200"/>
<field name="leadstatus" type="C" size="50"/>
<field name="leadsource" type="C" size="200"/>
<field name="converted" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="designation" type="C" size="50"/>
<field name="licencekeystatus" type="C" size="50"/>
<field name="space" type="C" size="250"/>
<field name="comments" type="X"/>
<field name="priority" type="C" size="50"/>
<field name="demorequest" type="C" size="50"/>
<field name="partnercontact" type="C" size="50"/>
<field name="productversion" type="C" size="20"/>
<field name="product" type="C" size="50"/>
<field name="maildate" type="D"/>
<field name="nextstepdate" type="D"/>
<field name="fundingsituation" type="C" size="50"/>
<field name="purpose" type="C" size="50"/>
<field name="evaluationstatus" type="C" size="50"/>
<field name="transferdate" type="D"/>
<field name="revenuetype" type="C" size="50"/>
<field name="noofemployees" type="I" size="50"/>
<field name="yahooid" type="C" size="100"/>
<field name="assignleadchk" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="import_date" type="C" size="255"/>
<field name="import_file" type="C" size="255"/>
<field name="crmv_vat_registration_number" type="C" size="16"/>
<field name="crmv_social_security_number" type="C" size="16"/>
<field name="lead_no" type="C" size="255"/>
<field name="newsletter_unsubscrpt" type="I" size="1">
<DEFAULT value="0"/>
</field>
<index name="lead_conv_leadstatus_idx">
<col>converted</col>
<col>leadstatus</col>
</index>
<index name="leaddetails_idx1">
<col>lead_no</col>
</index>
<index name="leaddetails_idx2">
<col>email</col>
</index>
<index name="leaddetails_idx3">
<col>interest</col>
</index>
<index name="leaddetails_idx4">
<col>firstname</col>
</index>
<index name="leaddetails_idx5">
<col>salutation</col>
</index>
<index name="leaddetails_idx6">
<col>lastname</col>
</index>
<index name="leaddetails_idx7">
<col>company</col>
</index>
<index name="leaddetails_idx8">
<col>annualrevenue</col>
</index>
<index name="leaddetails_idx9">
<col>industry</col>
</index>
<index name="leaddetails_idx10">
<col>campaign</col>
</index>
<index name="leaddetails_idx11">
<col>rating</col>
</index>
<index name="leaddetails_idx12">
<col>leadstatus</col>
</index>
<index name="leaddetails_idx13">
<col>leadsource</col>
</index>
<index name="leaddetails_idx14">
<col>converted</col>
</index>
<index name="leaddetails_idx15">
<col>designation</col>
</index>
<index name="leaddetails_idx16">
<col>licencekeystatus</col>
</index>
<index name="leaddetails_idx17">
<col>space</col>
</index>
<index name="leaddetails_idx18">
<col>priority</col>
</index>
<index name="leaddetails_idx19">
<col>demorequest</col>
</index>
<index name="leaddetails_idx20">
<col>partnercontact</col>
</index>
<index name="leaddetails_idx21">
<col>productversion</col>
</index>
<index name="leaddetails_idx22">
<col>product</col>
</index>
</table>
<table name="vte_leadscf">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="leadid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_leadconvrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="leadid" type="I" size="19">
<KEY/>
</field>
<field name="userid" type="I" size="19"/>
<field name="convtime" type="T">
<DEFAULT value="0000-00-00 00:00:00" />
</field>
<field name="accountid" type="I" size="19"/>
<field name="contactid" type="I" size="19"/>
<field name="potentialid" type="I" size="19"/>
</table>
<table name="vte_leadsource">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="leadsourceid" type="I" size="19">
<KEY/>
</field>
<field name="leadsource" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_leadstage">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="leadstageid" type="I" size="19">
<KEY/>
</field>
<field name="stage" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<index name="leadstage_stage_idx">
<UNIQUE/>
<col>stage</col>
</index>
</table>
<table name="vte_leadstatus">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="leadstatusid" type="I" size="19">
<KEY/>
</field>
<field name="leadstatus" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_leadsubdetails">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="leadsubscriptionid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="website" type="C" size="255"/>
<field name="callornot" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="readornot" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="empct" type="I" size="10">
<DEFAULT value="0"/>
</field>
<index name="leadsubdetails_idx1">
<col>website</col>
</index>
<index name="leadsubdetails_idx2">
<col>callornot</col>
</index>
<index name="leadsubdetails_idx3">
<col>readornot</col>
</index>
<index name="leadsubdetails_idx4">
<col>empct</col>
</index>
</table>
<table name="vte_licencekeystatus">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="licencekeystatusid" type="I" size="19">
<KEY/>
</field>
<field name="licencekeystatus" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
</table>
<table name="vte_links">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="linkid" type="I" size="11">
<KEY/>
</field>
<field name="tabid" type="I" size="11"/>
<field name="linktype" type="C" size="20"/>
<field name="linklabel" type="C" size="30"/>
<field name="linkurl" type="C" size="255"/>
<field name="linkicon" type="C" size="100"/>
<field name="sequence" type="I" size="11"/>
<field name="status" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="cond" type="C" size="200"/>
<field name="size" type="I" size="1">
<DEFAULT value="1"/>
</field>
<index name="link_tabidtype_idx">
<col>tabid</col>
<col>linktype</col>
</index>
</table>
<table name="vte_loginhistory">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="login_id" type="I" size="11">
<KEY/>
</field>
<field name="user_name" type="C" size="50">
<NOTNULL/>
</field>
<field name="user_ip" type="C" size="25">
<NOTNULL/>
</field>
<field name="type" type="C" size="15"/>
<field name="sessionid" type="C" size="63"/>
<field name="deviceid" type="C" size="63"/>
<field name="request_id" type="C" size="63"/>
<field name="last_activity" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="logout_time" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="login_time" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="status" type="C" size="25"/>
<index name="loginhistory_type_idx">
<col>type</col>
</index>
<index name="loginhistory_usertype_idx">
<col>user_name</col>
<col>type</col>
<col>status</col>
</index>
<index name="loginhistory_idx4">
<col>login_time</col>
</index>
<index name="loginhistory_idx5">
<col>status</col>
</index>
</table>
<table name="vte_mailscanner">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="scannerid" type="I" size="11">
<KEY/>
</field>
<field name="scannername" type="C" size="30"/>
<field name="server" type="C" size="100"/>
<field name="protocol" type="C" size="10"/>
<field name="username" type="C" size="255"/>
<field name="password" type="C" size="255"/>
<field name="ssltype" type="C" size="10"/>
<field name="sslmethod" type="C" size="30"/>
<field name="connecturl" type="C" size="255"/>
<field name="searchfor" type="C" size="10"/>
<field name="markas" type="C" size="10"/>
<field name="isvalid" type="I" size="1"/>
<field name="succ_moveto" type="C" size="100"/>
<field name="no_succ_moveto" type="C" size="100"/>
<field name="is_pec" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="imap_params" type="X"/>
</table>
<table name="vte_mailscanner_actions">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="actionid" type="I" size="11">
<KEY/>
</field>
<field name="scannerid" type="I" size="11"/>
<field name="actiontype" type="C" size="10"/>
<field name="module" type="C" size="30"/>
<field name="lookup" type="C" size="30"/>
<field name="sequence" type="I" size="11"/>
</table>
<table name="vte_mailscanner_folders">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="folderid" type="I" size="11">
<KEY/>
</field>
<field name="scannerid" type="I" size="11"/>
<field name="foldername" type="C" size="255"/>
<field name="lastscan" type="C" size="30"/>
<field name="rescan" type="I" size="1"/>
<field name="enabled" type="I" size="1"/>
<field name="spam" type="I" size="1">
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_mailscanner_ids">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="scannerid" type="I" size="11"/>
<field name="messageid" type="X"/>
<field name="crmid" type="I" size="11"/>
<field name="status" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="attempts" type="I" size="11">
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_mailscanner_ruleactions">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="ruleid" type="I" size="11"/>
<field name="actionid" type="I" size="11"/>
</table>
<table name="vte_mailscanner_rules">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="ruleid" type="I" size="11">
<KEY/>
</field>
<field name="scannerid" type="I" size="11"/>
<field name="fromaddress" type="C" size="255"/>
<field name="toaddress" type="C" size="255"/>
<field name="subjectop" type="C" size="20"/>
<field name="subject" type="C" size="255"/>
<field name="bodyop" type="C" size="20"/>
<field name="body" type="C" size="255"/>
<field name="matchusing" type="C" size="5"/>
<field name="sequence" type="I" size="11"/>
<field name="compare_parentid" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="match_field" type="C" size="50"/>
</table>
<table name="vte_mailscanner_spam">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="scannername" type="C" size="30">
<KEY/>
</field>
<field name="xuid" type="I" size="10">
<KEY/>
</field>
<field name="folder" type="C" size="255">
<KEY/>
</field>
<field name="spam_folder" type="C" size="255" />
</table>
<table name="vte_manufacturer">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="manufacturerid" type="I" size="19">
<KEY/>
</field>
<field name="manufacturer" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="manufacturer_idx">
<UNIQUE/>
<col>manufacturer</col>
</index>
</table>
<table name="vte_modentity_num">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="num_id" type="I" size="19">
<KEY/>
</field>
<field name="semodule" type="C" size="50">
<NOTNULL/>
</field>
<field name="prefix" type="C" size="50">
<NOTNULL/>
</field>
<field name="start_id" type="C" size="50">
<NOTNULL/>
</field>
<field name="cur_id" type="C" size="50">
<NOTNULL/>
</field>
<field name="active" type="I" size="1">
<NOTNULL/>
</field>
<index name="num_idx">
<UNIQUE/>
<col>num_id</col>
</index>
<index name="semodule_active_idx">
<col>semodule</col>
<col>active</col>
</index>
</table>
<table name="vte_moduleowners">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="tabid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="user_id" type="C" size="11">
<NOTNULL/>
</field>
<index name="moduleowners_tabid_usrid_idx">
<col>tabid</col>
<col>user_id</col>
</index>
</table>
<table name="vte_notes">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="notesid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="contact_id" type="I" size="19">
<DEFAULT value="0"/>
</field>
<field name="title" type="C" size="50">
<NOTNULL/>
</field>
<field name="filename" type="C" size="255"/>
<field name="notecontent" type="XL"/>
<field name="filetype" type="C" size="150"/>
<field name="filesize" type="N" size="10"/>
<field name="filedownloadcount" type="N" size="10"/>
<field name="fileversion" type="C" size="150"/>
<field name="folderid" type="N" size="10"/>
<field name="note_no" type="C" size="100"/>
<field name="filelocationtype" type="C" size="5"/>
<field name="backend_name" type="C" size="63"/>
<field name="filestatus" type="I" size="19"/>
<field name="active_portal" type="I" size="1">
<DEFAULT value="0"/>
</field>
<index name="notes_title_idx">
<col>title</col>
</index>
<index name="notes_notesid_idx">
<col>notesid</col>
</index>
<index name="notes_idx1">
<col>filename</col>
</index>
<index name="notes_idx2">
<col>folderid</col>
</index>
<index name="notes_idx3">
<col>filetype</col>
</index>
<index name="notes_idx4">
<col>filelocationtype</col>
</index>
<index name="notes_idx5">
<col>filedownloadcount</col>
</index>
</table>
<table name="vte_notescf">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="notesid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_notifyscheduler">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="schedulednotificationid" type="I" size="19">
<KEY/>
</field>
<field name="schedulednotificationname" type="C" size="200"/>
<field name="active" type="I" size="1"/>
<field name="notificationsubject" type="C" size="200"/>
<field name="notificationbody" type="XL"/>
<field name="label" type="C" size="50"/>
<field name="type" type="C" size="10"/>
<index name="notifyschedulername_idx">
<UNIQUE/>
<col>schedulednotificationname</col>
</index>
</table>
<table name="vte_opportunity_type">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="opptypeid" type="I" size="19">
<KEY/>
</field>
<field name="opportunity_type" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="opportunity_type_idx">
<UNIQUE/>
<col>opportunity_type</col>
</index>
</table>
<table name="vte_opportunitystage">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="potstageid" type="I" size="19">
<KEY/>
</field>
<field name="stage" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="probability" type="N" size="3.2">
<DEFAULT value="0"/>
</field>
<index name="opportunitystage_stage_idx">
<UNIQUE/>
<col>stage</col>
</index>
</table>
<table name="vte_org_share_act_mapping">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="share_action_id" type="I" size="19">
<KEY/>
</field>
<field name="share_action_name" type="C" size="200"/>
</table>
<table name="vte_org_share_action2tab">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="share_action_id" type="I" size="19">
<KEY/>
</field>
<field name="tabid" type="I" size="19">
<KEY/>
</field>
<index name="fk_2_vte_org_action2tab">
<col>tabid</col>
</index>
</table>
<table name="vte_organizationdetails">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="organizationid" type="I" size="5">
<KEY/>
</field>
<field name="organizationname" type="C" size="100"/>
<field name="address" type="C" size="150"/>
<field name="city" type="C" size="100"/>
<field name="state" type="C" size="100"/>
<field name="country" type="C" size="100"/>
<field name="code" type="C" size="30"/>
<field name="phone" type="C" size="30"/>
<field name="fax" type="C" size="30"/>
<field name="website" type="C" size="100"/>
<field name="logoname" type="C" size="50"/>
<field name="logo" type="X"/>
<field name="crmv_banking" type="C" size="100"/>
<field name="crmv_vat_registration_number" type="C" size="11"/>
<field name="crmv_rea" type="C" size="20"/>
<field name="crmv_issued_capital" type="C" size="20"/>
</table>
<table name="vte_ownernotify">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="crmid" type="I" size="19"/>
<field name="smownerid" type="I" size="19"/>
<field name="flag" type="I" size="3"/>
<index name="ownernotify_crmid_flag_idx">
<col>crmid</col>
<col>flag</col>
</index>
</table>
<table name="vte_parenttab">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="parenttabid" type="I" size="19">
<KEY/>
</field>
<field name="parenttab_label" type="C" size="100">
<NOTNULL/>
</field>
<field name="sequence" type="I" size="10">
<NOTNULL/>
</field>
<field name="visible" type="I" size="2">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="hidden" type="I" size="1">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="parenttab_label_visible_idx">
<col>parenttabid</col>
<col>parenttab_label</col>
<col>visible</col>
</index>
</table>
<table name="vte_parenttabrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="parenttabid" type="I" size="19">
<NOTNULL/>
</field>
<field name="tabid" type="I" size="19">
<NOTNULL/>
</field>
<field name="sequence" type="I" size="3">
<NOTNULL/>
</field>
<index name="parenttabrel_parenttabid_idx">
<col>tabid</col>
<col>parenttabid</col>
</index>
<index name="fk_2_vte_parenttabrel">
<col>parenttabid</col>
</index>
</table>
<table name="vte_payment_duration">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="payment_durationid" type="I" size="11">
<KEY/>
</field>
<field name="payment_duration" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="11"/>
<field name="presence" type="I" size="11">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
</table>
<table name="vte_picklist">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="picklistid" type="I" size="11">
<key />
</field>
<field name="name" type="C" size="200">
<notnull />
</field>
<index name="picklist_name_idx">
<col>name</col>
<unique />
</index>
</table>
<table name="vte_pobillads">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="pobilladdressid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="bill_city" type="C" size="30"/>
<field name="bill_code" type="C" size="30"/>
<field name="bill_country" type="C" size="30"/>
<field name="bill_state" type="C" size="30"/>
<field name="bill_street" type="C" size="250"/>
<field name="bill_pobox" type="C" size="30"/>
<index name="pobillads_idx1">
<col>bill_city</col>
</index>
<index name="pobillads_idx2">
<col>bill_code</col>
</index>
<index name="pobillads_idx3">
<col>bill_country</col>
</index>
<index name="pobillads_idx4">
<col>bill_state</col>
</index>
<index name="pobillads_idx5">
<col>bill_street</col>
</index>
<index name="pobillads_idx6">
<col>bill_pobox</col>
</index>
</table>
<table name="vte_portal">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="portalid" type="I" size="19">
<KEY/>
</field>
<field name="portalname" type="C" size="200">
<NOTNULL/>
</field>
<field name="portalurl" type="C" size="255">
<NOTNULL/>
</field>
<field name="sequence" type="I" size="3">
<NOTNULL/>
</field>
<field name="setdefault" type="I" size="3">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="portal_portalname_idx">
<col>portalname</col>
</index>
</table>
<table name="vte_poshipads">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="poshipaddressid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="ship_city" type="C" size="30"/>
<field name="ship_code" type="C" size="30"/>
<field name="ship_country" type="C" size="30"/>
<field name="ship_state" type="C" size="30"/>
<field name="ship_street" type="C" size="250"/>
<field name="ship_pobox" type="C" size="30"/>
<index name="poshipads_idx1">
<col>ship_city</col>
</index>
<index name="poshipads_idx2">
<col>ship_code</col>
</index>
<index name="poshipads_idx3">
<col>ship_country</col>
</index>
<index name="poshipads_idx4">
<col>ship_state</col>
</index>
<index name="poshipads_idx5">
<col>ship_street</col>
</index>
<index name="poshipads_idx6">
<col>ship_pobox</col>
</index>
</table>
<table name="vte_postatus">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="postatusid" type="I" size="19">
<KEY/>
</field>
<field name="postatus" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="postatus_postatus_idx">
<UNIQUE/>
<col>postatus</col>
</index>
</table>
<table name="vte_postatushistory">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="historyid" type="I" size="19">
<KEY/>
</field>
<field name="purchaseorderid" type="I" size="19">
<NOTNULL/>
</field>
<field name="vendorname" type="C" size="100"/>
<field name="total" type="N" size="10"/>
<field name="postatus" type="C" size="200"/>
<field name="lastmodified" type="T">
<NOTNULL/>
</field>
<index name="postatush_purchaseorderid_idx">
<col>purchaseorderid</col>
</index>
</table>
<table name="vte_potcompetitorrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="potentialid" type="I" size="19">
<KEY/>
</field>
<field name="competitorid" type="I" size="19">
<KEY/>
</field>
<index name="potcompetitorrel_potid_idx">
<col>potentialid</col>
</index>
<index name="potcompetitorrel_compid_idx">
<col>competitorid</col>
</index>
</table>
<table name="vte_potential">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="potentialid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="accountid" type="I" size="19"/>
<field name="potentialname" type="C" size="120">
<NOTNULL/>
</field>
<field name="amount" type="N" size="14.2">
<DEFAULT value="0"/>
</field>
<field name="description" type="XL" />
<field name="currency" type="C" size="20"/>
<field name="closingdate" type="D"/>
<field name="eff_closingdate" type="D"/>
<field name="typeofrevenue" type="C" size="50"/>
<field name="nextstep" type="C" size="100"/>
<field name="private" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="probability" type="N" size="7.3">
<DEFAULT value="0"/>
</field>
<field name="campaignid" type="I" size="19"/>
<field name="sales_stage" type="C" size="200"/>
<field name="potentialtype" type="C" size="200"/>
<field name="leadsource" type="C" size="200"/>
<field name="productid" type="I" size="50"/>
<field name="productversion" type="C" size="50"/>
<field name="quotationref" type="C" size="50"/>
<field name="partnercontact" type="C" size="50"/>
<field name="remarks" type="C" size="50"/>
<field name="runtimefee" type="I" size="19">
<DEFAULT value="0"/>
</field>
<field name="followupdate" type="D"/>
<field name="evaluationstatus" type="C" size="50"/>
<field name="description" type="X"/>
<field name="forecastcategory" type="I" size="19">
<DEFAULT value="0"/>
</field>
<field name="outcomeanalysis" type="I" size="19">
<DEFAULT value="0"/>
</field>
<field name="related_to" type="I" size="19"/>
<field name="potential_no" type="C" size="255"/>
<index name="potential_accountid_idx">
<col>accountid</col>
</index>
<index name="potential_potentialid_idx">
<col>potentialid</col>
</index>
<index name="potentail_sales_stage_idx">
<col>sales_stage</col>
</index>
<index name="potential_idx1">
<col>potential_no</col>
</index>
<index name="potential_idx2">
<col>related_to</col>
</index>
<index name="potential_idx3">
<col>potentialname</col>
</index>
<index name="potential_idx4">
<col>campaignid</col>
</index>
<index name="potential_idx5">
<col>leadsource</col>
</index>
<index name="potential_idx6">
<col>productid</col>
</index>
</table>
<table name="vte_potentialscf">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="potentialid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_potstagehistory">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="historyid" type="I" size="19">
<KEY/>
</field>
<field name="potentialid" type="I" size="19">
<NOTNULL/>
</field>
<field name="amount" type="N" size="14.2"/>
<field name="stage" type="C" size="100"/>
<field name="probability" type="N" size="7.3"/>
<field name="expectedrevenue" type="N" size="10"/>
<field name="closedate" type="D"/>
<field name="lastmodified" type="T">
<NOTNULL/>
</field>
<index name="potstagehistory_potid_idx">
<col>potentialid</col>
</index>
</table>
<table name="vte_potential_amounts">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="potentialid" type="I" size="19">
<NOTNULL/>
</field>
<field name="amountdate" type="T">
<NOTNULL/>
<DEFAULT value="0000-00-00 00:00:00" />
</field>
<field name="amount" type="N" size="14.2" />
<index name="pot_amounts_id_idx">
<col>potentialid</col>
</index>
</table>
<table name="vte_pricebook">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="pricebookid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="description" type="XL" />
<field name="bookname" type="C" size="100"/>
<field name="active" type="I" size="1"/>
<field name="description" type="X"/>
<field name="pricebook_no" type="C" size="255"/>
<field name="currency_id" type="I" size="19"/>
<field name="conversion_rate" type="N" size="10"/>
</table>
<table name="vte_pricebookcf">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="pricebookid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_pricebookproductrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="pbrelid" type="I" size="19">
<KEY/>
</field>
<field name="pricebookid" type="I" size="19">
<NOTNULL/>
</field>
<field name="productid" type="I" size="19">
<NOTNULL/>
</field>
<field name="listprice" type="N" size="25.3"/>
<field name="usedcurrency" type="I" size="11">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<index name="pbprodrel_pb_prod_idx">
<UNIQUE/>
<col>pricebookid</col>
<col>productid</col>
</index>
<index name="pricebookproductrel_prid_idx">
<col>productid</col>
</index>
</table>
<table name="vte_productcategory">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="productcategoryid" type="I" size="19">
<KEY/>
</field>
<field name="productcategory" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="productcategory_prdcat_idx">
<UNIQUE/>
<col>productcategory</col>
</index>
</table>
<table name="vte_productcf">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="productid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_productcollaterals">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="productid" type="I" size="11">
<KEY/>
</field>
<field name="date_entered" type="T">
<NOTNULL/>
</field>
<field name="data" type="B"/>
<field name="description" type="X"/>
<field name="filename" type="C" size="50"/>
<field name="filesize" type="C" size="50">
<NOTNULL/>
</field>
<field name="filetype" type="C" size="20">
<NOTNULL/>
</field>
<index name="productcollaterals_pidf_idx">
<col>productid</col>
<col>filename</col>
</index>
</table>
<table name="vte_productcurrencyrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="productid" type="I" size="11">
<KEY/>
</field>
<field name="currencyid" type="I" size="11">
<KEY/>
</field>
<field name="converted_price" type="N" size="25.3"/>
<field name="actual_price" type="N" size="25.3"/>
</table>
<table name="vte_products">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="productid" type="I" size="11">
<KEY/>
</field>
<field name="product_no" type="C" size="100"/>
<field name="productname" type="C" size="50">
<NOTNULL/>
</field>
<field name="description" type="XL" />
<field name="productcode" type="C" size="40"/>
<field name="upc_code" type="C" size="63"/>
<field name="productcategory" type="C" size="200"/>
<field name="manufacturer" type="C" size="200"/>
<field name="product_description" type="X"/>
<field name="qty_per_unit" type="N" size="11.2">
<DEFAULT value="0"/>
</field>
<field name="unit_price" type="N" size="25.2"/>
<field name="unit_cost" type="N" size="25.2"/>
<field name="weight" type="N" size="11.3"/>
<field name="pack_size" type="I" size="11"/>
<field name="sales_start_date" type="D"/>
<field name="sales_end_date" type="D"/>
<field name="start_date" type="D"/>
<field name="expiry_date" type="D"/>
<field name="cost_factor" type="I" size="11"/>
<field name="commissionrate" type="N" size="7.3"/>
<field name="commissionmethod" type="C" size="50"/>
<field name="discontinued" type="I" size="1">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="usageunit" type="C" size="200"/>
<field name="handler" type="I" size="11"/>
<field name="currency" type="C" size="200"/>
<field name="reorderlevel" type="I" size="11"/>
<field name="website" type="C" size="100"/>
<field name="taxclass" type="C" size="200"/>
<field name="mfr_part_no" type="C" size="200"/>
<field name="vendor_part_no" type="C" size="200"/>
<field name="serialno" type="C" size="200"/>
<field name="qtyinstock" type="N" size="25.3"/>
<field name="productsheet" type="C" size="200"/>
<field name="qtyindemand" type="I" size="11"/>
<field name="glacct" type="C" size="200"/>
<field name="vendor_id" type="I" size="11"/>
<field name="imagename" type="X"/>
<field name="associated" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="currency_id" type="I" size="19">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="confprodinfo" type="XL"/>
<index name="products_idx1">
<col>product_no</col>
</index>
<index name="products_idx2">
<col>productname</col>
</index>
<index name="products_idx3">
<col>productcode</col>
</index>
<index name="products_idx4">
<col>mfr_part_no</col>
</index>
<index name="products_idx5">
<col>vendor_part_no</col>
</index>
<index name="products_idx6">
<col>serialno</col>
</index>
<index name="products_idx7">
<col>vendor_id</col>
</index>
</table>
<table name="vte_producttaxrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="productid" type="I" size="11">
<NOTNULL/>
</field>
<field name="taxid" type="I" size="3">
<NOTNULL/>
</field>
<field name="taxpercentage" type="N" size="7.3"/>
<index name="producttaxrel_productid_idx">
<col>productid</col>
</index>
<index name="producttaxrel_taxid_idx">
<col>taxid</col>
</index>
</table>
<table name="vte_profile">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="profileid" type="I" size="10">
<KEY/>
</field>
<field name="profilename" type="C" size="50">
<NOTNULL/>
</field>
<field name="description" type="X"/>
<field name="mobile" type="I" size="1">
<DEFAULT value="0"/>
</field>
<index name="profile_idx1">
<col>profilename</col>
</index>
</table>
<table name="vte_profile2field">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="profileid" type="I" size="11">
<KEY/>
</field>
<field name="tabid" type="I" size="10"/>
<field name="fieldid" type="I" size="19">
<KEY/>
</field>
<field name="visible" type="I" size="19"/>
<field name="readonly" type="I" size="19"/>
<field name="sequence" type="I" size="19">
<DEFAULT value="0"/>
</field>
<field name="mandatory" type="I" size="1">
<DEFAULT value="1"/>
</field>
<index name="profile2field_pid_tabid_idx">
<col>profileid</col>
<col>tabid</col>
</index>
<index name="profile2field_tabid_pid_idx">
<col>tabid</col>
<col>profileid</col>
</index>
<index name="profile2field_visible_pid_idx">
<col>visible</col>
<col>profileid</col>
</index>
<index name="profile2field_idx1">
<col>readonly</col>
</index>
<index name="profile2field_idx2">
<col>fieldid</col>
</index>
<index name="profile2field_mandatory_idx">
<col>mandatory</col>
</index>
</table>
<table name="vte_profile2globalperm">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="profileid" type="I" size="19">
<KEY/>
</field>
<field name="globalactionid" type="I" size="19">
<KEY/>
</field>
<field name="globalactionpermission" type="I" size="19"/>
<index name="idx_profile2globalpermissions">
<col>profileid</col>
<col>globalactionid</col>
</index>
</table>
<table name="vte_profile2standardperm">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="profileid" type="I" size="11">
<KEY/>
</field>
<field name="tabid" type="I" size="10">
<KEY/>
</field>
<field name="Operation" type="I" size="10">
<KEY/>
</field>
<field name="permissions" type="I" size="1"/>
<index name="profile2standardperm_op_idx">
<col>profileid</col>
<col>tabid</col>
<col>Operation</col>
</index>
</table>
<table name="vte_profile2tab">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="profileid" type="I" size="11"/>
<field name="tabid" type="I" size="10"/>
<field name="permissions" type="I" size="10">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="profile2tab_pid_tabid_idx">
<col>profileid</col>
<col>tabid</col>
</index>
</table>
<table name="vte_profile2utility">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="profileid" type="I" size="11">
<KEY/>
</field>
<field name="tabid" type="I" size="11">
<KEY/>
</field>
<field name="activityid" type="I" size="11">
<KEY/>
</field>
<field name="permission" type="I" size="1"/>
<index name="profile2utility_pid_tabid_idx">
<col>profileid</col>
<col>tabid</col>
<col>activityid</col>
</index>
</table>
<table name="vte_profile2related">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="profileid" type="R" size="19">
<KEY/>
</field>
<field name="tabid" type="R" size="19">
<KEY/>
</field>
<field name="relationid" type="R" size="19">
<KEY/>
</field>
<field name="visible" type="I" size="1" />
<field name="sequence" type="I" size="11" />
<field name="actions" type="C" size="100" />
<index name="profile2related_prof_idx">
<col>profileid</col>
</index>
<index name="profile2related_proftab_idx">
<col>profileid</col>
<col>tabid</col>
</index>
<index name="profile2related_seq_idx">
<col>sequence</col>
</index>
</table>
<table name="vte_profile2entityname">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="profileid" type="R" size="19">
<KEY/>
</field>
<field name="tabid" type="R" size="19">
<KEY/>
</field>
<field name="fieldname" type="C" size="200" />
<index name="profile2ename_prof_idx">
<col>profileid</col>
</index>
</table>
<table name="vte_profile2mobile">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="profileid" type="R" size="19">
<KEY/>
</field>
<field name="tabid" type="R" size="19">
<KEY/>
</field>
<field name="cvid" type="I" size="19" />
<field name="sortfield" type="C" size="100" />
<field name="sortorder" type="C" size="32" />
<field name="extrafields" type="C" size="255" />
<field name="mobiletab" type="I" size="5" />
<index name="profile2mobile_prof_idx">
<col>profileid</col>
</index>
</table>
<table name="vte_purchaseorder">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="purchaseorderid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="description" type="XL" />
<field name="subject" type="C" size="100"/>
<field name="quoteid" type="I" size="19"/>
<field name="vendorid" type="I" size="19"/>
<field name="requisition_no" type="C" size="100"/>
<field name="tracking_no" type="C" size="100"/>
<field name="contactid" type="I" size="19"/>
<field name="duedate" type="D"/>
<field name="carrier" type="C" size="200"/>
<field name="type" type="C" size="100"/>
<field name="adjustment" type="N" size="25.3"/>
<field name="salescommission" type="N" size="25.3"/>
<field name="exciseduty" type="N" size="25.3"/>
<field name="total" type="N" size="25.3"/>
<field name="subtotal" type="N" size="25.3"/>
<field name="taxtype" type="C" size="25"/>
<field name="discount_percent" type="C" size="127"/>
<field name="discount_amount" type="C" size="255"/>
<field name="s_h_amount" type="N" size="25.3"/>
<field name="terms_conditions" type="X"/>
<field name="postatus" type="C" size="200"/>
<field name="purchaseorder_no" type="C" size="255"/>
<field name="currency_id" type="I" size="19">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="conversion_rate" type="N" size="10.3">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<index name="purchaseorder_vendorid_idx">
<col>vendorid</col>
</index>
<index name="purchaseorder_quoteid_idx">
<col>quoteid</col>
</index>
<index name="purchaseorder_contactid_idx">
<col>contactid</col>
</index>
</table>
<table name="vte_purchaseordercf">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="purchaseorderid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_quickview">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="fieldid" type="I" size="19">
<NOTNULL/>
</field>
<field name="related_fieldid" type="I" size="19">
<NOTNULL/>
</field>
<field name="sequence" type="I" size="19">
<NOTNULL/>
</field>
<field name="currentview" type="I" size="19">
<NOTNULL/>
</field>
<index name="fk_1_vte_quickview">
<col>fieldid</col>
</index>
</table>
<table name="vte_quotes">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="quoteid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="description" type="XL" />
<field name="subject" type="C" size="100"/>
<field name="potentialid" type="I" size="19"/>
<field name="quotestage" type="C" size="200"/>
<field name="validtill" type="D"/>
<field name="contactid" type="I" size="19"/>
<field name="currency" type="C" size="100"/>
<field name="subtotal" type="N" size="25.3"/>
<field name="carrier" type="C" size="200"/>
<field name="shipping" type="C" size="100"/>
<field name="inventorymanager" type="I" size="19"/>
<field name="type" type="C" size="100"/>
<field name="adjustment" type="N" size="25.3"/>
<field name="total" type="N" size="25.3"/>
<field name="taxtype" type="C" size="25"/>
<field name="discount_percent" type="C" size="127"/>
<field name="discount_amount" type="C" size="255"/>
<field name="s_h_amount" type="N" size="25.3"/>
<field name="accountid" type="I" size="19"/>
<field name="terms_conditions" type="X"/>
<field name="quote_no" type="C" size="255"/>
<field name="project" type="C" size="255"/>
<field name="bulk" type="C" size="255"/>
<field name="currency_id" type="I" size="19">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="conversion_rate" type="N" size="10.3">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<index name="quote_quotestage_idx">
<col>quotestage</col>
</index>
<index name="quotes_potentialid_idx">
<col>potentialid</col>
</index>
<index name="quotes_idx1">
<col>subject</col>
</index>
<index name="quotes_idx2">
<col>contactid</col>
</index>
<index name="quotes_idx3">
<col>quote_no</col>
</index>
<index name="quotes_idx4">
<col>accountid</col>
</index>
</table>
<table name="vte_quotesbillads">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="quotebilladdressid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="bill_city" type="C" size="30"/>
<field name="bill_code" type="C" size="30"/>
<field name="bill_country" type="C" size="30"/>
<field name="bill_state" type="C" size="30"/>
<field name="bill_street" type="C" size="250"/>
<field name="bill_pobox" type="C" size="30"/>
<index name="quotesbillads_idx1">
<col>bill_city</col>
</index>
<index name="quotesbillads_idx2">
<col>bill_code</col>
</index>
<index name="quotesbillads_idx3">
<col>bill_country</col>
</index>
<index name="quotesbillads_idx4">
<col>bill_state</col>
</index>
<index name="quotesbillads_idx5">
<col>bill_street</col>
</index>
<index name="quotesbillads_idx6">
<col>bill_pobox</col>
</index>
</table>
<table name="vte_quotescf">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="quoteid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_quotesshipads">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="quoteshipaddressid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="ship_city" type="C" size="30"/>
<field name="ship_code" type="C" size="30"/>
<field name="ship_country" type="C" size="30"/>
<field name="ship_state" type="C" size="30"/>
<field name="ship_street" type="C" size="250"/>
<field name="ship_pobox" type="C" size="30"/>
<index name="quotesshipads_idx1">
<col>ship_city</col>
</index>
<index name="quotesshipads_idx2">
<col>ship_code</col>
</index>
<index name="quotesshipads_idx3">
<col>ship_country</col>
</index>
<index name="quotesshipads_idx4">
<col>ship_state</col>
</index>
<index name="quotesshipads_idx5">
<col>ship_street</col>
</index>
<index name="quotesshipads_idx6">
<col>ship_pobox</col>
</index>
</table>
<table name="vte_quotestage">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="quotestageid" type="I" size="19">
<KEY/>
</field>
<field name="quotestage" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="quotestage_quotestage_idx">
<UNIQUE/>
<col>quotestage</col>
</index>
</table>
<table name="vte_quotestagehistory">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="historyid" type="I" size="19">
<KEY/>
</field>
<field name="quoteid" type="I" size="19">
<NOTNULL/>
</field>
<field name="accountname" type="C" size="100"/>
<field name="total" type="N" size="10"/>
<field name="quotestage" type="C" size="200"/>
<field name="lastmodified" type="T">
<NOTNULL/>
</field>
<index name="quotestagehistory_quoteid_idx">
<col>quoteid</col>
</index>
</table>
<table name="vte_rating">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="rating_id" type="I" size="19">
<KEY/>
</field>
<field name="rating" type="C" size="200"/>
<field name="PRESENCE" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_recurring_frequency">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="recurring_frequencyid" type="I" size="11">
<KEY/>
</field>
<field name="recurring_frequency" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="11"/>
<field name="presence" type="I" size="11">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
</table>
<table name="vte_recurringevents">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="recurringid" type="I" size="19">
<KEY/>
</field>
<field name="activityid" type="I" size="19">
<NOTNULL/>
</field>
<field name="recurringdate" type="D"/>
<field name="recurringtype" type="C" size="30"/>
<field name="recurringfreq" type="I" size="19"/>
<field name="recurringinfo" type="C" size="50"/>
<index name="fk_1_vte_recurringevents">
<col>activityid</col>
</index>
</table>
<table name="vte_recurringtype">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="recurringeventid" type="I" size="19">
<KEY/>
</field>
<field name="recurringtype" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<index name="recurringtype_status_idx">
<UNIQUE/>
<col>recurringtype</col>
</index>
</table>
<table name="vte_relatedlists">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="relation_id" type="I" size="19">
<KEY/>
</field>
<field name="tabid" type="I" size="10"/>
<field name="related_tabid" type="I" size="10"/>
<field name="name" type="C" size="100"/>
<field name="sequence" type="I" size="10"/>
<field name="label" type="C" size="100"/>
<field name="presence" type="I" size="10">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="actions" type="C" size="50"/>
<index name="relatedlists_relation_id_idx">
<col>relation_id</col>
</index>
<index name="relatedlists_idx1">
<col>tabid</col>
</index>
<index name="relatedlists_idx2">
<col>related_tabid</col>
</index>
<index name="relatedlists_idx3">
<col>name</col>
</index>
<index name="relatedlists_idx4">
<col>sequence</col>
</index>
<index name="relatedlists_idx5">
<col>label</col>
</index>
<index name="relatedlists_idx6">
<col>presence</col>
</index>
<index name="relatedlists_idx7">
<col>actions</col>
</index>
</table>
<table name="vte_relatedlists_pin">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<field name="relation_id" type="I" size="19">
<KEY/>
</field>
</table>
<table name="vte_relatedlists_rb">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="entityid" type="I" size="19"/>
<field name="action" type="C" size="50"/>
<field name="rel_table" type="C" size="200"/>
<field name="rel_column" type="C" size="200"/>
<field name="ref_column" type="C" size="200"/>
<field name="related_crm_ids" type="XL"/>
<index name="relatedlists_rb_idx1">
<col>entityid</col>
</index>
<index name="relatedlists_rb_idx2">
<col>action</col>
</index>
<index name="relatedlists_rb_idx3">
<col>rel_table</col>
</index>
<index name="relatedlists_rb_idx4">
<col>rel_column</col>
</index>
<index name="relatedlists_rb_idx5">
<col>ref_column</col>
</index>
</table>
<table name="vte_relatedlists_changes">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="relation_id" type="I" size="19">
<KEY/>
</field>
<field name="timestamp" type="T">
<default value="0000-00-00 00:00:00" />
</field>
<index name="rlistchange_time_idx">
<col>timestamp</col>
</index>
</table>
<table name="vte_reminder_interval">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="reminder_intervalid" type="I" size="19">
<KEY/>
</field>
<field name="reminder_interval" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
</field>
</table>
<table name="vte_report">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="reportid" type="I" size="19">
<KEY/>
</field>
<field name="folderid" type="I" size="19">
<NOTNULL/>
</field>
<field name="reportname" type="C" size="100"/>
<field name="description" type="C" size="250"/>
<field name="reporttype" type="C" size="50"/>
<field name="queryid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="state" type="C" size="50">
<DEFAULT value="SAVED"/>
</field>
<field name="customizable" type="I" size="1">
<DEFAULT value="1"/>
</field>
<field name="owner" type="I" size="11">
<DEFAULT value="1"/>
</field>
<field name="sharingtype" type="C" size="200">
<DEFAULT value="Private"/>
</field>
<index name="report_queryid_idx">
<col>queryid</col>
</index>
<index name="report_folderid_idx">
<col>folderid</col>
</index>
</table>
<table name="vte_reportconfig">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="reportid" type="I" size="19">
<key/>
</field>
<field name="module" type="C" size="63">
<NOTNULL/>
</field>
<field name="relations" type="XL" />
<field name="fields" type="XL" />
<field name="stdfilters" type="XL" />
<field name="advfilters" type="XL" />
<field name="clusters" type="XL" />
<field name="totals" type="XL" />
<field name="summary" type="XL" />
<field name="scheduling" type="XL" />
</table>
<table name="vte_report_stats">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="reportid" type="I" size="19">
<KEY/>
</field>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<field name="generatedtime" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="rows" type="I" size="19"/>
<index name="report_stats_user_idx">
<col>userid</col>
</index>
</table>
<table name="vte_report_scheduled">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="reportid" type="I" size="19">
<key/>
</field>
<field name="status" type="C" size="31">
<NOTNULL/>
</field>
<field name="last_execution" type="T">
<default value="0000-00-00 00:00:00"/>
</field>
<field name="next_execution" type="T">
<default value="0000-00-00 00:00:00"/>
</field>
<index name="rep_sched_status_idx">
<col>status</col>
</index>
<index name="rep_sched_next_ex_idx">
<col>next_execution</col>
</index>
</table>
<table name="vte_reportvisibility">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="filterid" type="I" size="19">
<NOTNULL/>
</field>
<field name="name" type="C" size="200">
<NOTNULL/>
</field>
</table>
<table name="vte_reportsharing">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="reportid" type="I" size="19">
<NOTNULL/>
</field>
<field name="shareid" type="I" size="19">
<NOTNULL/>
</field>
<field name="setype" type="C" size="200">
<NOTNULL/>
</field>
</table>
<table name="vte_revenuetype">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="revenuetypeid" type="I" size="19">
<KEY/>
</field>
<field name="revenuetype" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<index name="revenuetype_revenuetype_idx">
<UNIQUE/>
<col>revenuetype</col>
</index>
</table>
<table name="vte_role">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="roleid" type="C" size="255">
<KEY/>
</field>
<field name="rolename" type="C" size="200"/>
<field name="parentrole" type="C" size="255"/>
<field name="depth" type="I" size="19"/>
<index name="role_idx1">
<col>rolename</col>
</index>
<index name="role_idx2">
<col>parentrole</col>
</index>
</table>
<table name="vte_role2picklist">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="roleid" type="C" size="255">
<KEY/>
</field>
<field name="picklistvalueid" type="I" size="11">
<KEY/>
</field>
<field name="picklistid" type="I" size="11">
<KEY/>
</field>
<field name="sortid" type="I" size="11"/>
<index name="role2picklist_rlid_pckid_idx">
<col>roleid</col>
<col>picklistid</col>
<col>picklistvalueid</col>
</index>
<index name="fk_2_vte_role2picklist">
<col>picklistid</col>
</index>
</table>
<table name="vte_role2profile">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="roleid" type="C" size="255">
<KEY/>
</field>
<field name="profileid" type="I" size="11">
<KEY/>
</field>
<field name="mobile" type="I" size="1">
<KEY/>
<DEFAULT value="0"/>
</field>
<index name="role2profile_rlid_prfid_idx">
<col>roleid</col>
<col>profileid</col>
</index>
</table>
<table name="vte_rss">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="rssid" type="I" size="19">
<KEY/>
</field>
<field name="rssurl" type="C" size="200">
<NOTNULL/>
</field>
<field name="rsstitle" type="C" size="200"/>
<field name="rsstype" type="I" size="10">
<DEFAULT value="0"/>
</field>
<field name="starred" type="I" size="1">
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_sales_stage">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="sales_stage_id" type="I" size="19">
<KEY/>
</field>
<field name="sales_stage" type="C" size="200"/>
<field name="PRESENCE" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_salesmanactivityrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="smid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="activityid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<index name="salesmanactivityrel_actid_idx">
<col>activityid</col>
</index>
<index name="salesmanactivityrel_smid_idx">
<col>smid</col>
</index>
</table>
<table name="vte_salesmanattachmentsrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="smid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="attachmentsid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<index name="salesmanattrel_smid_idx">
<col>smid</col>
</index>
<index name="salesmanattrel_attid_idx">
<col>attachmentsid</col>
</index>
</table>
<table name="vte_salesmanticketrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="smid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="id" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<index name="salesmanticketrel_smid_idx">
<col>smid</col>
</index>
<index name="salesmanticketrel_id_idx">
<col>id</col>
</index>
</table>
<table name="vte_salesorder">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="salesorderid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="description" type="XL" />
<field name="subject" type="C" size="100"/>
<field name="potentialid" type="I" size="19"/>
<field name="customerno" type="C" size="100"/>
<field name="quoteid" type="I" size="19"/>
<field name="vendorterms" type="C" size="100"/>
<field name="contactid" type="I" size="19"/>
<field name="vendorid" type="I" size="19"/>
<field name="duedate" type="D"/>
<field name="carrier" type="C" size="200"/>
<field name="pending" type="C" size="200"/>
<field name="type" type="C" size="100"/>
<field name="adjustment" type="N" size="25.3"/>
<field name="salescommission" type="N" size="25.3"/>
<field name="exciseduty" type="N" size="25.3"/>
<field name="total" type="N" size="25.3"/>
<field name="subtotal" type="N" size="25.3"/>
<field name="taxtype" type="C" size="25"/>
<field name="discount_percent" type="C" size="127"/>
<field name="discount_amount" type="C" size="255"/>
<field name="s_h_amount" type="N" size="25.3"/>
<field name="accountid" type="I" size="19"/>
<field name="terms_conditions" type="X"/>
<field name="purchaseorder" type="C" size="200"/>
<field name="sostatus" type="C" size="200"/>
<field name="salesorder_no" type="C" size="255"/>
<field name="project" type="C" size="255"/>
<field name="bulk" type="C" size="255"/>
<field name="currency_id" type="I" size="19">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="conversion_rate" type="N" size="10.3">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="enable_recurring" type="I" size="11"/>
<index name="salesorder_vendorid_idx">
<col>vendorid</col>
</index>
<index name="salesorder_contactid_idx">
<col>contactid</col>
</index>
<index name="salesorder_idx1">
<col>subject</col>
</index>
<index name="salesorder_idx2">
<col>potentialid</col>
</index>
<index name="salesorder_idx3">
<col>customerno</col>
</index>
<index name="salesorder_idx4">
<col>salesorder_no</col>
</index>
<index name="salesorder_idx5">
<col>quoteid</col>
</index>
<index name="salesorder_idx6">
<col>accountid</col>
</index>
</table>
<table name="vte_salesordercf">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="salesorderid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_salutationtype">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="salutationid" type="I" size="19">
<KEY/>
</field>
<field name="salutationtype" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_seactivityrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="crmid" type="I" size="19">
<KEY/>
</field>
<field name="activityid" type="I" size="19">
<KEY/>
</field>
<index name="seactivityrel_activityid_idx">
<col>activityid</col>
</index>
<index name="seactivityrel_crmid_idx">
<col>crmid</col>
</index>
<index name="seactivityrel_inversekey_idx">
<col>activityid</col>
<col>crmid</col>
</index>
</table>
<table name="vte_seattachmentsrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="crmid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="attachmentsid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<index name="seattrel_attachmentsid_idx">
<col>attachmentsid</col>
</index>
<index name="seattachmentsrel_crmid_idx">
<col>crmid</col>
</index>
<index name="seattrel_attid_crmid_idx">
<col>attachmentsid</col>
<col>crmid</col>
</index>
</table>
<table name="vte_senotesrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="crmid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="notesid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="relmodule" type="C" size="63" />
<index name="senotesrel_notesid_idx">
<col>notesid</col>
</index>
<index name="senotesrel_crmid_idx">
<col>crmid</col>
</index>
<index name="senotesrel_relmodule_idx">
<col>relmodule</col>
</index>
</table>
<table name="vte_seproductsrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="crmid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="productid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="setype" type="C" size="30">
<NOTNULL/>
</field>
<index name="seproductsrel_productid_idx">
<col>productid</col>
</index>
<index name="seproductrel_crmid_idx">
<col>crmid</col>
</index>
</table>
<table name="vte_seticketsrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="crmid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="ticketid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<index name="seticketsrel_crmid_idx">
<col>crmid</col>
</index>
<index name="seticketsrel_ticketid_idx">
<col>ticketid</col>
</index>
</table>
<table name="vte_settings_blocks">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="blockid" type="I" size="19">
<KEY/>
</field>
<field name="label" type="C" size="250"/>
<field name="sequence" type="I" size="19"/>
<field name="image" type="C" size="100"/>
</table>
<table name="vte_settings_field">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="fieldid" type="I" size="19">
<KEY/>
</field>
<field name="blockid" type="I" size="19"/>
<field name="name" type="C" size="250"/>
<field name="iconpath" type="C" size="300"/>
<field name="description" type="X"/>
<field name="linkto" type="X"/>
<field name="sequence" type="I" size="19"/>
<field name="active" type="I" size="19">
<DEFAULT value="0"/>
</field>
<index name="fk_1_vte_settings_field">
<col>blockid</col>
</index>
</table>
<table name="vte_sharedcalendar">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<field name="sharedid" type="I" size="19">
<KEY/>
</field>
<field name="only_occ" type="I" size="1">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_activity_organizer">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="activityid" type="I" size="19">
<KEY/>
</field>
<field name="userid" type="I" size="19" />
<field name="contactid" type="I" size="19" />
<field name="email" type="C" size="100" />
<index name="activity_org_userid">
<col>userid</col>
</index>
<index name="activity_org_contactid">
<col>contactid</col>
</index>
<index name="activity_org_email">
<col>email</col>
</index>
</table>
<table name="vte_shippingtaxinfo">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="taxid" type="I" size="3">
<KEY/>
</field>
<field name="taxname" type="C" size="50"/>
<field name="taxlabel" type="C" size="50"/>
<field name="percentage" type="N" size="7.3"/>
<field name="deleted" type="I" size="1"/>
<index name="shippingtaxinfo_taxname_idx">
<col>taxname</col>
</index>
</table>
<table name="vte_soapservice">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19"/>
<field name="type" type="C" size="25"/>
<field name="sessionid" type="C" size="100"/>
</table>
<table name="vte_soapws_operation">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="operationid" type="I" size="19">
<KEY/>
</field>
<field name="name" type="C" size="63">
<NOTNULL/>
</field>
<field name="handler_path" type="C" size="255">
<NOTNULL/>
</field>
<field name="handler_class" type="C" size="63">
<NOTNULL/>
</field>
<field name="return_type" type="C" size="255">
<NOTNULL/>
</field>
</table>
<table name="vte_soapws_operation_params">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="operationid" type="I" size="19">
<KEY/>
</field>
<field name="name" type="C" size="63">
<KEY/>
</field>
<field name="param_type" type="C" size="255">
<NOTNULL/>
</field>
<field name="sequence" type="I" size="5"/>
</table>
<table name="vte_sobillads">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="sobilladdressid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="bill_city" type="C" size="30"/>
<field name="bill_code" type="C" size="30"/>
<field name="bill_country" type="C" size="30"/>
<field name="bill_state" type="C" size="30"/>
<field name="bill_street" type="C" size="250"/>
<field name="bill_pobox" type="C" size="30"/>
<index name="sobillads_idx1">
<col>bill_city</col>
</index>
<index name="sobillads_idx2">
<col>bill_code</col>
</index>
<index name="sobillads_idx3">
<col>bill_country</col>
</index>
<index name="sobillads_idx4">
<col>bill_state</col>
</index>
<index name="sobillads_idx5">
<col>bill_street</col>
</index>
<index name="sobillads_idx6">
<col>bill_pobox</col>
</index>
</table>
<table name="vte_soshipads">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="soshipaddressid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="ship_city" type="C" size="30"/>
<field name="ship_code" type="C" size="30"/>
<field name="ship_country" type="C" size="30"/>
<field name="ship_state" type="C" size="30"/>
<field name="ship_street" type="C" size="250"/>
<field name="ship_pobox" type="C" size="30"/>
<index name="soshipads_idx1">
<col>ship_city</col>
</index>
<index name="soshipads_idx2">
<col>ship_code</col>
</index>
<index name="soshipads_idx3">
<col>ship_country</col>
</index>
<index name="soshipads_idx4">
<col>ship_state</col>
</index>
<index name="soshipads_idx5">
<col>ship_street</col>
</index>
<index name="soshipads_idx6">
<col>ship_pobox</col>
</index>
</table>
<table name="vte_sostatus">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="sostatusid" type="I" size="19">
<KEY/>
</field>
<field name="sostatus" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="sostatus_sostatus_idx">
<UNIQUE/>
<col>sostatus</col>
</index>
</table>
<table name="vte_sostatushistory">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="historyid" type="I" size="19">
<KEY/>
</field>
<field name="salesorderid" type="I" size="19">
<NOTNULL/>
</field>
<field name="accountname" type="C" size="100"/>
<field name="total" type="N" size="10"/>
<field name="sostatus" type="C" size="200"/>
<field name="lastmodified" type="T">
<NOTNULL/>
</field>
<index name="sostatushistory_sid_idx">
<col>salesorderid</col>
</index>
</table>
<table name="vte_status">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="statusid" type="I" size="19">
<KEY/>
</field>
<field name="status" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_systems">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19">
<KEY/>
</field>
<field name="server" type="C" size="100"/>
<field name="server_port" type="I" size="19"/>
<field name="server_username" type="C" size="100"/>
<field name="server_password" type="C" size="500"/>
<field name="server_type" type="C" size="20"/>
<field name="smtp_auth" type="C" size="5"/>
<field name="service_type" type="C" size="20"/>
<field name="domain" type="C" size="20"/>
<field name="account" type="C" size="100"/>
<field name="prefix" type="C" size="20"/>
<field name="name" type="C" size="50"/>
<field name="inc_call" type="B"/>
<field name="server_path" type="C" size="256"/>
<field name="ssl_tls" type="C" size="5"/>
</table>
<table name="vte_tab">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="tabid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="name" type="C" size="25">
<NOTNULL/>
</field>
<field name="presence" type="I" size="19">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="tabsequence" type="I" size="10"/>
<field name="tablabel" type="C" size="25">
<NOTNULL/>
</field>
<field name="modifiedby" type="I" size="19"/>
<field name="modifiedtime" type="I" size="19"/>
<field name="customized" type="I" size="19"/>
<field name="ownedby" type="I" size="19"/>
<field name="isentitytype" type="I" size="11">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="version" type="C" size="10"/>
<index name="tab_name_idx">
<UNIQUE/>
<col>name</col>
</index>
<index name="tab_modifiedby_idx">
<col>modifiedby</col>
</index>
<index name="tab_tabid_idx">
<col>tabid</col>
</index>
<index name="tab_idx1">
<col>tabsequence</col>
</index>
</table>
<table name="vte_tab_info">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="tabid" type="I" size="19">
<KEY/>
</field>
<field name="prefname" type="C" size="63">
<KEY/>
</field>
<field name="prefvalue" type="C" size="255"/>
</table>
<table name="vte_tab_versions">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="11">
<key/>
</field>
<field name="tabid" type="I" size="19"/>
<field name="version" type="C" size="10"/>
<field name="createdtime" type="T">
<default value="0000-00-00 00:00:00"/>
</field>
<field name="createdby" type="I" size="19"/>
<field name="modifiedtime" type="T">
<default value="0000-00-00 00:00:00"/>
</field>
<field name="modifiedby" type="I" size="19"/>
<field name="closed" type="I" size="1">
<notnull/>
<default value="0"/>
</field>
<field name="xml" type="XL"/>
<index name="idx_tab_version">
<col>tabid</col>
<col>version</col>
</index>
</table>
<table name="vte_tab_versions_import">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="tabid" type="I" size="19">
<key/>
</field>
<field name="version" type="C" size="10">
<key/>
</field>
<field name="sequence" type="I" size="10"/>
<field name="xml" type="XL"/>
<field name="status" type="C" size="10"/>
</table>
<table name="vte_tab_versions_rel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19">
<key/>
</field>
<field name="metalogid" type="I" size="19">
<key/>
</field>
</table>
<table name="vte_taskpriority">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="taskpriorityid" type="I" size="19">
<KEY/>
</field>
<field name="taskpriority" type="C" size="200"/>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_taskstatus">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="taskstatusid" type="I" size="19">
<KEY/>
</field>
<field name="taskstatus" type="C" size="200"/>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="history" type="I" size="1">
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_taxclass">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="taxclassid" type="I" size="19">
<KEY/>
</field>
<field name="taxclass" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<index name="taxclass_carrier_idx">
<UNIQUE/>
<col>taxclass</col>
</index>
</table>
<table name="vte_ticketcategories">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="ticketcategories_id" type="I" size="19">
<KEY/>
</field>
<field name="ticketcategories" type="C" size="200"/>
<field name="PRESENCE" type="I" size="1">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_ticketcf">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="ticketid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_ticketcomments">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="commentid" type="I" size="19">
<KEY/>
</field>
<field name="ticketid" type="I" size="19"/>
<field name="comments" type="X"/>
<field name="ownerid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="ownertype" type="C" size="10"/>
<field name="createdtime" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="conf_status" type="I" size="5"/>
<field name="conf_password" type="C" size="255"/>
<field name="conf_data" type="X" />
<index name="ticketcomments_ticketid_idx">
<col>ticketid</col>
</index>
<index name="ticketcomments_idx1">
<col>ownerid</col>
</index>
<index name="ticketcomments_idx2">
<col>ownertype</col>
</index>
<index name="ticketcomments_idx3">
<col>createdtime</col>
</index>
</table>
<table name="vte_ticketpriorities">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="ticketpriorities_id" type="I" size="19">
<KEY/>
</field>
<field name="ticketpriorities" type="C" size="200"/>
<field name="PRESENCE" type="I" size="1">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_ticketseverities">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="ticketseverities_id" type="I" size="19">
<KEY/>
</field>
<field name="ticketseverities" type="C" size="200"/>
<field name="PRESENCE" type="I" size="1">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_ticketstatus">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="ticketstatus_id" type="I" size="19">
<KEY/>
</field>
<field name="ticketstatus" type="C" size="200"/>
<field name="PRESENCE" type="I" size="1">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_ticketstracktime">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="ticket_id" type="I" size="11">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="supporter_id" type="I" size="11">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="minutes" type="I" size="11">
<DEFAULT value="0"/>
</field>
<field name="date_logged" type="I" size="11">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="ticketstracktm_ticket_id_idx">
<col>ticket_id</col>
</index>
</table>
<table name="vte_tmp_read_g_per">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="11">
<KEY/>
</field>
<field name="tabid" type="I" size="11">
<KEY/>
</field>
<field name="sharedgroupid" type="I" size="11">
<KEY/>
</field>
<index name="tmp_read_g_per_uid_shuid_idx">
<col>userid</col>
<col>sharedgroupid</col>
</index>
</table>
<table name="vte_tmp_read_g_rel_per">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="11">
<KEY/>
</field>
<field name="tabid" type="I" size="11">
<KEY/>
</field>
<field name="relatedtabid" type="I" size="11">
<KEY/>
</field>
<field name="sharedgroupid" type="I" size="11">
<KEY/>
</field>
<index name="tmp_read_g_rel_per_uid_shgid">
<col>userid</col>
<col>sharedgroupid</col>
<col>tabid</col>
</index>
</table>
<table name="vte_tmp_read_u_per">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="11">
<KEY/>
</field>
<field name="tabid" type="I" size="11">
<KEY/>
</field>
<field name="shareduserid" type="I" size="11">
<KEY/>
</field>
<index name="tmp_read_u_per_uid_shid_idx">
<col>userid</col>
<col>shareduserid</col>
</index>
</table>
<table name="vte_tmp_read_u_rel_per">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="11">
<KEY/>
</field>
<field name="tabid" type="I" size="11">
<KEY/>
</field>
<field name="relatedtabid" type="I" size="11">
<KEY/>
</field>
<field name="shareduserid" type="I" size="11">
<KEY/>
</field>
<index name="tmp_read_u_rel_uid_tid_idx">
<col>userid</col>
<col>shareduserid</col>
<col>relatedtabid</col>
</index>
</table>
<table name="vte_tmp_write_g_per">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="11">
<KEY/>
</field>
<field name="tabid" type="I" size="11">
<KEY/>
</field>
<field name="sharedgroupid" type="I" size="11">
<KEY/>
</field>
<index name="tmp_write_g_per_UK1">
<col>userid</col>
<col>sharedgroupid</col>
</index>
</table>
<table name="vte_tmp_write_g_rel_per">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="11">
<KEY/>
</field>
<field name="tabid" type="I" size="11">
<KEY/>
</field>
<field name="relatedtabid" type="I" size="11">
<KEY/>
</field>
<field name="sharedgroupid" type="I" size="11">
<KEY/>
</field>
<index name="tmp_write_g_rel_uid_shuid_idx">
<col>userid</col>
<col>sharedgroupid</col>
<col>tabid</col>
</index>
</table>
<table name="vte_tmp_write_u_per">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="11">
<KEY/>
</field>
<field name="tabid" type="I" size="11">
<KEY/>
</field>
<field name="shareduserid" type="I" size="11">
<KEY/>
</field>
<index name="tmp_write_u_uid_shuid_idx">
<col>userid</col>
<col>shareduserid</col>
</index>
</table>
<table name="vte_tmp_write_u_rel_per">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="11">
<KEY/>
</field>
<field name="tabid" type="I" size="11">
<KEY/>
</field>
<field name="relatedtabid" type="I" size="11">
<KEY/>
</field>
<field name="shareduserid" type="I" size="11">
<KEY/>
</field>
<index name="tmp_write_u_uid_shuidr_idx">
<col>userid</col>
<col>shareduserid</col>
<col>tabid</col>
</index>
</table>
<table name="vte_tmp_recalc">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19">
<key/>
</field>
<field name="operation" type="C" size="31">
<NOTNULL/>
</field>
<field name="status" type="C" size="31" />
<field name="running" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="starttime" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="endtime" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<index name="tmp_recalc_opstatus">
<col>operation</col>
<col>status</col>
</index>
</table>
<table name="vte_tracker">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="11">
<KEY/>
</field>
<field name="user_id" type="I" size="19"/>
<field name="module_name" type="C" size="25"/>
<field name="item_id" type="I" size="19"/>
<field name="item_summary" type="C" size="255"/>
<index name="tracker_idx1">
<col>user_id</col>
</index>
<index name="tracker_idx2">
<col>module_name</col>
</index>
<index name="tracker_idx3">
<col>item_id</col>
</index>
<index name="tracker_idx4">
<col>item_summary</col>
</index>
</table>
<table name="vte_troubletickets">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="ticketid" type="I" size="19">
<KEY/>
</field>
<field name="description" type="XL" />
<field name="groupname" type="C" size="100"/>
<field name="parent_id" type="I" size="19"/>
<field name="product_id" type="I" size="19"/>
<field name="priority" type="C" size="200"/>
<field name="severity" type="C" size="200"/>
<field name="status" type="C" size="200"/>
<field name="category" type="C" size="200"/>
<field name="title" type="C" size="255">
<NOTNULL/>
</field>
<field name="filename" type="C" size="50"/>
<field name="solution" type="X"/>
<field name="version_id" type="I" size="11"/>
<field name="expiry_date" type="D"/>
<field name="ticket_no" type="C" size="255"/>
<field name="hours" type="N" size="5.2" />
<field name="days" type="N" size="5.2" />
<field name="projectplanid" type="I" size="19" />
<field name="projecttaskid" type="I" size="19" />
<field name="mailscanner_action" type="I" size="10" />
<field name="signature" type="C" size="255" />
<index name="troubletickets_status_idx">
<col>status</col>
</index>
<index name="troubletickets_idx1">
<col>ticket_no</col>
</index>
<index name="troubletickets_idx2">
<col>parent_id</col>
</index>
<index name="troubletickets_idx3">
<col>product_id</col>
</index>
<index name="troubletickets_idx4">
<col>groupname</col>
</index>
<index name="troubletickets_idx5">
<col>priority</col>
</index>
<index name="troubletickets_idx6">
<col>severity</col>
</index>
<index name="troubletickets_idx7">
<col>title</col>
</index>
</table>
<table name="vte_usageunit">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="usageunitid" type="I" size="19">
<KEY/>
</field>
<field name="usageunit" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="usageunit_usageunit_idx">
<UNIQUE/>
<col>usageunit</col>
</index>
</table>
<table name="vte_user2mergefields">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="11"/>
<field name="tabid" type="I" size="19"/>
<field name="fieldid" type="I" size="19"/>
<field name="visible" type="I" size="2"/>
<index name="userid_tabid_idx">
<col>userid</col>
<col>tabid</col>
</index>
</table>
<table name="vte_user2role">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="11">
<KEY/>
</field>
<field name="roleid" type="C" size="255">
<NOTNULL/>
</field>
<index name="user2role_roleid_idx">
<col>roleid</col>
</index>
</table>
<table name="vte_users">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="11">
<KEY/>
</field>
<field name="user_name" type="C" size="255"/>
<field name="user_password" type="C" size="128"/>
<field name="user_hash" type="C" size="32"/>
<field name="cal_color" type="C" size="12"/>
<field name="first_name" type="C" size="30"/>
<field name="last_name" type="C" size="30"/>
<field name="reports_to_id" type="I" size="19"/>
<field name="is_admin" type="C" size="3">
<DEFAULT value="0"/>
</field>
<field name="currency_id" type="I" size="19">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="description" type="X"/>
<field name="date_entered" type="T"/>
<field name="date_modified" type="T"/>
<field name="modified_user_id" type="C" size="36"/>
<field name="title" type="C" size="50"/>
<field name="department" type="C" size="50"/>
<field name="phone_home" type="C" size="50"/>
<field name="phone_mobile" type="C" size="50"/>
<field name="phone_work" type="C" size="50"/>
<field name="phone_other" type="C" size="50"/>
<field name="phone_fax" type="C" size="50"/>
<field name="email1" type="C" size="100"/>
<field name="email2" type="C" size="100"/>
<field name="yahoo_id" type="C" size="100"/>
<field name="status" type="C" size="25"/>
<field name="address_street" type="C" size="150"/>
<field name="address_city" type="C" size="100"/>
<field name="address_state" type="C" size="100"/>
<field name="address_country" type="C" size="25"/>
<field name="address_postalcode" type="C" size="9"/>
<field name="user_preferences" type="X"/>
<field name="tz" type="C" size="30"/>
<field name="holidays" type="C" size="60"/>
<field name="namedays" type="C" size="60"/>
<field name="workdays" type="C" size="30"/>
<field name="holiday_countries" type="C" size="255"/>
<field name="weekstart" type="I" size="11">
<DEFAULT value="1"/>
</field>
<field name="date_format" type="C" size="200"/>
<field name="hour_format" type="C" size="30">
<DEFAULT value="am/pm"/>
</field>
<field name="start_hour" type="C" size="30">
<DEFAULT value="10:00"/>
</field>
<field name="end_hour" type="C" size="30">
<DEFAULT value="23:00"/>
</field>
<field name="homeorder" type="C" size="255">
<DEFAULT value="HDB,ALVT,PLVT,QLTQ,CVLVT,HLT,OLV,GRT,OLTSO,ILTI,MNL,OLTPO,LTFAQ"/>
</field>
<field name="activity_view" type="C" size="200">
<DEFAULT value="Today"/>
</field>
<field name="lead_view" type="C" size="200">
<DEFAULT value="Today"/>
</field>
<field name="imagename" type="C" size="250"/>
<field name="avatar" type="C" size="255"/>
<field name="deleted" type="I" size="1">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="defhomeview" type="C" size="100"/>
<field name="confirm_password" type="C" size="128"/>
<field name="internal_mailer" type="C" size="3">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="crypt_type" type="C" size="20">
<NOTNULL/>
<DEFAULT value="BLOWFISH"/>
</field>
<field name="is_mobileuser" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="use_ldap" type="I" size="1"/>
<field name="reminder_interval" type="C" size="100">
<NOTNULL/>
</field>
<field name="reminder_next_time" type="C" size="100"/>
<field name="accesskey" type="C" size="36"/>
<field name="no_week_sunday" type="C" size="100"/>
<field name="menu_view" type="C" size="255"/>
<field name="default_module" type="C" size="255"/>
<field name="default_language" type="C" size="255"/>
<field name="default_theme" type="C" size="255"/>
<field name="dark_mode" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="allow_generic_talks" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="receive_public_talks" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="notify_me_via" type="C" size="255"/>
<field name="user_timezone" type="C" size="255"/>
<field name="notify_summary" type="C" size="255"/>
<field name="enable_activesync" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="decimal_separator" type="C" size="8">
<DEFAULT value="."/>
</field>
<field name="thousands_separator" type="C" size="8">
<DEFAULT value=""/>
</field>
<field name="decimals_num" type="I" size="4">
<DEFAULT value="2"/>
</field>
<index name="user_user_name_idx">
<col>user_name</col>
</index>
<index name="user_user_password_idx">
<col>user_password</col>
</index>
<index name="users_idx1">
<col>first_name</col>
</index>
<index name="users_idx2">
<col>last_name</col>
</index>
<index name="users_idx3">
<col>reports_to_id</col>
</index>
<index name="users_idx4">
<col>is_admin</col>
</index>
<index name="users_status_idx">
<col>status</col>
</index>
</table>
<table name="vte_users2group">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="groupid" type="I" size="19">
<KEY/>
</field>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<index name="users2group_grpname_uerid_idx">
<col>groupid</col>
<col>userid</col>
</index>
<index name="fk_2_vte_users2group">
<col>userid</col>
</index>
</table>
<table name="vte_users_last_import">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="36">
<KEY/>
</field>
<field name="assigned_user_id" type="C" size="36"/>
<field name="bean_type" type="C" size="36"/>
<field name="bean_id" type="I" size="19"/>
<field name="deleted" type="I" size="1">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="idx_user_id">
<col>assigned_user_id</col>
</index>
</table>
<table name="vte_users_search_tab">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<field name="tabid" type="I" size="19">
<KEY/>
</field>
</table>
<table name="vte_usertype">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="usertypeid" type="I" size="19">
<KEY/>
</field>
<field name="usertype" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<index name="usertype_usertype_idx">
<UNIQUE/>
<col>usertype</col>
</index>
</table>
<table name="vte_vendor">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="vendorid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="description" type="XL" />
<field name="vendorname" type="C" size="100"/>
<field name="phone" type="C" size="100"/>
<field name="email" type="C" size="100"/>
<field name="website" type="C" size="100"/>
<field name="glacct" type="C" size="200"/>
<field name="category" type="C" size="50"/>
<field name="street" type="X"/>
<field name="city" type="C" size="30"/>
<field name="state" type="C" size="30"/>
<field name="pobox" type="C" size="30"/>
<field name="postalcode" type="C" size="100"/>
<field name="country" type="C" size="100"/>
<field name="description" type="X"/>
<field name="vendor_no" type="C" size="255"/>
<field name="fax" type="C" size="255"/>
</table>
<table name="vte_vendorcf">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="vendorid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_vendorcontactrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="vendorid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<field name="contactid" type="I" size="19">
<KEY/>
<DEFAULT value="0"/>
</field>
<index name="vendorcontactrel_vendorid_idx">
<col>vendorid</col>
</index>
<index name="vendorcontactrel_contact_idx">
<col>contactid</col>
</index>
</table>
<table name="vte_version">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="11">
<KEY/>
</field>
<field name="old_version" type="C" size="30"/>
<field name="current_version" type="C" size="30"/>
<field name="enterprise_project" type="C" size="100"/>
<field name="hash_version" type="XL"/>
<field name="license_info" type="C" size="500"/>
</table>
<table name="vte_visibility">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="visibilityid" type="I" size="19">
<KEY/>
</field>
<field name="visibility" type="C" size="200">
<NOTNULL/>
</field>
<field name="sortorderid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<index name="visibility_visibility_idx">
<UNIQUE/>
<col>visibility</col>
</index>
</table>
<table name="vte_ws_entity">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="11">
<KEY/>
</field>
<field name="name" type="C" size="25">
<NOTNULL/>
</field>
<field name="handler_path" type="C" size="255">
<NOTNULL/>
</field>
<field name="handler_class" type="C" size="64">
<NOTNULL/>
</field>
<field name="ismodule" type="I" size="3">
<NOTNULL/>
</field>
</table>
<table name="vte_ws_entity_fieldtype">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="fieldtypeid" type="I" size="19">
<KEY/>
</field>
<field name="table_name" type="C" size="50">
<NOTNULL/>
</field>
<field name="field_name" type="C" size="50">
<NOTNULL/>
</field>
<field name="fieldtype" type="C" size="200">
<NOTNULL/>
</field>
<index name="vte_idx_1_tblname_fldname">
<UNIQUE/>
<col>table_name</col>
<col>field_name</col>
</index>
</table>
<table name="vte_ws_entity_name">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="entity_id" type="I" size="11">
<KEY/>
</field>
<field name="name_fields" type="C" size="50">
<NOTNULL/>
</field>
<field name="index_field" type="C" size="50">
<NOTNULL/>
</field>
<field name="table_name" type="C" size="50">
<NOTNULL/>
</field>
</table>
<table name="vte_ws_entity_referencetype">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="fieldtypeid" type="I" size="19">
<KEY/>
</field>
<field name="type" type="C" size="25">
<KEY/>
</field>
</table>
<table name="vte_ws_entity_tables">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="webservice_entity_id" type="I" size="11">
<KEY/>
</field>
<field name="table_name" type="C" size="50">
<KEY/>
</field>
</table>
<table name="vte_ws_fieldtype">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="fieldtypeid" type="I" size="19">
<KEY/>
</field>
<field name="uitype" type="I" size="19">
<NOTNULL/>
</field>
<field name="fieldtype" type="C" size="200">
<NOTNULL/>
</field>
<index name="uitype_idx">
<UNIQUE/>
<col>uitype</col>
</index>
</table>
<table name="vte_ws_operation">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="operationid" type="I" size="11">
<KEY/>
</field>
<field name="name" type="C" size="128">
<NOTNULL/>
</field>
<field name="handler_path" type="C" size="255">
<NOTNULL/>
</field>
<field name="handler_method" type="C" size="64">
<NOTNULL/>
</field>
<field name="type" type="C" size="8">
<NOTNULL/>
</field>
<field name="prelogin" type="I" size="3">
<NOTNULL/>
</field>
<field name="rest_name" type="C" size="50"/>
</table>
<table name="vte_ws_operation_parameters">
<opt platform="mysql">ENGINE=InnoDB </opt>
<field name="operationid" type="I" size="11">
<KEY/>
</field>
<field name="name" type="C" size="128">
<KEY/>
</field>
<field name="type" type="C" size="64">
<NOTNULL/>
</field>
<field name="sequence" type="I" size="11">
<NOTNULL/>
</field>
</table>
<table name="vte_ws_referencetype">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="fieldtypeid" type="I" size="19">
<KEY/>
</field>
<field name="type" type="C" size="25">
<KEY/>
</field>
<index name="ws_referencetype_fieldtypeid_idx">
<col>fieldtypeid</col>
</index>
</table>
<table name="vte_ws_userauthtoken">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<field name="token" type="C" size="36">
<KEY/>
</field>
<field name="expiretime" type="I" size="19">
<KEY/>
</field>
</table>
<table name="vte_import_maps">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19">
<key />
</field>
<field name="name" type="C" size="36">
<notnull />
</field>
<field name="module" type="C" size="36">
<notnull />
</field>
<field name="content" type="XL" />
<field name="defaults" type="X" />
<field name="formats" type="X" />
<field name="has_header" type="I" size="1">
<notnull />
<default value="1" />
</field>
<field name="deleted" type="I" size="1">
<notnull />
<default value="0" />
</field>
<field name="date_entered" type="T">
<notnull />
<deftimestamp />
</field>
<field name="date_modified" type="T">
<notnull />
<deftimestamp />
</field>
<field name="assigned_user_id" type="C" size="36" />
<field name="is_published" type="C" size="3">
<notnull />
<default value="no" />
</field>
<index name="im_usr_mod_nam_del_idx">
<col>assigned_user_id</col>
<col>module</col>
<col>name</col>
<col>deleted</col>
</index>
</table>
<table name="vte_import_queue">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="importid" type="I" size="11">
<KEY/>
</field>
<field name="userid" type="I" size="11">
<notnull />
</field>
<field name="tabid" type="I" size="11">
<notnull />
</field>
<field name="field_mapping" type="X"/>
<field name="default_values" type="X"/>
<field name="fields_formats" type="X"/>
<field name="merge_type" type="I" size="11"/>
<field name="merge_fields" type="X"/>
<field name="status" type="I" size="11">
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_portalinfo">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="11">
<key />
</field>
<field name="user_name" type="C" size="50" />
<field name="user_password" type="C" size="255" />
<field name="user_hash" type="C" size="100" />
<field name="type" type="C" size="5" />
<field name="last_login_time" type="T" />
<field name="login_time" type="T" />
<field name="logout_time" type="T" />
<field name="isactive" type="I" size="1" />
<index name="portalinfo_idx1">
<col>user_name</col>
</index>
<index name="portalinfo_idx2">
<col>user_password</col>
</index>
<index name="portalinfo_idx3">
<col>type</col>
</index>
<index name="portalinfo_idx4">
<col>login_time</col>
</index>
<index name="portalinfo_idx5">
<col>logout_time</col>
</index>
</table>
<table name="vte_faxdetails">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="faxid" type="I" size="19">
<KEY/>
</field>
<field name="from_number" type="C" size="50"/>
<field name="to_number" type="X"/>
<field name="assigned_user_number" type="C" size="50"/>
<field name="idlists" type="C" size="50">
<NOTNULL/>
</field>
<field name="fax_flag" type="C" size="50">
<NOTNULL/>
</field>
</table>
<table name="vte_smsdetails">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="smsid" type="I" size="19">
<KEY/>
</field>
<field name="from_number" type="C" size="50"/>
<field name="to_number" type="X"/>
<field name="assigned_user_number" type="C" size="50"/>
<field name="idlists" type="C" size="50">
<NOTNULL/>
</field>
<field name="sms_flag" type="C" size="50">
<NOTNULL/>
</field>
</table>
<table name="vte_currencies">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="currencyid" type="I" size="19">
<KEY/>
</field>
<field name="currency_name" type="C" size="200"/>
<field name="currency_code" type="C" size="50"/>
<field name="currency_symbol" type="C" size="20"/>
<data>
<row><f>1</f><f>Albania, Leke</f><f>ALL</f><f>Lek</f></row>
<row><f>2</f><f>Argentina, Pesos</f><f>ARS</f><f>$</f></row>
<row><f>3</f><f>Aruba, Guilders</f><f>AWG</f><f><![CDATA[ƒ]]></f></row>
<row><f>4</f><f>Australia, Dollars</f><f>AUD</f><f>$</f></row>
<row><f>5</f><f>Azerbaijan, New Manats</f><f>AZN</f><f><![CDATA[ман]]></f></row>
<row><f>6</f><f>Bahamas, Dollars</f><f>BSD</f><f>$</f></row>
<row><f>7</f><f>Bahrain, Dinar</f><f>BHD</f><f>BD</f></row>
<row><f>8</f><f>Barbados, Dollars</f><f>BBD</f><f>$</f></row>
<row><f>9</f><f>Belarus, Rubles</f><f>BYR</f><f>p.</f></row>
<row><f>10</f><f>Belize, Dollars</f><f>BZD</f><f>BZ$</f></row>
<row><f>11</f><f>Bermuda, Dollars</f><f>BMD</f><f>$</f></row>
<row><f>12</f><f>Bolivia, Bolivianos</f><f>BOB</f><f>$b</f></row>
<row><f>13</f><f>China, Yuan Renminbi</f><f>CNY</f><f><![CDATA[¥]]></f></row>
<row><f>14</f><f>Convertible Marka</f><f>BAM</f><f>KM</f></row>
<row><f>15</f><f>Botswana, Pulas</f><f>BWP</f><f>P</f></row>
<row><f>16</f><f>Bulgaria, Leva</f><f>BGN</f><f><![CDATA[лв]]></f></row>
<row><f>17</f><f>Brazil, Reais</f><f>BRL</f><f>R$</f></row>
<row><f>18</f><f>Great Britain Pounds</f><f>GBP</f><f><![CDATA[£]]></f></row>
<row><f>19</f><f>Brunei Darussalam, Dollars</f><f>BND</f><f>$</f></row>
<row><f>20</f><f>Canada, Dollars</f><f>CAD</f><f>$</f></row>
<row><f>21</f><f>Cayman Islands, Dollars</f><f>KYD</f><f>$</f></row>
<row><f>22</f><f>Chile, Pesos</f><f>CLP</f><f>$</f></row>
<row><f>23</f><f>Colombia, Pesos</f><f>COP</f><f>$</f></row>
<row><f>24</f><f><![CDATA[Costa Rica, Colón]]></f><f>CRC</f><f><![CDATA[₡]]></f></row>
<row><f>25</f><f>Croatia, Kuna</f><f>HRK</f><f>kn</f></row>
<row><f>26</f><f>Cuba, Pesos</f><f>CUP</f><f><![CDATA[₱]]></f></row>
<row><f>27</f><f>Czech Republic, Koruny</f><f>CZK</f><f><![CDATA[Kč]]></f></row>
<row><f>28</f><f>Cyprus, Pounds</f><f>CYP</f><f><![CDATA[£]]></f></row>
<row><f>29</f><f>Denmark, Kroner</f><f>DKK</f><f>kr</f></row>
<row><f>30</f><f>Dominican Republic, Pesos</f><f>DOP</f><f>RD$</f></row>
<row><f>31</f><f>East Caribbean, Dollars</f><f>XCD</f><f>$</f></row>
<row><f>32</f><f>Egypt, Pounds</f><f>EGP</f><f><![CDATA[£]]></f></row>
<row><f>33</f><f><![CDATA[El Salvador, Colón]]></f><f>SVC</f><f><![CDATA[₡]]></f></row>
<row><f>34</f><f>England, Pounds</f><f>GBP</f><f><![CDATA[£]]></f></row>
<row><f>35</f><f>Estonia, Krooni</f><f>EEK</f><f>kr</f></row>
<row><f>36</f><f>Euro</f><f>EUR</f><f><![CDATA[€]]></f></row>
<row><f>37</f><f>Falkland Islands, Pounds</f><f>FKP</f><f><![CDATA[£]]></f></row>
<row><f>38</f><f>Fiji, Dollars</f><f>FJD</f><f>$</f></row>
<row><f>39</f><f>Ghana, Cedis</f><f>GHC</f><f><![CDATA[¢]]></f></row>
<row><f>40</f><f>Gibraltar, Pounds</f><f>GIP</f><f><![CDATA[£]]></f></row>
<row><f>41</f><f>Guatemala, Quetzales</f><f>GTQ</f><f>Q</f></row>
<row><f>42</f><f>Guernsey, Pounds</f><f>GGP</f><f><![CDATA[£]]></f></row>
<row><f>43</f><f>Guyana, Dollars</f><f>GYD</f><f>$</f></row>
<row><f>44</f><f>Honduras, Lempiras</f><f>HNL</f><f>L</f></row>
<row><f>45</f><f>LvHong Kong, Dollars </f><f>HKD</f><f>HK$</f></row>
<row><f>46</f><f>Hungary, Forint</f><f>HUF</f><f>Ft</f></row>
<row><f>47</f><f>Iceland, Krona</f><f>ISK</f><f>kr</f></row>
<row><f>48</f><f>India, Rupees</f><f>INR</f><f><![CDATA[₨]]></f></row>
<row><f>49</f><f>Indonesia, Rupiahs</f><f>IDR</f><f>Rp</f></row>
<row><f>50</f><f>Iran, Rials</f><f>IRR</f><f><![CDATA[﷼]]></f></row>
<row><f>51</f><f>Isle of Man, Pounds</f><f>IMP</f><f><![CDATA[£]]></f></row>
<row><f>52</f><f>Israel, New Shekels</f><f>ILS</f><f><![CDATA[₪]]></f></row>
<row><f>53</f><f>Jamaica, Dollars</f><f>JMD</f><f>J$</f></row>
<row><f>54</f><f>Japan, Yen</f><f>JPY</f><f><![CDATA[¥]]></f></row>
<row><f>55</f><f>Jersey, Pounds</f><f>JEP</f><f><![CDATA[£]]></f></row>
<row><f>56</f><f>Jordan, Dinar</f><f>JOD</f><f>JOD</f></row>
<row><f>57</f><f>Kazakhstan, Tenge</f><f>KZT</f><f><![CDATA[〒]]></f></row>
<row><f>58</f><f>Kenya, Shilling</f><f>KES</f><f>KES</f></row>
<row><f>59</f><f>Korea (North), Won</f><f>KPW</f><f><![CDATA[₩]]></f></row>
<row><f>60</f><f>Korea (South), Won</f><f>KRW</f><f><![CDATA[₩]]></f></row>
<row><f>61</f><f>Kuwait, Dinar</f><f>KWD</f><f>KWD</f></row>
<row><f>62</f><f>Kyrgyzstan, Soms</f><f>KGS</f><f><![CDATA[лв]]></f></row>
<row><f>63</f><f>Laos, Kips</f><f>LAK</f><f><![CDATA[₭]]></f></row>
<row><f>64</f><f>Latvia, Lati</f><f>LVL</f><f>Ls</f></row>
<row><f>65</f><f>Lebanon, Pounds</f><f>LBP</f><f><![CDATA[£]]></f></row>
<row><f>66</f><f>Liberia, Dollars</f><f>LRD</f><f>$</f></row>
<row><f>67</f><f>Switzerland Francs</f><f>CHF</f><f>CHF</f></row>
<row><f>68</f><f>Lithuania, Litai</f><f>LTL</f><f>Lt</f></row>
<row><f>69</f><f>MADAGASCAR, Malagasy Ariary</f><f>MGA</f><f>MGA</f></row>
<row><f>70</f><f>Macedonia, Denars</f><f>MKD</f><f><![CDATA[ден]]></f></row>
<row><f>71</f><f>Malaysia, Ringgits</f><f>MYR</f><f>RM</f></row>
<row><f>72</f><f>Malta, Liri</f><f>MTL</f><f><![CDATA[₤]]></f></row>
<row><f>73</f><f>Mauritius, Rupees</f><f>MUR</f><f><![CDATA[₨]]></f></row>
<row><f>74</f><f>Mexico, Pesos</f><f>MXN</f><f>$</f></row>
<row><f>75</f><f>Mongolia, Tugriks</f><f>MNT</f><f><![CDATA[₮]]></f></row>
<row><f>76</f><f>Mozambique, Meticais</f><f>MZN</f><f>MT</f></row>
<row><f>77</f><f>Namibia, Dollars</f><f>NAD</f><f>$</f></row>
<row><f>78</f><f>Nepal, Rupees</f><f>NPR</f><f><![CDATA[₨]]></f></row>
<row><f>79</f><f>Netherlands Antilles, Guilders</f><f>ANG</f><f><![CDATA[ƒ]]></f></row>
<row><f>80</f><f>New Zealand, Dollars</f><f>NZD</f><f>$</f></row>
<row><f>81</f><f>Nicaragua, Cordobas</f><f>NIO</f><f>C$</f></row>
<row><f>82</f><f>Nigeria, Nairas</f><f>NGN</f><f><![CDATA[₦]]></f></row>
<row><f>83</f><f>North Korea, Won</f><f>KPW</f><f><![CDATA[₩]]></f></row>
<row><f>84</f><f>Norway, Krone</f><f>NOK</f><f>kr</f></row>
<row><f>85</f><f>Oman, Rials</f><f>OMR</f><f><![CDATA[﷼]]></f></row>
<row><f>86</f><f>Pakistan, Rupees</f><f>PKR</f><f><![CDATA[₨]]></f></row>
<row><f>87</f><f>Panama, Balboa</f><f>PAB</f><f>B/.</f></row>
<row><f>88</f><f>Paraguay, Guarani</f><f>PYG</f><f>Gs</f></row>
<row><f>89</f><f>Peru, Nuevos Soles</f><f>PEN</f><f>S/.</f></row>
<row><f>90</f><f>Philippines, Pesos</f><f>PHP</f><f>Php</f></row>
<row><f>91</f><f>Poland, Zlotych</f><f>PLN</f><f><![CDATA[zł]]></f></row>
<row><f>92</f><f>Qatar, Rials</f><f>QAR</f><f><![CDATA[﷼]]></f></row>
<row><f>93</f><f>Romania, New Lei</f><f>RON</f><f>lei</f></row>
<row><f>94</f><f>Russia, Rubles</f><f>RUB</f><f><![CDATA[руб]]></f></row>
<row><f>95</f><f>Saint Helena, Pounds</f><f>SHP</f><f><![CDATA[£]]></f></row>
<row><f>96</f><f>Saudi Arabia, Riyals</f><f>SAR</f><f><![CDATA[﷼]]></f></row>
<row><f>97</f><f>Serbia, Dinars</f><f>RSD</f><f><![CDATA[Дин.]]></f></row>
<row><f>98</f><f>Seychelles, Rupees</f><f>SCR</f><f><![CDATA[₨]]></f></row>
<row><f>99</f><f>Singapore, Dollars</f><f>SGD</f><f>$</f></row>
<row><f>100</f><f>Solomon Islands, Dollars</f><f>SBD</f><f>$</f></row>
<row><f>101</f><f>Somalia, Shillings</f><f>SOS</f><f>S</f></row>
<row><f>102</f><f>South Africa, Rand</f><f>ZAR</f><f>R</f></row>
<row><f>103</f><f>South Korea, Won</f><f>KRW</f><f><![CDATA[₩]]></f></row>
<row><f>104</f><f>Sri Lanka, Rupees</f><f>LKR</f><f><![CDATA[₨]]></f></row>
<row><f>105</f><f>Sweden, Kronor</f><f>SEK</f><f>kr</f></row>
<row><f>106</f><f>Switzerland, Francs</f><f>CHF</f><f>CHF</f></row>
<row><f>107</f><f>Suriname, Dollars</f><f>SRD</f><f>$</f></row>
<row><f>108</f><f>Syria, Pounds</f><f>SYP</f><f><![CDATA[£]]></f></row>
<row><f>109</f><f>Taiwan, New Dollars</f><f>TWD</f><f>NT$</f></row>
<row><f>110</f><f>Thailand, Baht</f><f>THB</f><f><![CDATA[฿]]></f></row>
<row><f>111</f><f>Trinidad and Tobago, Dollars</f><f>TTD</f><f>TT$</f></row>
<row><f>112</f><f>Turkey, New Lira</f><f>TRY</f><f>YTL</f></row>
<row><f>113</f><f>Turkey, Liras</f><f>TRL</f><f><![CDATA[₤]]></f></row>
<row><f>114</f><f>Tuvalu, Dollars</f><f>TVD</f><f>$</f></row>
<row><f>115</f><f>Ukraine, Hryvnia</f><f>UAH</f><f><![CDATA[₴]]></f></row>
<row><f>116</f><f>United Arab Emirates, Dirham</f><f>AED</f><f>AED</f></row>
<row><f>117</f><f>United Kingdom, Pounds</f><f>GBP</f><f><![CDATA[£]]></f></row>
<row><f>118</f><f>United Republic of Tanzania, Shilling</f><f>TZS</f><f>TZS</f></row>
<row><f>119</f><f>USA, Dollars</f><f>USD</f><f>$</f></row>
<row><f>120</f><f>Uruguay, Pesos</f><f>UYU</f><f>$U</f></row>
<row><f>121</f><f>Uzbekistan, Sums</f><f>UZS</f><f><![CDATA[лв]]></f></row>
<row><f>122</f><f>Venezuela, Bolivares Fuertes</f><f>VEF</f><f>Bs</f></row>
<row><f>123</f><f>Vietnam, Dong</f><f>VND</f><f><![CDATA[₫]]></f></row>
<row><f>124</f><f>Zambia, Kwacha</f><f>ZMK</f><f>ZMK</f></row>
<row><f>125</f><f>Yemen, Rials</f><f>YER</f><f><![CDATA[﷼]]></f></row>
<row><f>126</f><f>Zimbabwe Dollars</f><f>ZWD</f><f>Z$</f></row>
</data>
</table>
<table name="crmv_inventorytoacc">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="accountid" type="R" size="19">
<KEY/>
</field>
<field name="sorderid" type="R" size="19">
<KEY/>
</field>
<field name="id" type="R" size="19">
<KEY/>
</field>
<field name="type" type="C" size="255"/>
</table>
<table name="tbl_s_showncalendar">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="R" size="19">
<KEY/>
</field>
<field name="shownid" type="C" size="255">
<KEY/>
</field>
<field name="selected" type="I" size="1">
<DEFAULT value="0"/>
</field>
</table>
<table name="tbl_s_calendar_resources">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="R" size="19">
<KEY/>
</field>
<field name="shownid" type="C" size="255">
<KEY/>
</field>
</table>
<table name="tbl_s_cal_color">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="10">
<KEY/>
</field>
<field name="color" type="C" size="255"/>
<data>
<row><f>1</f><f>2bbeb12bbeb1</f></row>
<row><f>2</f><f>58efff58efff</f></row>
<row><f>3</f><f>94e49794e497</f></row>
<row><f>4</f><f>5f7dff5f7dff</f></row>
<row><f>5</f><f>697bdc697bdc</f></row>
<row><f>6</f><f>8b9ae98b9ae9</f></row>
<row><f>7</f><f>95cbff95cbff</f></row>
<row><f>8</f><f>a5bcc8a5bcc8</f></row>
<row><f>9</f><f>78ffc878ffc8</f></row>
<row><f>10</f><f>b5b429b5b429</f></row>
<row><f>11</f><f>93e9e193e9e1</f></row>
<row><f>12</f><f>a5e8ffa5e8ff</f></row>
<row><f>13</f><f>c9cf31c9cf31</f></row>
<row><f>14</f><f>c8f494c8f494</f></row>
<row><f>15</f><f>ccffffccffff</f></row>
<row><f>16</f><f>cdb4fbcdb4fb</f></row>
<row><f>17</f><f>dce83adce83a</f></row>
<row><f>18</f><f>ccfffbccfffb</f></row>
<row><f>19</f><f>e2e8ffe2e8ff</f></row>
<row><f>20</f><f>eca9f8eca9f8</f></row>
<row><f>21</f><f>f7eae6f7eae6</f></row>
<row><f>22</f><f>ffb800ffb800</f></row>
<row><f>23</f><f>f0e1fff0e1ff</f></row>
<row><f>24</f><f>fdff86fdff86</f></row>
<row><f>25</f><f>ff49ffff49ff</f></row>
<row><f>26</f><f>d9d9d9d9d9d9</f></row>
<row><f>27</f><f>ff921aff921a</f></row>
<row><f>28</f><f>ffea93ffea93</f></row>
<row><f>29</f><f>e0e0e0e0e0e0</f></row>
<row><f>30</f><f>ff4d3eff4d3e</f></row>
<row><f>31</f><f>ebfd41ebfd41</f></row>
<row><f>32</f><f>ff8484ff8484</f></row>
<row><f>33</f><f>ffae00ffae00</f></row>
<row><f>34</f><f>ffdd08ffdd08</f></row>
<row><f>35</f><f>e8e0ebe8e0eb</f></row>
<row><f>36</f><f>ffff65ffff65</f></row>
<row><f>37</f><f>ffd7efffd7ef</f></row>
<row><f>38</f><f>ffffe0ffffe0</f></row>
<row><f>39</f><f>ff93c4ff93c4</f></row>
<row><f>40</f><f>ffb1b1ffb1b1</f></row>
<row><f>41</f><f>ffffccffffcc</f></row>
<row><f>42</f><f>ff93ffff93ff</f></row>
<row><f>43</f><f>ffd258ffd258</f></row>
<row><f>44</f><f>ff5f5cff5f5c</f></row>
<row><f>45</f><f>fff45afff45a</f></row>
<row><f>46</f><f>ffffb4ffffb4</f></row>
<row><f>47</f><f>ffff94ffff94</f></row>
<row><f>48</f><f>ff5e5eff5e5e</f></row>
<row><f>49</f><f>ff5e5eff5e5e</f></row>
<row><f>50</f><f>ffd7efffd7ef</f></row>
<row><f>51</f><f>ffe4feffe4fe</f></row>
<row><f>52</f><f>ffff00ffff00</f></row>
</data>
</table>
<table name="vte_menu_view">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="menu_viewid" type="I" size="19">
<KEY/>
</field>
<field name="menu_view" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="menu_view_idx">
<UNIQUE/>
<col>menu_view</col>
</index>
</table>
<table name="vte_home_iframe">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="hometype" type="C" size="30">
<KEY/>
</field>
<field name="url" type="C" size="255">
<KEY/>
</field>
<data>
<row><f>HELPVTE</f><f>https://help-vtecrm-com.vtecrm.net/index.php?lang=$CURRENT_LANGUAGE$</f></row>
<row><f>CRMVNEWS</f><f>https://help-vtecrm-com.vtecrm.net/news/index.php?lang=$CURRENT_LANGUAGE$</f></row>
</data>
</table>
<table name="vte_invitees_con">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="activityid" type="I" size="19">
<KEY/>
</field>
<field name="inviteeid" type="I" size="19">
<KEY/>
</field>
<field name="partecipation" type="I" size="1">
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_turbolift_count">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<field name="relation_id" type="I" size="19">
<KEY/>
</field>
<field name="tabid" type="I" size="19">
<KEY/>
</field>
<field name="tb_count" type="I" size="19">
<DEFAULT value="0"/>
</field>
</table>
<table name="vte_listview_check">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<field name="tabid" type="I" size="19">
<KEY/>
</field>
<field name="crmid" type="i" size="19">
<KEY/>
</field>
</table>
<table name="vte_userauthtoken">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="type" type="C" size="50">
<KEY/>
</field>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<field name="token" type="C" size="36"/>
<field name="expiretime" type="I" size="19"/>
</table>
<table name="vte_hide_tab">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="tabid" type="I" size="19">
<KEY/>
</field>
<field name="hide_module_manager" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="hide_profile" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="hide_report" type="I" size="1">
<DEFAULT value="0"/>
</field>
<data>
<row><f>1</f><f>1</f><f>1</f><f>1</f></row>
</data>
</table>
<table name="vte_favorites">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<field name="crmid" type="I" size="19">
<KEY/>
</field>
<field name="module" type="C" size="100"/>
</table>
<table name="vte_check_pwd">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<field name="last_login" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="last_change_pwd" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
</table>
<table name="vte_modcomments_users">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19">
<KEY/>
</field>
<field name="user" type="I" size="19">
<KEY/>
</field>
<index name="user_id_idx">
<col>user</col>
<col>id</col>
</index>
</table>
<table name="vte_notifications">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19">
<KEY/>
</field>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<field name="type" type="C" size="100">
<KEY/>
</field>
<field name="forced" type="I" size="1">
<DEFAULT value="0"/>
</field>
<index name="NewIndex1">
<col>id</col>
</index>
<index name="NewIndex2">
<col>userid</col>
</index>
</table>
<table name="vte_notify_me_via">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="notify_me_viaid" type="I" size="19">
<KEY/>
</field>
<field name="notify_me_via" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="notify_me_via_idx">
<UNIQUE/>
<col>notify_me_via</col>
</index>
</table>
<table name="vte_user_timezone">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="user_timezoneid" type="I" size="19">
<KEY/>
</field>
<field name="user_timezone" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="user_timezone_idx">
<UNIQUE/>
<col>user_timezone</col>
</index>
</table>
<table name="vte_decimal_separator">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="decimal_separatorid" type="I" size="19">
<KEY/>
</field>
<field name="decimal_separator" type="C" size="100">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="decimal_separator_idx">
<UNIQUE/>
<col>decimal_separator</col>
</index>
</table>
<table name="vte_thousands_separator">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="thousands_separatorid" type="I" size="19">
<KEY/>
</field>
<field name="thousands_separator" type="C" size="100">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="thousands_separator_idx">
<UNIQUE/>
<col>thousands_separator</col>
</index>
</table>
<table name="vte_notify_summary">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="notify_summaryid" type="I" size="19">
<KEY/>
</field>
<field name="notify_summary" type="C" size="200">
<NOTNULL/>
</field>
<field name="presence" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="picklist_valueid" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<index name="notify_summary_idx">
<UNIQUE/>
<col>notify_summary</col>
</index>
</table>
<table name="vte_modnot_follow_cv">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="cvid" type="I" size="19">
<KEY/>
</field>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<field name="count" type="I" size="19"/>
<field name="modifiedtime" type="T"/>
<field name="last_processed" type="T"/>
<index name="cvid_idx">
<col>cvid</col>
</index>
<index name="userid_idx">
<col>userid</col>
</index>
</table>
<table name="vte_rep_count_liv1">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="reportid" type="I" size="19">
<NOTNULL/>
</field>
<field name="userid" type="I" size="19">
<NOTNULL/>
</field>
<field name="id_liv1" type="I" size="19">
<KEY/>
</field>
<field name="value_liv1" type="C" size="255"/>
<field name="count_liv1" type="I" size="19"/>
<field name="formula1_sum" type="N" size="15.3"/>
<field name="formula1_avg" type="N" size="15.3"/>
<field name="formula1_min" type="N" size="15.3"/>
<field name="formula1_max" type="N" size="15.3"/>
<index name="vte_rep_count_liv1_idx_1">
<col>reportid</col>
<col>userid</col>
</index>
</table>
<table name="vte_rep_count_liv2">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="reportid" type="I" size="19">
<NOTNULL/>
</field>
<field name="userid" type="I" size="19">
<NOTNULL/>
</field>
<field name="id_liv1" type="I" size="19"/>
<field name="id_liv2" type="I" size="19">
<KEY/>
</field>
<field name="value_liv2" type="C" size="255"/>
<field name="count_liv2" type="I" size="19"/>
<field name="formula2_sum" type="N" size="15.3"/>
<field name="formula2_avg" type="N" size="15.3"/>
<field name="formula2_min" type="N" size="15.3"/>
<field name="formula2_max" type="N" size="15.3"/>
<index name="vte_rep_count_liv2_idx_1">
<col>reportid</col>
<col>userid</col>
</index>
<index name="rep_count_levs2_idx">
<col>id_liv1</col>
</index>
</table>
<table name="vte_rep_count_liv3">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="reportid" type="I" size="19">
<NOTNULL/>
</field>
<field name="userid" type="I" size="19">
<NOTNULL/>
</field>
<field name="id_liv1" type="I" size="19"/>
<field name="id_liv2" type="I" size="19"/>
<field name="id_liv3" type="I" size="19">
<KEY/>
</field>
<field name="value_liv3" type="C" size="255"/>
<field name="count_liv3" type="I" size="19"/>
<field name="formula3_sum" type="N" size="15.3"/>
<field name="formula3_avg" type="N" size="15.3"/>
<field name="formula3_min" type="N" size="15.3"/>
<field name="formula3_max" type="N" size="15.3"/>
<index name="vte_rep_count_liv3_idx_1">
<col>reportid</col>
<col>userid</col>
</index>
<index name="rep_count_levs3_idx">
<col>id_liv1</col>
<col>id_liv2</col>
</index>
</table>
<table name="vte_rep_count_liv4">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="reportid" type="I" size="19">
<NOTNULL/>
</field>
<field name="userid" type="I" size="19">
<NOTNULL/>
</field>
<field name="id_liv1" type="I" size="19"/>
<field name="id_liv2" type="I" size="19"/>
<field name="id_liv3" type="I" size="19"/>
<field name="id_liv4" type="I" size="19">
<KEY/>
</field>
<field name="value_liv4" type="C" size="255"/>
<field name="count_liv4" type="I" size="19"/>
<field name="formula4_sum" type="N" size="15.3"/>
<field name="formula4_avg" type="N" size="15.3"/>
<field name="formula4_min" type="N" size="15.3"/>
<field name="formula4_max" type="N" size="15.3"/>
<index name="vte_rep_count_liv4_idx_1">
<col>reportid</col>
<col>userid</col>
</index>
<index name="rep_count_levs4_idx">
<col>id_liv1</col>
<col>id_liv2</col>
<col>id_liv3</col>
</index>
</table>
<table name="vte_rep_count_liv5">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="reportid" type="I" size="19">
<NOTNULL/>
</field>
<field name="userid" type="I" size="19">
<NOTNULL/>
</field>
<field name="id_liv1" type="I" size="19"/>
<field name="id_liv2" type="I" size="19"/>
<field name="id_liv3" type="I" size="19"/>
<field name="id_liv4" type="I" size="19"/>
<field name="id_liv5" type="I" size="19">
<KEY/>
</field>
<field name="value_liv5" type="C" size="255"/>
<field name="count_liv5" type="I" size="19"/>
<field name="formula5_sum" type="N" size="15.3"/>
<field name="formula5_avg" type="N" size="15.3"/>
<field name="formula5_min" type="N" size="15.3"/>
<field name="formula5_max" type="N" size="15.3"/>
<index name="vte_rep_count_liv5_idx_1">
<col>reportid</col>
<col>userid</col>
</index>
<index name="rep_count_levs5_idx">
<col>id_liv1</col>
<col>id_liv2</col>
<col>id_liv3</col>
<col>id_liv4</col>
</index>
</table>
<table name="vte_rep_count_liv6">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="reportid" type="I" size="19">
<NOTNULL/>
</field>
<field name="userid" type="I" size="19">
<NOTNULL/>
</field>
<field name="id_liv1" type="I" size="19"/>
<field name="id_liv2" type="I" size="19"/>
<field name="id_liv3" type="I" size="19"/>
<field name="id_liv4" type="I" size="19"/>
<field name="id_liv5" type="I" size="19"/>
<field name="id_liv6" type="I" size="19">
<KEY/>
</field>
<field name="value_liv6" type="C" size="255"/>
<field name="count_liv6" type="I" size="19"/>
<field name="formula6_sum" type="N" size="15.3"/>
<field name="formula6_avg" type="N" size="15.3"/>
<field name="formula6_min" type="N" size="15.3"/>
<field name="formula6_max" type="N" size="15.3"/>
<index name="vte_rep_count_liv6_idx_1">
<col>reportid</col>
<col>userid</col>
</index>
<index name="rep_count_levs6_idx">
<col>id_liv1</col>
<col>id_liv2</col>
<col>id_liv3</col>
<col>id_liv4</col>
<col>id_liv5</col>
</index>
</table>
<table name="vte_rep_count_liv7">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="reportid" type="I" size="19">
<NOTNULL/>
</field>
<field name="userid" type="I" size="19">
<NOTNULL/>
</field>
<field name="id_liv1" type="I" size="19"/>
<field name="id_liv2" type="I" size="19"/>
<field name="id_liv3" type="I" size="19"/>
<field name="id_liv4" type="I" size="19"/>
<field name="id_liv5" type="I" size="19"/>
<field name="id_liv6" type="I" size="19"/>
<field name="id_liv7" type="I" size="19">
<KEY/>
</field>
<field name="value_liv7" type="C" size="255"/>
<field name="count_liv7" type="I" size="19"/>
<field name="formula7_sum" type="N" size="15.3"/>
<field name="formula7_avg" type="N" size="15.3"/>
<field name="formula7_min" type="N" size="15.3"/>
<field name="formula7_max" type="N" size="15.3"/>
<index name="vte_rep_count_liv7_idx_1">
<col>reportid</col>
<col>userid</col>
</index>
<index name="rep_count_levs7_idx">
<col>id_liv1</col>
<col>id_liv2</col>
<col>id_liv3</col>
<col>id_liv4</col>
<col>id_liv5</col>
<col>id_liv6</col>
</index>
</table>
<table name="vte_rep_count_levels">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="reportid" type="I" size="19">
<NOTNULL/>
</field>
<field name="userid" type="I" size="19">
<NOTNULL/>
</field>
<field name="id_liv1" type="I" size="19">
<NOTNULL/>
</field>
<field name="id_liv2" type="I" size="19">
<NOTNULL/>
</field>
<field name="id_liv3" type="I" size="19">
<NOTNULL/>
</field>
<field name="id_liv4" type="I" size="19">
<NOTNULL/>
</field>
<field name="id_liv5" type="I" size="19">
<NOTNULL/>
</field>
<field name="id_liv6" type="I" size="19">
<NOTNULL/>
</field>
<field name="id_liv7" type="I" size="19">
<NOTNULL/>
</field>
<field name="value_liv1" type="C" size="255"/>
<field name="count_liv1" type="I" size="19"/>
<field name="value_liv2" type="C" size="255"/>
<field name="count_liv2" type="I" size="19"/>
<field name="value_liv3" type="C" size="255"/>
<field name="count_liv3" type="I" size="19"/>
<field name="value_liv4" type="C" size="255"/>
<field name="count_liv4" type="I" size="19"/>
<field name="value_liv5" type="C" size="255"/>
<field name="count_liv5" type="I" size="19"/>
<field name="value_liv6" type="C" size="255"/>
<field name="count_liv6" type="I" size="19"/>
<field name="value_liv7" type="C" size="255"/>
<field name="count_liv7" type="I" size="19"/>
<field name="formula1_sum" type="N" size="15.3"/>
<field name="formula1_avg" type="N" size="15.3"/>
<field name="formula1_min" type="N" size="15.3"/>
<field name="formula1_max" type="N" size="15.3"/>
<field name="formula2_sum" type="N" size="15.3"/>
<field name="formula2_avg" type="N" size="15.3"/>
<field name="formula2_min" type="N" size="15.3"/>
<field name="formula2_max" type="N" size="15.3"/>
<field name="formula3_sum" type="N" size="15.3"/>
<field name="formula3_avg" type="N" size="15.3"/>
<field name="formula3_min" type="N" size="15.3"/>
<field name="formula3_max" type="N" size="15.3"/>
<field name="formula4_sum" type="N" size="15.3"/>
<field name="formula4_avg" type="N" size="15.3"/>
<field name="formula4_min" type="N" size="15.3"/>
<field name="formula4_max" type="N" size="15.3"/>
<field name="formula5_sum" type="N" size="15.3"/>
<field name="formula5_avg" type="N" size="15.3"/>
<field name="formula5_min" type="N" size="15.3"/>
<field name="formula5_max" type="N" size="15.3"/>
<field name="formula6_sum" type="N" size="15.3"/>
<field name="formula6_avg" type="N" size="15.3"/>
<field name="formula6_min" type="N" size="15.3"/>
<field name="formula6_max" type="N" size="15.3"/>
<field name="formula7_sum" type="N" size="15.3"/>
<field name="formula7_avg" type="N" size="15.3"/>
<field name="formula7_min" type="N" size="15.3"/>
<field name="formula7_max" type="N" size="15.3"/>
<index name="vte_rep_count_levels_idx_1">
<col>reportid</col>
<col>userid</col>
</index>
</table>
<table name="vte_quickcreate">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="tabid" type="I" size="19">
<KEY/>
</field>
<field name="img" type="C" size="255"/>
</table>
<table name="vte_reload_user_cache">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<field name="storage_type" type="C" size="31">
<KEY/>
</field>
<field name="varname" type="C" size="63">
<KEY/>
</field>
<field name="reload_date" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
</table>
<table name="vte_reload_host_cache">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="hostid" type="C" size="63">
<KEY/>
</field>
<field name="storage_type" type="C" size="31">
<KEY/>
</field>
<field name="varname" type="C" size="63">
<KEY/>
</field>
<field name="reload_date" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
</table>
<table name="vte_reload_global_cache">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="varname" type="C" size="63">
<KEY/>
</field>
<field name="storage_type" type="C" size="31">
<KEY/>
</field>
<field name="reload_date" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
</table>
<table name="vte_email_directory">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<field name="email" type="C" size="200">
<KEY/>
</field>
<field name="crmid" type="I" size="19"/>
<field name="module" type="C" size="200"/>
<index name="vte_email_dir_user_idx">
<col>userid</col>
</index>
<index name="vte_email_dir_email_idx">
<col>email</col>
</index>
<index name="vte_email_dir_crmid_idx">
<col>crmid</col>
</index>
</table>
<table name="vte_email_directory_sync">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="19">
<key/>
</field>
<field name="last_update" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
</table>
<table name="crmv_docs_revisioned">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="crmid" type="R" size="19">
<KEY/>
</field>
<field name="attachmentid" type="R" size="19">
<KEY/>
</field>
<field name="userid" type="R" size="19" />
<field name="revision" type="I" size="10" />
<field name="revisiondate" type="T" />
<field name="user_email" type="C" size="100">
<DEFAULT value="0000-00-00 00:00:00" />
</field>
<index name="crmv_docs_revisioned_userid_idx">
<col>userid</col>
</index>
</table>
<table name="vte_sharetokens">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="token" type="C" size="100">
<KEY/>
</field>
<field name="expiretime" type="T">
<DEFAULT value="0000-00-00 00:00:00" />
</field>
<field name="userid" type="I" size="19"/>
<field name="crmid" type="I" size="19"/>
<field name="module" type="C" size="100"/>
<field name="edit" type="I" size="1"/>
<field name="otherinfo" type="X" />
<index name="sharetokens_userid_idx">
<col>userid</col>
</index>
<index name="sharetokens_crmid_idx">
<col>crmid</col>
</index>
<index name="sharetokens_module_idx">
<col>module</col>
</index>
</table>
<table name="vte_cronjobs">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="cronid" type="R" size="19">
<KEY/>
</field>
<field name="cronname" type="C" size="100" unique="1" />
<field name="active" type="I" size="1" />
<field name="singlerun" type="I" size="1">
<default value="0"/>
</field>
<field name="status" type="C" size="100" />
<field name="lastrun" type="T">
<default value="0000-00-00 00:00:00" />
</field>
<field name="last_duration" type="I" size="21" />
<field name="attempts" type="I" size="11" />
<field name="pid" type="I" size="19" />
<field name="filename" type="C" size="255" />
<field name="starttime" type="T">
<default value="0000-00-00 00:00:00" />
</field>
<field name="endtime" type="T">
<default value="0000-00-00 00:00:00" />
</field>
<field name="timeout" type="I" size="11" />
<field name="max_attempts" type="I" size="11">
<default value="5" />
</field>
<field name="repeat_sec" type="I" size="11" />
<field name="run_hours" type="C" size="255" />
<index name="cronjobs_name_idx">
<col>cronname</col>
<unique/>
</index>
<index name="cronjobs_status_idx">
<col>status</col>
</index>
</table>
<table name="tbl_s_logtime">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="11"/>
<field name="request" type="XL"/>
<field name="caller" type="XL"/>
<field name="type" type="C" size="3"/>
<field name="content" type="XL"/>
<field name="start" type="N" size="20,6"/>
<field name="end" type="N" size="20,6"/>
<field name="time_elapsed" type="N" size="20,6"/>
<field name="loggedon" type="T"/>
<index name="id_idx">
<col>id</col>
</index>
</table>
<table name="vte_plugins_tracking">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="name" type="C" size="50">
<KEY/>
</field>
<field name="last_check" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
</table>
<table name="vte_time2check">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="cwhat" type="C" size="50">
<KEY/>
</field>
<field name="cwhen" type="C" size="50"/>
</table>
<table name="vte_meta_logs">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="logid" type="I" size="19">
<KEY/>
</field>
<field name="timestamp" type="T">
<default value="0000-00-00 00:00:00" />
</field>
<field name="operation" type="C" size="63">
<NOTNULL/>
</field>
<field name="objectid" type="I" size="19" />
<field name="data" type="C" size="255" />
<index name="metalogs_time_idx">
<col>timestamp</col>
</index>
<index name="metalogs_op_idx">
<col>operation</col>
</index>
</table>
<table name="vte_check_logins">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19">
<KEY/>
</field>
<field name="userid" type="I" size="19"/>
<field name="first_attempt" type="DT"/>
<field name="last_attempt" type="DT"/>
<field name="ip" type="C" size="50"/>
<field name="type" type="C" size="50"/>
<field name="attempts" type="I" size="5">
<DEFAULT value="0"/>
</field>
<field name="status" type="C" size="5"/>
<field name="date_whitelist" type="DT"/>
<field name="mailkey" type="C" size="50"/>
<index name="CheckLoginIndex1">
<col>ip</col>
<col>status</col>
</index>
<index name="CheckLoginIndex2">
<col>userid</col>
<col>ip</col>
<col>type</col>
<col>status</col>
</index>
<index name="CheckLoginIndex3">
<col>userid</col>
<col>ip</col>
<col>type</col>
</index>
</table>
<table name="vte_ws_entity_extra">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="11">
<KEY/>
</field>
<field name="name" type="C" size="25"/>
<field name="handler_path" type="C" size="255"/>
<field name="handler_class" type="C" size="64"/>
<field name="ismodule" type="I" size="3"/>
</table>
<table name="vte_geolocation_users">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<field name="timestamp" type="T">
<DEFAULT value="0000-00-00 00:00:00" />
</field>
<field name="latitude" type="N" size="20,6"/>
<field name="longitude" type="N" size="20,6"/>
<field name="data" type="X" />
</table>
<table name="vte_modulemaker">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19">
<key/>
</field>
<field name="modulename" type="C" size="63">
<NOTNULL/>
</field>
<field name="createdtime" type="T">
<NOTNULL/>
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="modifiedtime" type="T">
<NOTNULL/>
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="installed" type="I" size="1">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="useredit" type="I" size="1">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="showlogs" type="I" size="1">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="moduleinfo" type="XL"/>
<field name="fields" type="XL"/>
<field name="panels" type="XL"/>
<field name="filters" type="XL"/>
<field name="relations" type="XL"/>
<field name="labels" type="XL"/>
</table>
<table name="vte_dataimporter">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19">
<key/>
</field>
<field name="module" type="C" size="63">
<NOTNULL/>
</field>
<field name="invmodule" type="C" size="63" />
<field name="createdtime" type="T">
<NOTNULL/>
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="modifiedtime" type="T">
<NOTNULL/>
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="enabled" type="I" size="1">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="running" type="I" size="1">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="lastimport" type="T">
<NOTNULL/>
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="notifyto" type="I" size="19">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="override_runnow" type="I" size="1">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="override_abort" type="I" size="1">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="errors" type="I" size="1">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="srcinfo" type="XL"/>
<field name="mapping" type="XL"/>
<field name="scheduling" type="XL"/>
<index name="dataimporter_enabled_idx">
<col>enabled</col>
</index>
</table>
<table name="vte_tmp_users">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<field name="subuserid" type="I" size="19">
<KEY/>
</field>
</table>
<table name="vte_tmp_users_mod">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<field name="tabid" type="I" size="11">
<KEY/>
</field>
<field name="subuserid" type="I" size="19">
<KEY/>
</field>
<index name="tmp_usr_mod_tabid_idx">
<col>tabid</col>
</index>
</table>
<table name="vte_tmp_users_cal">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<field name="tabid" type="I" size="11">
<KEY/>
</field>
<field name="subuserid" type="I" size="19">
<KEY/>
</field>
<field name="shared" type="I" size="12">
<DEFAULT value="0" />
<KEY/>
</field>
</table>
<table name="vte_tmp_users_mod_rel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="11">
<KEY/>
</field>
<field name="tabid" type="I" size="11">
<KEY/>
</field>
<field name="reltabid" type="I" size="11">
<KEY/>
</field>
<field name="parentid" type="I" size="19">
<KEY/>
</field>
<field name="crmid" type="I" size="19">
<KEY/>
</field>
<field name="relcrmid" type="I" size="19">
<KEY/>
</field>
</table>
<table name="vte_tmp_rst">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<field name="viewid" type="I" size="19">
<DEFAULT value="0"/>
<KEY/>
</field>
<field name="id" type="I" size="19">
<KEY/>
</field>
</table>
<table name="vte_customview_rpt">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<field name="reportid" type="I" size="19">
<KEY/>
</field>
<field name="prefix" type="I" size="19">
<DEFAULT value="0"/>
<KEY/>
</field>
<field name="id" type="I" size="19">
<KEY/>
</field>
</table>
<table name="vte_rpt_innerprice">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="reportid" type="I" size="19">
<KEY/>
</field>
<field name="tabid" type="I" size="19">
<KEY/>
</field>
<field name="crmid" type="I" size="19">
<KEY/>
</field>
<field name="ACTUAL_UNIT_PRICE" type="N" size="25.2" />
</table>
<table name="vte_modcomments_msgrel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="userid" type="I" size="19">
<KEY/>
</field>
<field name="messagesid" type="I" size="19">
<KEY/>
</field>
</table>
<table name="vte_massedit">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="massid" type="I" size="19">
<key/>
</field>
<field name="userid" type="I" size="19">
<NOTNULL/>
</field>
<field name="module" type="C" size="63">
<NOTNULL/>
</field>
<field name="inserttime" type="T">
<NOTNULL/>
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="starttime" type="T">
<NOTNULL/>
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="endtime" type="T">
<NOTNULL/>
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="workflows" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="status" type="I" size="3">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="fieldvalues" type="XL" />
<field name="results" type="XL" />
<index name="massedit_status_idx">
<col>status</col>
</index>
</table>
<table name="vte_massedit_queue">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="massid" type="I" size="19">
<key/>
</field>
<field name="crmid" type="I" size="19">
<key/>
</field>
<field name="status" type="I" size="3">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="info" type="C" size="255" />
<index name="massedit_queue_status_idx">
<col>status</col>
</index>
</table>
<table name="vte_masscreate">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="massid" type="I" size="19">
<key/>
</field>
<field name="userid" type="I" size="19">
<NOTNULL/>
</field>
<field name="module" type="C" size="63">
<NOTNULL/>
</field>
<field name="inserttime" type="T">
<NOTNULL/>
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="starttime" type="T">
<NOTNULL/>
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="endtime" type="T">
<NOTNULL/>
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="workflows" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="status" type="I" size="3">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="results" type="XL" />
<index name="masscreate_status_idx">
<col>status</col>
</index>
</table>
<table name="vte_masscreate_queue">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="queueid" type="I" size="19">
<key/>
</field>
<field name="massid" type="I" size="19">
<NOTNULL/>
</field>
<field name="record" type="XL" />
<field name="status" type="I" size="3">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="info" type="C" size="255" />
<index name="masscreate_queue_massid_idx">
<col>massid</col>
</index>
<index name="masscreate_queue_status_idx">
<col>status</col>
</index>
</table>
<table name="vte_load_relations">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="massid" type="I" size="19">
<key/>
</field>
<field name="userid" type="I" size="19">
<NOTNULL/>
</field>
<field name="module" type="C" size="63">
<NOTNULL/>
</field>
<field name="crmid" type="I" size="19">
<NOTNULL/>
</field>
<field name="inserttime" type="T">
<NOTNULL/>
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="starttime" type="T">
<NOTNULL/>
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="endtime" type="T">
<NOTNULL/>
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="status" type="I" size="3">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="results" type="XL" />
<index name="load_relations_status_idx">
<col>status</col>
</index>
</table>
<table name="vte_load_relations_queue">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="queueid" type="I" size="19">
<key/>
</field>
<field name="massid" type="I" size="19">
<NOTNULL/>
</field>
<field name="with_module" type="C" size="63">
<NOTNULL/>
</field>
<field name="with_crmid" type="I" size="19">
<NOTNULL/>
</field>
<field name="status" type="I" size="3">
<NOTNULL/>
<DEFAULT value="0"/>
</field>
<field name="info" type="C" size="255" />
<index name="load_relations_queue_massid_idx">
<col>massid</col>
</index>
<index name="load_relations_queue_status_idx">
<col>status</col>
</index>
</table>
<table name="vte_vteprop">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="property" type="C" size="63">
<KEY/>
</field>
<field name="value" type="C" size="1023" />
<field name="override_value" type="C" size="1023" />
</table>
<table name="vte_modulehome">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="modhomeid" type="I" size="19">
<KEY/>
</field>
<field name="userid" type="I" size="19">
<NOTNULL/>
</field>
<field name="tabid" type="I" size="19">
<NOTNULL/>
</field>
<field name="name" type="C" size="127"/>
<field name="reportid" type="I" size="19"/>
<field name="cvid" type="I" size="19"/>
<field name="kanban" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="entries" type="I" size="3"/>
<index name="modhome_usertab_idx">
<col>userid</col>
<col>tabid</col>
</index>
</table>
<table name="vte_modulehome_blocks">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="blockid" type="I" size="19">
<KEY/>
</field>
<field name="modhomeid" type="I" size="19">
<NOTNULL/>
</field>
<field name="type" type="C" size="31">
<NOTNULL/>
</field>
<field name="size" type="I" size="11"/>
<field name="title" type="C" size="255"/>
<field name="sequence" type="I" size="11"/>
<field name="config" type="X" />
<index name="modhome_homeid_idx">
<col>modhomeid</col>
</index>
</table>
<table name="vte_kanbanview">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="cvid" type="I" size="19">
<KEY/>
</field>
<field name="json" type="X" />
<field name="relation_id" type="I" size="19"/>
</table>
<table name="vte_wizards">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="wizardid" type="R" size="19">
<KEY/>
</field>
<field name="tabid" type="I" size="19"/>
<field name="createdtime" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="modifiedtime" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="enabled" type="I" size="1"/>
<field name="name" type="C" size="127"/>
<field name="description" type="C" size="255"/>
<field name="src" type="C" size="127"/>
<field name="template" type="C" size="127"/>
<field name="config" type="XL"/>
<index name="wizards_tabid_idx">
<col>tabid</col>
</index>
<index name="wizards_name_idx">
<col>name</col>
</index>
</table>
<table name="vte_alertnot">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19">
<key/>
</field>
<field name="label" type="C" size="50"/>
</table>
<table name="vte_alertnot_seen">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19">
<key/>
</field>
<field name="userid" type="I" size="19">
<key/>
</field>
<field name="seen" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="seen_date" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
</table>
<table name="vte_resource_version">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="resource" type="C" size="200">
<KEY/>
</field>
<field name="revision" type="I" size="8">
<NOTNULL/>
<DEFAULT value="-1"/>
</field>
<field name="versioned_resource" type="C" size="200"/>
<field name="type" type="C" size="31"/>
<field name="update_revision" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="filemtime" type="I" size="21"/>
<field name="last_update" type="T"/>
<index name="res_version_urev_idx">
<col>update_revision</col>
</index>
</table>
<table name="vte_fieldinfo">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="fieldid" type="I" size="19">
<KEY/>
</field>
<field name="info" type="XL"/>
</table>
<table name="vte_extws">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="extwsid" type="I" size="19">
<KEY/>
</field>
<field name="wsname" type="C" size="63">
<NOTNULL/>
</field>
<field name="wstype" type="C" size="31" />
<field name="wsdesc" type="C" size="255" />
<field name="method" type="C" size="31" />
<field name="wsurl" type="C" size="1023" />
<field name="active" type="I" size="1">
<NOTNULL/>
<DEFAULT value="1"/>
</field>
<field name="createdtime" type="T">
<NOTNULL/>
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="modifiedtime" type="T">
<NOTNULL/>
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="authinfo" type="XL" />
<field name="headers" type="XL" />
<field name="params" type="XL" />
<field name="rawbody" type="XL" />
<field name="options" type="XL" />
<field name="results" type="XL" />
</table>
<table name="vte_role_versions">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="11">
<KEY/>
</field>
<field name="version" type="C" size="10"/>
<field name="createdtime" type="T"/>
<field name="createdby" type="I" size="19"/>
<field name="modifiedtime" type="T"/>
<field name="modifiedby" type="I" size="19"/>
<field name="closed" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="json" type="XL"/>
<index name="idx_version">
<col>version</col>
</index>
</table>
<table name="vte_role_versions_import">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="version" type="C" size="10">
<KEY/>
</field>
<field name="sequence" type="I" size="10"/>
<field name="json" type="XL"/>
<field name="status" type="C" size="10"/>
</table>
<table name="vte_role_versions_rel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19">
<KEY/>
</field>
<field name="metalogid" type="I" size="19">
<KEY/>
</field>
</table>
<table name="vte_profile_versions">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="11">
<KEY/>
</field>
<field name="version" type="C" size="10"/>
<field name="createdtime" type="T"/>
<field name="createdby" type="I" size="19"/>
<field name="modifiedtime" type="T"/>
<field name="modifiedby" type="I" size="19"/>
<field name="closed" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="json" type="XL"/>
<index name="idx_version">
<col>version</col>
</index>
</table>
<table name="vte_profile_versions_import">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="version" type="C" size="10">
<KEY/>
</field>
<field name="sequence" type="I" size="10"/>
<field name="json" type="XL"/>
<field name="status" type="C" size="10"/>
</table>
<table name="vte_profile_versions_rel">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19">
<KEY/>
</field>
<field name="metalogid" type="I" size="19">
<KEY/>
</field>
</table>
<table name="vte_entity_displayname">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="crmid" type="I" size="19">
<KEY/>
</field>
<field name="setype" type="C" size="31">
<NOTNULL/>
</field>
<field name="displayname" type="C" size="255"/>
<field name="lastupdate" type="T"/>
<index name="edn_setype_idx">
<col>setype</col>
</index>
<index name="edn_displayname_idx">
<col>displayname</col>
</index>
</table>
<table name="vte_editview_changelog">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="etag" type="C" size="32">
<KEY/>
</field>
<field name="userid" type="I" size="19"/>
<field name="record" type="I" size="19"/>
<field name="column_fields" type="XL"/>
<field name="status" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="createdtime" type="T"/>
<index name="editview_changelog_idx">
<col>createdtime</col>
</index>
</table>
<table name="vte_cache">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="cache_key" type="C" size="50">
<KEY/>
</field>
<field name="cache_value" type="XL"/>
</table>
<table name="vte_trigger_queue">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19">
<KEY/>
</field>
<field name="crmid" type="I" size="19"/>
<field name="module" type="C" size="25" />
<field name="mode" type="C" size="6" />
<field name="queue_time" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="userid" type="I" size="19"/>
<field name="action" type="C" size="20" />
<field name="dependent_on" type="I" size="19"/>
<field name="master_dependent_on" type="I" size="19"/>
<field name="info" type="XL"/>
<field name="freeze" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="attempts" type="I" size="5">
<DEFAULT value="0"/>
</field>
<field name="working" type="I" size="1">
<DEFAULT value="0"/>
</field>
<index name="trigger_queue_crmid_idx">
<col>crmid</col>
</index>
<index name="trigger_queue_master_idx">
<col>master_dependent_on</col>
</index>
</table>
<table name="vte_trigger_queue_history">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19">
<KEY/>
</field>
<field name="crmid" type="I" size="19"/>
<field name="module" type="C" size="25" />
<field name="mode" type="C" size="6" />
<field name="queue_time" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="userid" type="I" size="19"/>
<field name="action" type="C" size="20" />
<field name="dependent_on" type="I" size="19"/>
<field name="master_dependent_on" type="I" size="19"/>
<field name="info" type="XL"/>
<field name="freeze" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="attempts" type="I" size="5">
<DEFAULT value="0"/>
</field>
<field name="working" type="I" size="1">
<DEFAULT value="0"/>
</field>
<index name="trigger_queue_crmid_idx">
<col>crmid</col>
</index>
<index name="trigger_queue_master_idx">
<col>master_dependent_on</col>
</index>
</table>
<table name="vte_trigger_queue_failed">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19">
<KEY/>
</field>
<field name="crmid" type="I" size="19"/>
<field name="module" type="C" size="25" />
<field name="mode" type="C" size="6" />
<field name="queue_time" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="userid" type="I" size="19"/>
<field name="action" type="C" size="20" />
<field name="dependent_on" type="I" size="19"/>
<field name="master_dependent_on" type="I" size="19"/>
<field name="info" type="XL"/>
<field name="freeze" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="attempts" type="I" size="5">
<DEFAULT value="0"/>
</field>
<field name="working" type="I" size="1">
<DEFAULT value="0"/>
</field>
<field name="error" type="C" size="50" />
<index name="trigger_queue_crmid_idx">
<col>crmid</col>
</index>
<index name="trigger_queue_master_idx">
<col>master_dependent_on</col>
</index>
</table>
<table name="vte_filestorage">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="fileid" type="I" size="19">
<key/>
</field>
<field name="status" type="I" size="5">
<NOTNULL/>
<DEFAULT value="0" />
</field>
<field name="attempts" type="I" size="5"/>
<field name="last_save_attempt" type="T">
<DEFAULT value="0000-00-00 00:00:00"/>
</field>
<field name="path" type="C" size="1000">
<NOTNULL/>
<DEFAULT value="" />
</field>
<field name="filedata" type="B" />
<index name="filestorage_status_idx">
<col>status</col>
</index>
<index name="filestorage_path_idx">
<col>path</col>
</index>
</table>
<table name="vte_klondike_config">
<opt platform="mysql">ENGINE=InnoDB</opt>
<field name="id" type="I" size="19">
<KEY/>
</field>
<field name="klondike_url" type="C" size="255"/>
<field name="access_token" type="C" size="1000"/>
<field name="token_expire" type="C" size="31"/>
<field name="refresh_token" type="C" size="1000"/>
</table>
</schema>