Login / Status
developer.Resource
Home . Extensions . Repository
Sponsors
hosted by punkt.deTYPO3 and Open Source Magazine

Extension Repository

The official extension repository only consists of freely available extensions. New documentation is rendered once a day.


Partner Management


InfoRatingsFeedback


  • Icon
    partner
    Title
    Partner Management
    Extension key
    ( partner )
    State
    beta, Not reviewed!
    Author
    David Bruehlmeier
    Category
    be
    Version
    0.5.21
    Manual
    Read online
    Downloads (total / this version)
    5536 / 394
    Rating
    none
    Updated
    25.05.2009
    Upload comment
    * Fixed issue when using extension FPDF > 0.2.0 * Fixed issue #3280
    Description
    This extension includes everything you need to manage partners (persons and organisations). You can save everything from addresses to occupations, from legal forms to birth dates. Unlimited contact information records (e.g. phone numbers) can be managed f
  • Dependencies
    • depends on php 3.0.0-0.0.0
    • depends on typo3 3.8.1-0.0.0
    • depends on static_info_tables
    Reverse dependencies

    The following extension versions depend on this extension:

    Version history
    • 0.5.20: Migrated the locallang*.php files to xml files. Thanks to Fabien Udriot for his contribution!
    • 0.5.19: Minor code-level improvements (no new features)
    • 0.5.18: Bugfix in birthday list.
    • 0.5.17: Bugfix (telephone extension '0' was not displayed)
    • 0.5.16: Added support for mm-fields in reports
    Download extension

    Download compressed extension .T3X file

  • Filename Size View Date Download
    class.ext_update.php 6.2 K View 01.04.2009 Download
    constants.txt 1.6 K View 01.04.2009 Download
    ext_conf_template.txt 1.4 K View 01.04.2009 Download
    ext_icon.gif 0.9 K View 01.04.2009 Download
    ext_localconf.php 5.5 K View 20.04.2009 Download
    ext_php_api.dat 48 K 01.04.2009 Download
    ext_tables.php 14.0 K View 20.04.2009 Download
    ext_tables.sql 12.2 K View 01.04.2009 Download
    flexform_ds.xml 18.4 K View 20.04.2009 Download
    locallang_db.xml 63 K View 20.04.2009 Download
    tca.php 54 K View 20.04.2009 Download
    api/class.tx_partner_contact_info.php 3.6 K View 01.04.2009 Download
    api/class.tx_partner_div.php 42 K View 19.05.2009 Download
    api/class.tx_partner_lang.php 2.9 K View 20.04.2009 Download
    api/class.tx_partner_main.php 6.8 K View 01.04.2009 Download
    api/class.tx_partner_query.php 36 K View 01.04.2009 Download
    api/class.tx_partner_relationship.php 10.9 K View 01.04.2009 Download
    cli/conf.php 182 View 01.04.2009 Download
    cli/create_report.php 3.1 K View 01.04.2009 Download
    csh/locallang_csh_MOD_partner.xml 6.8 K View 20.04.2009 Download
    csh/locallang_csh_tx_partner_contact_info.xml 5.1 K View 20.04.2009 Download
    csh/locallang_csh_tx_partner_main.xml 30 K View 20.04.2009 Download
    csh/locallang_csh_tx_partner_relationships.xml 4.9 K View 20.04.2009 Download
    csh/locallang_csh_tx_partner_val_contact_permissions.xml 9.3 K View 20.04.2009 Download
    csh/locallang_csh_tx_partner_val_courses.xml 9.3 K View 20.04.2009 Download
    csh/locallang_csh_tx_partner_val_hobbies.xml 9.2 K View 20.04.2009 Download
    csh/locallang_csh_tx_partner_val_legal_forms.xml 9.9 K View 20.04.2009 Download
    csh/locallang_csh_tx_partner_val_marital_status.xml 9.3 K View 20.04.2009 Download
    csh/locallang_csh_tx_partner_val_occupations.xml 9.3 K View 20.04.2009 Download
    csh/locallang_csh_tx_partner_val_org_types.xml 9.3 K View 20.04.2009 Download
    csh/locallang_csh_tx_partner_val_rel_types.xml 12.3 K View 20.04.2009 Download
    csh/locallang_csh_tx_partner_val_religions.xml 9.3 K View 20.04.2009 Download
    csh/locallang_csh_tx_partner_val_status.xml 10.0 K View 20.04.2009 Download
    csh/locallang_csh_tx_partner_val_titles.xml 10.5 K View 20.04.2009 Download
    csh/img/field_visibility_default_settings.png 6.2 K View 01.04.2009 Download
    doc/TODO.txt 9.6 K View 01.04.2009 Download
    doc/TODO_new_ext.txt 1.1 K View 01.04.2009 Download
    doc/empty_partner_tables.sql 732 View 01.04.2009 Download
    doc/manual.sxw 191 K 25.05.2009 Download
    doc/partner_demo_data.sql 40 K View 01.04.2009 Download
    icons/icon_tx_partner_contact_info.gif 887 View 01.04.2009 Download
    icons/icon_tx_partner_contact_info_email.gif 877 View 01.04.2009 Download
    icons/icon_tx_partner_contact_info_fax.gif 893 View 01.04.2009 Download
    icons/icon_tx_partner_contact_info_mobile.gif 884 View 01.04.2009 Download
    icons/icon_tx_partner_contact_info_phone.gif 887 View 01.04.2009 Download
    icons/icon_tx_partner_contact_info_url.gif 0.9 K View 01.04.2009 Download
    icons/icon_tx_partner_main.gif 864 View 01.04.2009 Download
    icons/icon_tx_partner_main_organisation.gif 145 View 01.04.2009 Download
    icons/icon_tx_partner_main_person.gif 164 View 01.04.2009 Download
    icons/icon_tx_partner_relationships.gif 0.9 K View 01.04.2009 Download
    icons/icon_tx_partner_val_contact_permissions.gif 0.9 K View 01.04.2009 Download
    icons/icon_tx_partner_val_courses.gif 0.9 K View 01.04.2009 Download
    icons/icon_tx_partner_val_hobbies.gif 0.9 K View 01.04.2009 Download
    icons/icon_tx_partner_val_legal_forms.gif 0.9 K View 01.04.2009 Download
    icons/icon_tx_partner_val_marital_status.gif 0.9 K View 01.04.2009 Download
    icons/icon_tx_partner_val_occupations.gif 0.9 K View 01.04.2009 Download
    icons/icon_tx_partner_val_org_types.gif 0.9 K View 01.04.2009 Download
    icons/icon_tx_partner_val_rel_types.gif 0.9 K View 01.04.2009 Download
    icons/icon_tx_partner_val_religions.gif 0.9 K View 01.04.2009 Download
    icons/icon_tx_partner_val_status.gif 0.9 K View 01.04.2009 Download
    icons/icon_tx_partner_val_titles.gif 0.9 K View 01.04.2009 Download
    icons/icon_web_txpartnerM1.gif 880 View 01.04.2009 Download
    icons/selicon_tx_partner_contact_info_type_0.gif 0.9 K View 01.04.2009 Download
    icons/selicon_tx_partner_contact_info_type_1.gif 0.9 K View 01.04.2009 Download
    icons/selicon_tx_partner_contact_info_type_2.gif 0.9 K View 01.04.2009 Download
    icons/selicon_tx_partner_contact_info_type_3.gif 0.9 K View 01.04.2009 Download
    icons/selicon_tx_partner_contact_info_type_4.gif 0.9 K View 01.04.2009 Download
    icons/selicon_tx_partner_default.gif 878 View 01.04.2009 Download
    icons/selicon_tx_partner_main_type_0.gif 0.9 K View 01.04.2009 Download
    icons/selicon_tx_partner_main_type_1.gif 0.9 K View 01.04.2009 Download
    inc/class.tx_partner_download_report.php 10.8 K View 20.04.2009 Download
    inc/class.tx_partner_format.php 39 K View 20.05.2009 Download
    inc/class.tx_partner_select.php 4.8 K View 20.04.2009 Download
    inc/class.tx_partner_tce_user.php 27 K View 20.04.2009 Download
    inc/class.tx_partner_tcemainprocdm.php 12.7 K View 01.04.2009 Download
    inc/class.tx_partner_user_fields.php 3.7 K View 01.04.2009 Download
    inc/class.ux_sc_mod_tools_em_index.php 1.2 K View 01.04.2009 Download
    inc/class.ux_t3lib_tcemain.php 10.5 K View 01.04.2009 Download
    mod1/clear.gif 46 View 01.04.2009 Download
    mod1/conf.php 1.4 K View 20.04.2009 Download
    mod1/index.php 9.0 K View 20.04.2009 Download
    modfunc1/class.tx_partner_reports.php 7.2 K View 20.04.2009 Download
    modfunc1/class.tx_partner_reports_birthdaylist.php 4.9 K View 20.04.2009 Download
    modfunc1/class.tx_partner_reports_email.php 7.9 K View 20.04.2009 Download
    modfunc1/class.tx_partner_reports_relationships.php 8.2 K View 19.05.2009 Download
    modfunc1/class.tx_partner_search.php 9.4 K View 20.04.2009 Download
    modfunc1/class.tx_partner_tools.php 3.3 K View 01.04.2009 Download
    modfunc1/class.tx_partner_tools_assignfeusers.php 13.6 K View 20.04.2009 Download
    modfunc1/class.tx_partner_tools_massrelationships.php 35 K View 20.04.2009 Download
    modfunc1/class.tx_partner_tools_reportdesigner.php 4.3 K View 20.04.2009 Download
    Preview for file partner-0.5.21-ext_tables__sql:
    
    #
    # Table structure for table 'tx_partner_main_occupations_mm'
    #
    #
    CREATE TABLE tx_partner_main_occupations_mm (
      uid_local int(11) unsigned DEFAULT '0' NOT NULL,
      uid_foreign int(11) unsigned DEFAULT '0' NOT NULL,
      tablenames varchar(30) DEFAULT '' NOT NULL,
      sorting int(11) unsigned DEFAULT '0' NOT NULL,
      KEY uid_local (uid_local),
      KEY uid_foreign (uid_foreign)
    );



    #
    # Table structure for table 'tx_partner_main_hobbies_mm'
    #
    #
    CREATE TABLE tx_partner_main_hobbies_mm (
      uid_local int(11) unsigned DEFAULT '0' NOT NULL,
      uid_foreign int(11) unsigned DEFAULT '0' NOT NULL,
      tablenames varchar(30) DEFAULT '' NOT NULL,
      sorting int(11) unsigned DEFAULT '0' NOT NULL,
      KEY uid_local (uid_local),
      KEY uid_foreign (uid_foreign)
    );




    #
    # Table structure for table 'tx_partner_main_courses_mm'
    #
    #
    CREATE TABLE tx_partner_main_courses_mm (
      uid_local int(11) unsigned DEFAULT '0' NOT NULL,
      uid_foreign int(11) unsigned DEFAULT '0' NOT NULL,
      tablenames varchar(30) DEFAULT '' NOT NULL,
      sorting int(11) unsigned DEFAULT '0' NOT NULL,
      KEY uid_local (uid_local),
      KEY uid_foreign (uid_foreign)
    );



    #
    # Table structure for table 'tx_partner_main'
    #
    CREATE TABLE tx_partner_main (
        uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
        pid int(11) unsigned DEFAULT '0' NOT NULL,
        tstamp int(11) unsigned DEFAULT '0' NOT NULL,
        crdate int(11) unsigned DEFAULT '0' NOT NULL,
        cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
        deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
        hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
        type blob NOT NULL,
        label tinytext NOT NULL,
        status int(11) unsigned DEFAULT '0' NOT NULL,
        data_source tinytext NOT NULL,
        external_id tinytext NOT NULL,
        contact_permission int(11) unsigned DEFAULT '0' NOT NULL,
        fe_user blob NOT NULL,
        image blob NOT NULL,
        preceding_title tinytext NOT NULL,
        title int(11) unsigned DEFAULT '0' NOT NULL,
        letter_title tinytext NOT NULL,
        first_name tinytext NOT NULL,
        middle_name tinytext NOT NULL,
        last_name_prefix tinytext NOT NULL,
        last_name tinytext NOT NULL,
        maiden_name tinytext NOT NULL,
        general_suffix tinytext NOT NULL,
        initials tinytext NOT NULL,
        org_name tinytext NOT NULL,
        org_type int(11) unsigned DEFAULT '0' NOT NULL,
        org_legal_form int(11) unsigned DEFAULT '0' NOT NULL,
        department tinytext NOT NULL,
        building tinytext NOT NULL,
        floor tinytext NOT NULL,
        room tinytext NOT NULL,
        street tinytext NOT NULL,
        street_number tinytext NOT NULL,
        postal_code tinytext NOT NULL,
        locality tinytext NOT NULL,
        admin_area tinytext NOT NULL,
        country int(11) unsigned DEFAULT '0' NOT NULL,
        po_number tinytext NOT NULL,
        po_no_number tinyint(3) unsigned DEFAULT '0' NOT NULL,
        po_postal_code tinytext NOT NULL,
        po_locality tinytext NOT NULL,
        po_admin_area tinytext NOT NULL,
        po_country int(11) unsigned DEFAULT '0' NOT NULL,
        formation_date int(11) DEFAULT '0' NOT NULL,
        closure_date int(11) DEFAULT '0' NOT NULL,
        birth_date int(11) DEFAULT '0' NOT NULL,
        birth_place tinytext NOT NULL,
        death_date int(11) DEFAULT '0' NOT NULL,
        death_place tinytext NOT NULL,
        gender int(11) unsigned DEFAULT '0' NOT NULL,
        marital_status int(11) unsigned DEFAULT '0' NOT NULL,
        nationality int(11) unsigned DEFAULT '0' NOT NULL,
        religion int(11) unsigned DEFAULT '0' NOT NULL,
        mother_tongue int(11) unsigned DEFAULT '0' NOT NULL,
        preferred_language int(11) unsigned DEFAULT '0' NOT NULL,
        join_date int(11) DEFAULT '0' NOT NULL,
        leave_date int(11) DEFAULT '0' NOT NULL,
        occupations int(11) unsigned DEFAULT '0' NOT NULL,
        hobbies int(11) unsigned DEFAULT '0' NOT NULL,
        courses int(11) unsigned DEFAULT '0' NOT NULL,
        meeting_period int(11) DEFAULT '0' NOT NULL,
        meeting_unit int(11) unsigned DEFAULT '0' NOT NULL,
        meeting_start_date int(11) DEFAULT '0' NOT NULL,
        field_visibility blob NOT NULL,
        remarks text NOT NULL,
        relationships_overview text NOT NULL,
        contact_info text NOT NULL,    

        PRIMARY KEY (uid),
        KEY parent (pid)
    );



    #
    # Table structure for table 'tx_partner_contact_info'
    #
    CREATE TABLE tx_partner_contact_info (
        uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
        pid int(11) unsigned DEFAULT '0' NOT NULL,
        tstamp int(11) unsigned DEFAULT '0' NOT NULL,
        crdate int(11) unsigned DEFAULT '0' NOT NULL,
        cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
        deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
        hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
        uid_foreign tinytext NOT NULL,
        type int(11) unsigned DEFAULT '0' NOT NULL,
        nature int(11) unsigned DEFAULT '0' NOT NULL,
        standard tinyint(3) unsigned DEFAULT '0' NOT NULL,
        label tinytext NOT NULL,
        country int(11) unsigned DEFAULT '0' NOT NULL,
        area_code tinytext NOT NULL,
        number tinytext NOT NULL,
        extension tinytext NOT NULL,
        email tinytext NOT NULL,
        url tinytext NOT NULL,
        remarks text NOT NULL,

        PRIMARY KEY (uid),
        KEY parent (pid)
    );



    #
    # Table structure for table 'tx_partner_relationships'
    #
    CREATE TABLE tx_partner_relationships (
        uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
        pid int(11) unsigned DEFAULT '0' NOT NULL,
        tstamp int(11) unsigned DEFAULT '0' NOT NULL,
        crdate int(11) unsigned DEFAULT '0' NOT NULL,
        cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
        deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
        hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
        type int(11) unsigned DEFAULT '0' NOT NULL,
        uid_primary int(11) unsigned DEFAULT '0' NOT NULL,
        uid_secondary int(11) unsigned DEFAULT '0' NOT NULL,
        status int(11) unsigned DEFAULT '0' NOT NULL,
        established_date int(11) DEFAULT '0' NOT NULL,
        lapsed_date int(11) DEFAULT '0' NOT NULL,
        lapsed_reason text NOT NULL,

        PRIMARY KEY (uid),
        KEY parent (pid)
    );



    #
    # Table structure for table 'tx_partner_val_status'
    #
    CREATE TABLE tx_partner_val_status (
        uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
        pid int(11) unsigned DEFAULT '0' NOT NULL,
        tstamp int(11) unsigned DEFAULT '0' NOT NULL,
        crdate int(11) unsigned DEFAULT '0' NOT NULL,
        cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
        sorting int(11) unsigned DEFAULT '0' NOT NULL,
        st_descr_short tinytext NOT NULL,
        st_descr tinytext NOT NULL,
        allowed_tables tinytext NOT NULL,

        PRIMARY KEY (uid),
        KEY parent (pid)
    );



    #
    # Table structure for table 'tx_partner_val_contact_permissions'
    #
    CREATE TABLE tx_partner_val_contact_permissions (
        uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
        pid int(11) unsigned DEFAULT '0' NOT NULL,
        tstamp int(11) unsigned DEFAULT '0' NOT NULL,
        crdate int(11) unsigned DEFAULT '0' NOT NULL,
        cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
        sorting int(11) unsigned DEFAULT '0' NOT NULL,
        cp_descr_short tinytext NOT NULL,
        cp_descr tinytext NOT NULL,

        PRIMARY KEY (uid),
        KEY parent (pid)
    );



    #
    # Table structure for table 'tx_partner_val_titles'
    #
    CREATE TABLE tx_partner_val_titles (
        uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
        pid int(11) unsigned DEFAULT '0' NOT NULL,
        tstamp int(11) unsigned DEFAULT '0' NOT NULL,
        crdate int(11) unsigned DEFAULT '0' NOT NULL,
        cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
        sorting int(11) unsigned DEFAULT '0' NOT NULL,
        ti_descr_short tinytext NOT NULL,
        ti_descr tinytext NOT NULL,
        ti_letter_default tinytext NOT NULL,

        PRIMARY KEY (uid),
        KEY parent (pid)
    );



    #
    # Table structure for table 'tx_partner_val_org_types'
    #
    CREATE TABLE tx_partner_val_org_types (
        uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
        pid int(11) unsigned DEFAULT '0' NOT NULL,
        tstamp int(11) unsigned DEFAULT '0' NOT NULL,
        crdate int(11) unsigned DEFAULT '0' NOT NULL,
        cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
        sorting int(11) unsigned DEFAULT '0' NOT NULL,
        ot_descr_short tinytext NOT NULL,
        ot_descr tinytext NOT NULL,

        PRIMARY KEY (uid),
        KEY parent (pid)
    );



    #
    # Table structure for table 'tx_partner_val_legal_forms'
    #
    CREATE TABLE tx_partner_val_legal_forms (
        uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
        pid int(11) unsigned DEFAULT '0' NOT NULL,
        tstamp int(11) unsigned DEFAULT '0' NOT NULL,
        crdate int(11) unsigned DEFAULT '0' NOT NULL,
        cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
        sorting int(11) unsigned DEFAULT '0' NOT NULL,
        lf_descr_abbr tinytext NOT NULL,
        lf_descr_short tinytext NOT NULL,
        lf_descr tinytext NOT NULL,

        PRIMARY KEY (uid),
        KEY parent (pid)
    );



    #
    # Table structure for table 'tx_partner_val_marital_status'
    #
    CREATE TABLE tx_partner_val_marital_status (
        uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
        pid int(11) unsigned DEFAULT '0' NOT NULL,
        tstamp int(11) unsigned DEFAULT '0' NOT NULL,
        crdate int(11) unsigned DEFAULT '0' NOT NULL,
        cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
        sorting int(11) unsigned DEFAULT '0' NOT NULL,
        ms_descr_short tinytext NOT NULL,
        ms_descr tinytext NOT NULL,

        PRIMARY KEY (uid),
        KEY parent (pid)
    );



    #
    # Table structure for table 'tx_partner_val_religions'
    #
    CREATE TABLE tx_partner_val_religions (
        uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
        pid int(11) unsigned DEFAULT '0' NOT NULL,
        tstamp int(11) unsigned DEFAULT '0' NOT NULL,
        crdate int(11) unsigned DEFAULT '0' NOT NULL,
        cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
        sorting int(11) unsigned DEFAULT '0' NOT NULL,
        rl_descr_short tinytext NOT NULL,
        rl_descr tinytext NOT NULL,

        PRIMARY KEY (uid),
        KEY parent (pid)
    );



    #
    # Table structure for table 'tx_partner_val_occupations'
    #
    CREATE TABLE tx_partner_val_occupations (
        uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
        pid int(11) unsigned DEFAULT '0' NOT NULL,
        tstamp int(11) unsigned DEFAULT '0' NOT NULL,
        crdate int(11) unsigned DEFAULT '0' NOT NULL,
        cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
        sorting int(11) unsigned DEFAULT '0' NOT NULL,
        oc_descr_short tinytext NOT NULL,
        oc_descr tinytext NOT NULL,

        PRIMARY KEY (uid),
        KEY parent (pid)
    );



    #
    # Table structure for table 'tx_partner_val_hobbies'
    #
    CREATE TABLE tx_partner_val_hobbies (
        uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
        pid int(11) unsigned DEFAULT '0' NOT NULL,
        tstamp int(11) unsigned DEFAULT '0' NOT NULL,
        crdate int(11) unsigned DEFAULT '0' NOT NULL,
        cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
        sorting int(11) unsigned DEFAULT '0' NOT NULL,
        hb_descr_short tinytext NOT NULL,
        hb_descr tinytext NOT NULL,

        PRIMARY KEY (uid),
        KEY parent (pid)
    );



    #
    # Table structure for table 'tx_partner_val_courses'
    #
    CREATE TABLE tx_partner_val_courses (
        uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
        pid int(11) unsigned DEFAULT '0' NOT NULL,
        tstamp int(11) unsigned DEFAULT '0' NOT NULL,
        crdate int(11) unsigned DEFAULT '0' NOT NULL,
        cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
        sorting int(11) unsigned DEFAULT '0' NOT NULL,
        cs_name_short tinytext NOT NULL,
        cs_name tinytext NOT NULL,
        cs_descr text NOT NULL,
        start_date int(11) DEFAULT '0' NOT NULL,
        end_date int(11) DEFAULT '0' NOT NULL,

        PRIMARY KEY (uid),
        KEY parent (pid)
    );



    #
    # Table structure for table 'tx_partner_val_rel_types'
    #
    CREATE TABLE tx_partner_val_rel_types (
        uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
        pid int(11) unsigned DEFAULT '0' NOT NULL,
        tstamp int(11) unsigned DEFAULT '0' NOT NULL,
        crdate int(11) unsigned DEFAULT '0' NOT NULL,
        cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
        sorting int(11) unsigned DEFAULT '0' NOT NULL,
        rt_descr_short tinytext NOT NULL,
        rt_descr tinytext NOT NULL,
        allowed_categories varchar(8) DEFAULT '' NOT NULL,
        primary_title tinytext NOT NULL,
        secondary_title tinytext NOT NULL,

        PRIMARY KEY (uid),
        KEY parent (pid)
    );



    #
    # Table structure for table 'tx_partner_reports'
    #
    CREATE TABLE tx_partner_reports (
        uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
        pid int(11) unsigned DEFAULT '0' NOT NULL,
        tstamp int(11) unsigned DEFAULT '0' NOT NULL,
        crdate int(11) unsigned DEFAULT '0' NOT NULL,
        cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
        sorting int(11) unsigned DEFAULT '0' NOT NULL,
        deleted tinyint(4) unsigned DEFAULT '0' NOT NULL,
        hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
        title tinytext NOT NULL,
        query mediumblob NOT NULL,
        field_scope blob NOT NULL,
        contact_info_scope blob NOT NULL,
        processed_values tinyint(4) unsigned DEFAULT '0' NOT NULL,
        tech_keys tinyint(4) unsigned DEFAULT '0' NOT NULL,
        blank_values tinyint(4) unsigned DEFAULT '0' NOT NULL,
        allowed_formats blob NOT NULL,
        format_options mediumblob NOT NULL,
        field_selection mediumblob NOT NULL,
        preview text NOT NULL,

        PRIMARY KEY (uid),
        KEY parent (pid)
    );