<?xml version="1.0" encoding="UTF-8"?>
<glom_document xmlns="http://glom.org/glom_document" database_title="Openismus Film Manager" is_example="true" translation_original_locale="en" format_version="7">
  <connection server="localhost" user="" database="glom_film_production_manager" self_hosted="true" port="5435" try_other_ports="false" hosting_mode="postgres_self"/>
  <table name="accommodation" title="Accommodation">
    <example_rows/>
    <trans_set>
      <trans loc="de" val="Unterkunft"/>
    </trans_set>
    <fields>
      <field name="accommodation_id" primary_key="true" unique="true" auto_increment="true" type="Number" title="Accommodation ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
        <trans_set>
          <trans loc="de" val="Unterkunft ID"/>
        </trans_set>
      </field>
      <field name="description" type="Text" title="Description">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Beschreibung"/>
        </trans_set>
      </field>
      <field name="comments" type="Text" title="Comments">
        <formatting format_text_multiline="true"/>
        <trans_set>
          <trans loc="de" val="Kommentare"/>
        </trans_set>
      </field>
      <field name="address_street" type="Text" title="Street">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Strasse"/>
        </trans_set>
      </field>
      <field name="address_town" type="Text" title="Town">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Ort"/>
        </trans_set>
      </field>
      <field name="address_county" type="Text" title="County">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Bundesland/Kanton"/>
        </trans_set>
      </field>
      <field name="address_country" type="Text" title="Country">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Land"/>
        </trans_set>
      </field>
      <field name="address_postcode" type="Text" title="Postcode">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Postleitzahl"/>
        </trans_set>
      </field>
      <field name="contact_id" type="Number" title="Contact ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
        <trans_set>
          <trans loc="de" val="Kontakt ID"/>
        </trans_set>
      </field>
      <field name="name" type="Text" title="Name">
        <formatting/>
      </field>
    </fields>
    <relationships>
      <relationship name="contacts" key="contact_id" other_table="contacts" other_key="contact_id" title="Contacts">
        <trans_set>
          <trans loc="de" val="Kontakte"/>
        </trans_set>
      </relationship>
    </relationships>
    <data_layouts>
      <data_layout name="details" parent_table="accommodation">
        <data_layout_groups>
          <data_layout_group name="overview" columns_count="2" title="Overview">
            <data_layout_item name="accommodation_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="name" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
          <data_layout_group name="details" columns_count="2">
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_group name="address" title="Address">
              <trans_set>
                <trans loc="de" val="Addresse"/>
              </trans_set>
              <data_layout_item name="address_town" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="address_street" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="address_county" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="address_country" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="address_postcode" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_group>
            <data_layout_group name="contact" title="Contact">
              <trans_set>
                <trans loc="de" val="Kontakt"/>
              </trans_set>
              <data_layout_item name="contact_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="name_full" relationship="contacts" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_group>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="list" parent_table="accommodation">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="accommodation_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="name" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="address_town" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="address_country" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
    </data_layouts>
    <reports/>
    <print_layouts/>
  </table>
  <table name="cars" title="Cars">
    <example_rows>
      <example_row>
        <value column="car_id">0</value>
        <value column="manufacturer">BMW</value>
        <value column="model">E60</value>
        <value column="registration"/>
        <value column="description"/>
        <value column="comment"/>
      </example_row>
      <example_row>
        <value column="car_id">1</value>
        <value column="manufacturer">BMW</value>
        <value column="model">Z4</value>
        <value column="registration"/>
        <value column="description"/>
        <value column="comment"/>
      </example_row>
      <example_row>
        <value column="car_id">2</value>
        <value column="manufacturer">Mercedes</value>
        <value column="model">M111</value>
        <value column="registration"/>
        <value column="description"/>
        <value column="comment"/>
      </example_row>
    </example_rows>
    <trans_set>
      <trans loc="de" val="Autos"/>
    </trans_set>
    <title_singular title="Car"/>
    <fields>
      <field name="car_id" primary_key="true" unique="true" auto_increment="true" type="Number" title="Car ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
        <trans_set>
          <trans loc="de" val="Auto ID"/>
        </trans_set>
      </field>
      <field name="manufacturer" type="Text" title="Manufacturer">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Hersteller"/>
        </trans_set>
      </field>
      <field name="model" type="Text" title="Model">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Model"/>
        </trans_set>
      </field>
      <field name="registration" type="Text" title="Registration">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Kennzeichnung"/>
        </trans_set>
      </field>
      <field name="description" type="Text" title="Description">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Beschreibung"/>
        </trans_set>
      </field>
      <field name="comment" type="Text" title="Comment">
        <formatting format_text_multiline="true"/>
        <trans_set>
          <trans loc="de" val="Kommentar"/>
        </trans_set>
      </field>
    </fields>
    <relationships/>
    <data_layouts>
      <data_layout name="details" parent_table="cars">
        <data_layout_groups>
          <data_layout_group name="overview" columns_count="2" title="Overview">
            <trans_set>
              <trans loc="de" val="Übersicht"/>
            </trans_set>
            <data_layout_item name="car_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="registration" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
          <data_layout_group name="details" columns_count="2" title="Details">
            <trans_set>
              <trans loc="de" val="Details"/>
            </trans_set>
            <data_layout_item name="manufacturer" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="model" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="comment" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="list" parent_table="cars">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="car_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="manufacturer" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="model" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="registration" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="comment" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
    </data_layouts>
    <reports/>
    <print_layouts/>
  </table>
  <table name="characters" title="Characters">
    <example_rows>
      <example_row>
        <value column="character_id">1</value>
        <value column="character">Bar Owner</value>
        <value column="comments"/>
        <value column="contact_id">5</value>
        <value column="mainpart">FALSE</value>
      </example_row>
      <example_row>
        <value column="character_id">2</value>
        <value column="character">Mysterious McEvil</value>
        <value column="comments"/>
        <value column="contact_id">4</value>
        <value column="mainpart">FALSE</value>
      </example_row>
      <example_row>
        <value column="character_id">3</value>
        <value column="character">Sherif Heavypants</value>
        <value column="comments">Would rather have late-night talk show.</value>
        <value column="contact_id">6</value>
        <value column="mainpart">FALSE</value>
      </example_row>
      <example_row>
        <value column="character_id">0</value>
        <value column="character">Hero Protagonist</value>
        <value column="comments"/>
        <value column="contact_id">3</value>
        <value column="mainpart">TRUE</value>
      </example_row>
    </example_rows>
    <trans_set>
      <trans loc="de" val="Besetzung"/>
    </trans_set>
    <title_singular title="Character"/>
    <fields>
      <field name="character_id" primary_key="true" unique="true" type="Number" title="Cast ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
        <trans_set>
          <trans loc="de" val="Besetzung ID"/>
        </trans_set>
      </field>
      <field name="character" type="Text" title="Character">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Charakter"/>
        </trans_set>
      </field>
      <field name="comments" type="Text" title="Comments">
        <formatting format_text_multiline="true"/>
        <trans_set>
          <trans loc="de" val="Kommentar"/>
        </trans_set>
      </field>
      <field name="contact_id" type="Number" title="Contact ID">
        <formatting format_thousands_separator="true" format_decimal_places="2" choices_related="true" choices_related_relationship="contacts_actor" choices_related_field="contact_id" choices_related_show_all="true">
          <choices_related_extra_layout>
            <data_layout_groups>
              <data_layout_group>
                <data_layout_item name="name_full" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
            </data_layout_groups>
          </choices_related_extra_layout>
        </formatting>
        <trans_set>
          <trans loc="de" val="Kontakt ID"/>
        </trans_set>
      </field>
      <field name="mainpart" default_value="FALSE" type="Boolean" title="Main Part">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Hauptrolle"/>
        </trans_set>
      </field>
    </fields>
    <relationships>
      <relationship name="contacts_actor" key="contact_id" other_table="contacts" other_key="contact_id" title="Actor">
        <trans_set>
          <trans loc="de" val="Schauspieler"/>
        </trans_set>
      </relationship>
      <relationship name="scenes" key="character_id" other_table="scene_cast" other_key="cast_id" title="Scenes"/>
    </relationships>
    <data_layouts>
      <data_layout name="details" parent_table="cast">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_group name="overview" columns_count="2" title="Overview">
              <trans_set>
                <trans loc="de" val="Übersicht"/>
              </trans_set>
              <data_layout_item name="character_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="character" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="mainpart" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_group>
            <data_layout_group name="details" columns_count="2" title="Details">
              <trans_set>
                <trans loc="de" val="Details"/>
              </trans_set>
              <data_layout_group name="actor" title="Actor">
                <trans_set>
                  <trans loc="de" val="Schauspieler"/>
                </trans_set>
                <data_layout_item name="contact_id" editable="true" use_default_formatting="true">
                  <formatting format_thousands_separator="true" format_decimal_places="2"/>
                </data_layout_item>
                <data_layout_item name="name_full" relationship="contacts_actor" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="address_street1" relationship="contacts_actor" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="address_street2" relationship="contacts_actor" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="address_town" relationship="contacts_actor" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="address_country" relationship="contacts_actor" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="address_postcode" relationship="contacts_actor" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="picture" relationship="contacts_actor" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="agent_id" relationship="contacts_actor" editable="true" use_default_formatting="true">
                  <formatting format_thousands_separator="true" format_decimal_places="2"/>
                </data_layout_item>
                <data_layout_item name="name_full" relationship="contacts_actor" related_relationship="agent" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
              <data_layout_group name="agent">
                <data_layout_item name="agent_id" relationship="contacts_actor" editable="true" use_default_formatting="true">
                  <formatting format_thousands_separator="true" format_decimal_places="2"/>
                </data_layout_item>
                <data_layout_item name="name_full" relationship="contacts_actor" related_relationship="agent" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="tel_work" relationship="contacts_actor" related_relationship="agent" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
              <data_layout_portal relationship="scenes" portal_rows_count_min="6" portal_rows_count_max="6">
                <data_layout_item name="scene_id" editable="true" use_default_formatting="true">
                  <formatting format_thousands_separator="true" format_decimal_places="2"/>
                </data_layout_item>
                <data_layout_item name="description" relationship="scene" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_portal>
              <data_layout_item name="comments" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_group>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="list" parent_table="cast">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="character_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="character" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="contact_id" editable="true" use_default_formatting="true">
              <title_custom use_custom="true" title="Actor's Contact ID">
                <trans_set>
                  <trans loc="de" val="Schauspieler Kontakt ID"/>
                </trans_set>
              </title_custom>
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="name_full" relationship="contacts_actor" editable="true" use_default_formatting="true">
              <title_custom use_custom="true" title="Actor's Name">
                <trans_set>
                  <trans loc="de" val="Schauspieler Name"/>
                </trans_set>
              </title_custom>
              <formatting/>
            </data_layout_item>
            <data_layout_item name="mainpart" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="details" parent_table="characters">
        <data_layout_groups>
          <data_layout_group name="overview" columns_count="2" title="Overview">
            <data_layout_item name="character_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="character" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
          <data_layout_group name="details" columns_count="2" title="Details">
            <data_layout_item name="mainpart" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_group name="actor" title="Actor">
              <data_layout_item name="contact_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="name_full" relationship="contacts_actor" editable="true" use_default_formatting="true">
                <title_custom use_custom="true" title="Actor's Name">
                  <trans_set>
                    <trans loc="de" val="Schauspieler Name"/>
                  </trans_set>
                </title_custom>
                <formatting/>
              </data_layout_item>
            </data_layout_group>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
          <data_layout_group name="scenes">
            <data_layout_portal relationship="scenes" portal_rows_count_min="6" portal_rows_count_max="6">
              <data_layout_item name="scene_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="overview_name" relationship="scene" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="interior_or_exterior" relationship="scene" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="day_or_night" relationship="scene" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="minutes" relationship="scene" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
            </data_layout_portal>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="list" parent_table="characters">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="character_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="character" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="contact_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="name_full" relationship="contacts_actor" editable="true" use_default_formatting="true">
              <title_custom use_custom="true" title="Actor"/>
              <formatting/>
            </data_layout_item>
            <data_layout_item name="mainpart" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
    </data_layouts>
    <reports>
      <report name="cast_list" title="Cast List">
        <data_layout_groups>
          <data_layout_group>
            <data_layout_item_header>
              <data_layout_item name="org_name" relationship="system_properties" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="org_logo" relationship="system_properties" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_item_header>
            <data_layout_item_groupby border_width="0.05">
              <sortby>
                <data_layout_item name="mainpart" editable="true" use_default_formatting="true"/>
                <data_layout_item name="character" editable="true" use_default_formatting="true" sort_ascending="true"/>
              </sortby>
              <data_layout_item name="character_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="character" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="name_full" relationship="contacts_actor" editable="true" use_default_formatting="true">
                <title_custom use_custom="true" title="Actor">
                  <trans_set>
                    <trans loc="de" val="Schauspieler"/>
                  </trans_set>
                </title_custom>
                <formatting/>
              </data_layout_item>
              <data_layout_item name="picture" relationship="contacts_actor" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item_verticalgroup>
                <data_layout_item name="name_full" relationship="contacts_actor" related_relationship="agent" editable="true" use_default_formatting="true">
                  <title_custom use_custom="true" title="Agent"/>
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="tel_work" relationship="contacts_actor" related_relationship="agent" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_item_verticalgroup>
            </data_layout_item_groupby>
          </data_layout_group>
        </data_layout_groups>
        <trans_set>
          <trans loc="de" val="Besetzungsliste"/>
        </trans_set>
      </report>
    </reports>
    <print_layouts/>
  </table>
  <table name="companies" title="Companies">
    <example_rows>
      <example_row>
        <value column="company_id">0</value>
        <value column="name">Openismus GmbH</value>
        <value column="comments">Creators of Glom</value>
        <value column="description">Software Development</value>
        <value column="logo"/>
        <value column="website"/>
      </example_row>
      <example_row>
        <value column="company_id">1</value>
        <value column="name">Wombles Catering Ltd</value>
        <value column="comments"/>
        <value column="description"/>
        <value column="logo"/>
        <value column="website"/>
      </example_row>
      <example_row>
        <value column="company_id">2</value>
        <value column="name">Scooby Snack Catering Ltd</value>
        <value column="comments"/>
        <value column="description"/>
        <value column="logo"/>
        <value column="website"/>
      </example_row>
      <example_row>
        <value column="company_id">3</value>
        <value column="name">Management International</value>
        <value column="comments"/>
        <value column="description">Agents and Managers</value>
        <value column="logo"/>
        <value column="website"/>
      </example_row>
      <example_row>
        <value column="company_id">4</value>
        <value column="name">Talent Schmalent</value>
        <value column="comments"/>
        <value column="description">Agents and Managers</value>
        <value column="logo"/>
        <value column="website"/>
      </example_row>
      <example_row>
        <value column="company_id">5</value>
        <value column="name"/>
        <value column="comments"/>
        <value column="description"/>
        <value column="logo"/>
        <value column="website"/>
      </example_row>
    </example_rows>
    <trans_set>
      <trans loc="de" val="Firmen"/>
    </trans_set>
    <title_singular title="Company"/>
    <fields>
      <field name="company_id" primary_key="true" unique="true" auto_increment="true" type="Number" title="Company ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
        <trans_set>
          <trans loc="de" val="Firma ID"/>
        </trans_set>
      </field>
      <field name="name" type="Text" title="Name">
        <formatting/>
      </field>
      <field name="comments" type="Text" title="Comments">
        <formatting format_text_multiline="true"/>
        <trans_set>
          <trans loc="de" val="Kommentar"/>
        </trans_set>
      </field>
      <field name="description" type="Text" title="Description">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Beschreibung"/>
        </trans_set>
      </field>
      <field name="logo" type="Image" title="Logo">
        <formatting/>
      </field>
      <field name="website" type="Text" title="Web Site">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Website"/>
        </trans_set>
      </field>
    </fields>
    <relationships>
      <relationship name="staff" key="company_id" other_table="contacts" other_key="company_id" auto_create="true" allow_edit="true" title="Staff">
        <trans_set>
          <trans loc="de" val="Angestellte"/>
        </trans_set>
      </relationship>
    </relationships>
    <data_layouts>
      <data_layout name="details" parent_table="companies">
        <data_layout_groups>
          <data_layout_group name="overview" columns_count="2" title="Overview">
            <trans_set>
              <trans loc="de" val="Übersicht"/>
            </trans_set>
            <data_layout_item name="company_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="name" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
          <data_layout_group name="details" columns_count="2" title="Details">
            <trans_set>
              <trans loc="de" val="Details"/>
            </trans_set>
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="logo" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="website" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
          <data_layout_group name="others">
            <data_layout_portal relationship="staff" portal_rows_count_min="6" portal_rows_count_max="6">
              <data_layout_item name="contact_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="name_first" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="name_last" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="tel_work" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="email" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_portal>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="list" parent_table="companies">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="company_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="name" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
    </data_layouts>
    <reports/>
    <print_layouts/>
  </table>
  <table name="contacts" title="Contacts">
    <example_rows>
      <example_row>
        <value column="contact_id">0</value>
        <value column="name_first">Murray</value>
        <value column="name_middle"/>
        <value column="name_last">Cumming</value>
        <value column="name_title"/>
        <value column="address_street2"/>
        <value column="address_town">Munich</value>
        <value column="address_state">Bavaria</value>
        <value column="address_country">Germany</value>
        <value column="address_postcode">80400</value>
        <value column="date_of_birth"/>
        <value column="comments"/>
        <value column="name_full">Murray Cumming</value>
        <value column="company_id">0</value>
        <value column="picture"/>
        <value column="tel_home"/>
        <value column="tel_mobile"/>
        <value column="tel_fax"/>
        <value column="tel_work"/>
        <value column="email"/>
        <value column="address_street1">Falschstrasse 123</value>
        <value column="website"/>
        <value column="agent_id"/>
        <value column="stagename"/>
      </example_row>
      <example_row>
        <value column="contact_id">1</value>
        <value column="name_first">Jerry</value>
        <value column="name_middle"/>
        <value column="name_last">Maguire</value>
        <value column="name_title"/>
        <value column="address_street2"/>
        <value column="address_town"/>
        <value column="address_state"/>
        <value column="address_country"/>
        <value column="address_postcode"/>
        <value column="date_of_birth"/>
        <value column="comments"/>
        <value column="name_full">Jerry Maguire</value>
        <value column="company_id">3</value>
        <value column="picture"/>
        <value column="tel_home"/>
        <value column="tel_mobile"/>
        <value column="tel_fax"/>
        <value column="tel_work"/>
        <value column="email"/>
        <value column="address_street1"/>
        <value column="website"/>
        <value column="agent_id"/>
        <value column="stagename"/>
      </example_row>
      <example_row>
        <value column="contact_id">2</value>
        <value column="name_first">Johnny</value>
        <value column="name_middle"/>
        <value column="name_last">McAgent</value>
        <value column="name_title"/>
        <value column="address_street2"/>
        <value column="address_town"/>
        <value column="address_state"/>
        <value column="address_country"/>
        <value column="address_postcode"/>
        <value column="date_of_birth"/>
        <value column="comments"/>
        <value column="name_full">Johnny McAgent</value>
        <value column="company_id">4</value>
        <value column="picture"/>
        <value column="tel_home"/>
        <value column="tel_mobile"/>
        <value column="tel_fax"/>
        <value column="tel_work"/>
        <value column="email"/>
        <value column="address_street1"/>
        <value column="website"/>
        <value column="agent_id"/>
        <value column="stagename"/>
      </example_row>
      <example_row>
        <value column="contact_id">3</value>
        <value column="name_first">Andrew</value>
        <value column="name_middle"/>
        <value column="name_last">O'Actor</value>
        <value column="name_title"/>
        <value column="address_street2"/>
        <value column="address_town"/>
        <value column="address_state"/>
        <value column="address_country"/>
        <value column="address_postcode"/>
        <value column="date_of_birth"/>
        <value column="comments"/>
        <value column="name_full">Andrew O'Actor</value>
        <value column="company_id"/>
        <value column="picture"/>
        <value column="tel_home"/>
        <value column="tel_mobile"/>
        <value column="tel_fax"/>
        <value column="tel_work"/>
        <value column="email"/>
        <value column="address_street1"/>
        <value column="website"/>
        <value column="agent_id"/>
        <value column="stagename"/>
      </example_row>
      <example_row>
        <value column="contact_id">4</value>
        <value column="name_first">Sharon</value>
        <value column="name_middle"/>
        <value column="name_last">Von Schauspieler</value>
        <value column="name_title"/>
        <value column="address_street2"/>
        <value column="address_town"/>
        <value column="address_state"/>
        <value column="address_country"/>
        <value column="address_postcode"/>
        <value column="date_of_birth"/>
        <value column="comments"/>
        <value column="name_full">Sharon Von Schauspieler</value>
        <value column="company_id"/>
        <value column="picture"/>
        <value column="tel_home"/>
        <value column="tel_mobile"/>
        <value column="tel_fax"/>
        <value column="tel_work"/>
        <value column="email"/>
        <value column="address_street1"/>
        <value column="website"/>
        <value column="agent_id"/>
        <value column="stagename"/>
      </example_row>
      <example_row>
        <value column="contact_id">5</value>
        <value column="name_first">Mook</value>
        <value column="name_middle"/>
        <value column="name_last">Mookity</value>
        <value column="name_title"/>
        <value column="address_street2"/>
        <value column="address_town"/>
        <value column="address_state"/>
        <value column="address_country"/>
        <value column="address_postcode"/>
        <value column="date_of_birth"/>
        <value column="comments"/>
        <value column="name_full">Mook Mookity</value>
        <value column="company_id"/>
        <value column="picture"/>
        <value column="tel_home"/>
        <value column="tel_mobile"/>
        <value column="tel_fax"/>
        <value column="tel_work"/>
        <value column="email"/>
        <value column="address_street1"/>
        <value column="website"/>
        <value column="agent_id"/>
        <value column="stagename"/>
      </example_row>
      <example_row>
        <value column="contact_id">6</value>
        <value column="name_first">Rupert</value>
        <value column="name_middle"/>
        <value column="name_last">Pupkin</value>
        <value column="name_title"/>
        <value column="address_street2"/>
        <value column="address_town"/>
        <value column="address_state"/>
        <value column="address_country"/>
        <value column="address_postcode"/>
        <value column="date_of_birth"/>
        <value column="comments"/>
        <value column="name_full">Rupert Pupkin</value>
        <value column="company_id"/>
        <value column="picture"/>
        <value column="tel_home"/>
        <value column="tel_mobile"/>
        <value column="tel_fax"/>
        <value column="tel_work"/>
        <value column="email"/>
        <value column="address_street1"/>
        <value column="website"/>
        <value column="agent_id"/>
        <value column="stagename"/>
      </example_row>
      <example_row>
        <value column="contact_id">7</value>
        <value column="name_first">Cal</value>
        <value column="name_middle"/>
        <value column="name_last">McCamera</value>
        <value column="name_title"/>
        <value column="address_street2"/>
        <value column="address_town"/>
        <value column="address_state"/>
        <value column="address_country"/>
        <value column="address_postcode"/>
        <value column="date_of_birth"/>
        <value column="comments"/>
        <value column="name_full">Cal McCamera</value>
        <value column="company_id"/>
        <value column="picture"/>
        <value column="tel_home"/>
        <value column="tel_mobile"/>
        <value column="tel_fax"/>
        <value column="tel_work"/>
        <value column="email"/>
        <value column="address_street1"/>
        <value column="website"/>
        <value column="agent_id">2</value>
        <value column="stagename"/>
      </example_row>
      <example_row>
        <value column="contact_id">8</value>
        <value column="name_first">Sol</value>
        <value column="name_middle"/>
        <value column="name_last">McSound</value>
        <value column="name_title"/>
        <value column="address_street2"/>
        <value column="address_town"/>
        <value column="address_state"/>
        <value column="address_country"/>
        <value column="address_postcode"/>
        <value column="date_of_birth"/>
        <value column="comments"/>
        <value column="name_full">Sol McSound</value>
        <value column="company_id"/>
        <value column="picture"/>
        <value column="tel_home"/>
        <value column="tel_mobile"/>
        <value column="tel_fax"/>
        <value column="tel_work"/>
        <value column="email"/>
        <value column="address_street1"/>
        <value column="website"/>
        <value column="agent_id">2</value>
        <value column="stagename"/>
      </example_row>
    </example_rows>
    <trans_set>
      <trans loc="de" val="Kontakte"/>
    </trans_set>
    <title_singular title="Contact"/>
    <fields>
      <field name="contact_id" primary_key="true" unique="true" auto_increment="true" type="Number" title="Contact ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
        <trans_set>
          <trans loc="de" val="Kontakt ID"/>
        </trans_set>
      </field>
      <field name="name_first" type="Text" title="First Name">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Vorname"/>
        </trans_set>
      </field>
      <field name="name_middle" type="Text" title="Second Name">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Zweiter Name"/>
        </trans_set>
      </field>
      <field name="name_last" type="Text" title="Last Name">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Familiename"/>
        </trans_set>
      </field>
      <field name="name_title" type="Text" title="Title">
        <formatting choices_custom="true">
          <custom_choice_list>
            <custom_choice value="Mr"/>
            <custom_choice value="Ms"/>
            <custom_choice value="Mrs"/>
            <custom_choice value="Miss"/>
            <custom_choice value="Dr"/>
            <custom_choice value="Prof"/>
          </custom_choice_list>
        </formatting>
        <trans_set>
          <trans loc="de" val="Titel"/>
        </trans_set>
      </field>
      <field name="address_street2" type="Text" title="Street (line 2)">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Strasse (2)"/>
        </trans_set>
      </field>
      <field name="address_town" type="Text" title="Town">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Ort"/>
        </trans_set>
      </field>
      <field name="address_state" type="Text" title="State">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Bundesland/Kanton"/>
        </trans_set>
      </field>
      <field name="address_country" type="Text" title="Country">
        <formatting choices_custom="true">
          <custom_choice_list>
            <custom_choice value="Germany"/>
            <custom_choice value="United Kingdom"/>
            <custom_choice value="USA"/>
            <custom_choice value="France"/>
            <custom_choice value="Spain"/>
          </custom_choice_list>
        </formatting>
        <trans_set>
          <trans loc="de" val="Land"/>
        </trans_set>
      </field>
      <field name="address_postcode" type="Text" title="Postcode">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Postleitzahl"/>
        </trans_set>
      </field>
      <field name="date_of_birth" type="Date" title="Date Of Birth">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Geburtsdatum"/>
        </trans_set>
      </field>
      <field name="comments" type="Text" title="Comments">
        <formatting format_text_multiline="true"/>
        <trans_set>
          <trans loc="de" val="Kommentare"/>
        </trans_set>
      </field>
      <field name="name_full" type="Text" title="Full Name">
        <calculation>return record["name_first"] + " " + record["name_last"]</calculation>
        <formatting/>
        <trans_set>
          <trans loc="de" val="Vollständiger Name"/>
        </trans_set>
      </field>
      <field name="company_id" type="Number" title="Company ID">
        <formatting format_thousands_separator="true" format_decimal_places="2" choices_related="true" choices_related_relationship="company" choices_related_field="company_id" choices_related_show_all="true">
          <choices_related_extra_layout>
            <data_layout_groups>
              <data_layout_group>
                <data_layout_item name="name" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
            </data_layout_groups>
          </choices_related_extra_layout>
        </formatting>
        <trans_set>
          <trans loc="de" val="Firma ID"/>
        </trans_set>
      </field>
      <field name="picture" type="Image" title="Picture">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Bild"/>
        </trans_set>
      </field>
      <field name="tel_home" type="Text" title="Home Telephone">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Telefon (Privat)"/>
        </trans_set>
      </field>
      <field name="tel_mobile" type="Text" title="Mobile Telephone">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Telefon (Handy)"/>
        </trans_set>
      </field>
      <field name="tel_fax" type="Text" title="Fax">
        <formatting/>
      </field>
      <field name="tel_work" type="Text" title="Work Telephone">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Telefon (Buro)"/>
        </trans_set>
      </field>
      <field name="email" type="Text" title="Email">
        <formatting/>
        <trans_set>
          <trans loc="de" val="E-Mail"/>
        </trans_set>
      </field>
      <field name="address_street1" type="Text" title="Street (line 1)">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Strasse (1)"/>
        </trans_set>
      </field>
      <field name="website" type="Text" title="Web Site">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Website"/>
        </trans_set>
      </field>
      <field name="agent_id" type="Number" title="Agent ID">
        <formatting format_thousands_separator="true" format_decimal_places="2" choices_related="true" choices_related_relationship="agent" choices_related_field="contact_id" choices_related_show_all="true">
          <choices_related_extra_layout>
            <data_layout_groups>
              <data_layout_group>
                <data_layout_item name="name_full" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
            </data_layout_groups>
          </choices_related_extra_layout>
        </formatting>
      </field>
      <field name="stagename" type="Text" title="Stagename">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Künstlername"/>
        </trans_set>
      </field>
    </fields>
    <relationships>
      <relationship name="company" key="company_id" other_table="companies" other_key="company_id" auto_create="true" allow_edit="true" title="Company">
        <trans_set>
          <trans loc="de" val="Firma"/>
        </trans_set>
      </relationship>
      <relationship name="agent" key="agent_id" other_table="contacts" other_key="contact_id" title="Agent"/>
      <relationship name="crew" key="contact_id" other_table="crew" other_key="contact_id" title="Crew"/>
      <relationship name="cast" key="contact_id" other_table="characters" other_key="contact_id" title="Cast"/>
    </relationships>
    <data_layouts>
      <data_layout name="details" parent_table="contacts">
        <data_layout_groups>
          <data_layout_group name="overview" columns_count="2" title="Overview">
            <trans_set>
              <trans loc="de" val="Übersicht"/>
            </trans_set>
            <data_layout_item name="contact_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="name_full" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
          <data_layout_group name="details" columns_count="2" title="Details">
            <trans_set>
              <trans loc="de" val="Details"/>
            </trans_set>
            <data_layout_notebook name="notebook_contact">
              <data_layout_group name="name" title="Name">
                <trans_set>
                  <trans loc="de" val="Name"/>
                </trans_set>
                <data_layout_item name="name_title" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="name_first" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="name_middle" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="name_last" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
              <data_layout_group name="company" title="Company">
                <trans_set>
                  <trans loc="de" val="Firma"/>
                </trans_set>
                <data_layout_item name="company_id" editable="true" use_default_formatting="true">
                  <formatting format_thousands_separator="true" format_decimal_places="2"/>
                </data_layout_item>
                <data_layout_item name="name" relationship="company" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
              <data_layout_group name="address" title="Address">
                <trans_set>
                  <trans loc="de" val="Addresse"/>
                </trans_set>
                <data_layout_item name="address_street1" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="address_street2" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="address_town" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="address_state" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="address_country" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="address_postcode" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
              <data_layout_group name="telephone" title="Telephone">
                <trans_set>
                  <trans loc="de" val="Telefon"/>
                </trans_set>
                <data_layout_item name="tel_work" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="tel_mobile" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="tel_home" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="tel_fax" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
              <data_layout_group name="agent" title="Agent">
                <trans_set>
                  <trans loc="de" val="Agent"/>
                </trans_set>
                <data_layout_item name="agent_id" editable="true" use_default_formatting="true">
                  <formatting format_thousands_separator="true" format_decimal_places="2"/>
                </data_layout_item>
                <data_layout_item name="name_full" relationship="agent" editable="true" use_default_formatting="true">
                  <title_custom/>
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
            </data_layout_notebook>
            <data_layout_notebook name="notebook_related">
              <data_layout_portal relationship="crew" portal_rows_count_min="6" portal_rows_count_max="6">
                <data_layout_item name="crew_id" editable="true" use_default_formatting="true">
                  <formatting format_thousands_separator="true" format_decimal_places="2"/>
                </data_layout_item>
                <data_layout_item name="description" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_portal>
              <data_layout_portal relationship="cast" portal_rows_count_min="6" portal_rows_count_max="6">
                <data_layout_item name="character_id" editable="true" use_default_formatting="true">
                  <formatting format_thousands_separator="true" format_decimal_places="2"/>
                </data_layout_item>
                <data_layout_item name="character" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="mainpart" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_portal>
            </data_layout_notebook>
            <data_layout_item name="email" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="website" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="date_of_birth" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="picture" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting format_text_multiline="true"/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="list" parent_table="contacts">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="contact_id" editable="true" use_default_formatting="true">
              <title_custom/>
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="name_first" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="name_last" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="address_country" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="name" relationship="company" editable="true" use_default_formatting="true">
              <title_custom use_custom="true" title="Company Name"/>
              <formatting/>
            </data_layout_item>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
    </data_layouts>
    <reports>
      <report name="by_country" title="Contacts By Country">
        <data_layout_groups>
          <data_layout_group>
            <data_layout_item_groupby>
              <data_layout_item name="character_id" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="name_full" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_item_groupby>
          </data_layout_group>
        </data_layout_groups>
      </report>
      <report name="by_country_by_town" title="By Country, By Town">
        <data_layout_groups>
          <data_layout_group>
            <data_layout_item_groupby>
              <data_layout_item_groupby>
                <data_layout_item name="character_id" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="name_full" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="address_postcode" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_item_groupby>
            </data_layout_item_groupby>
          </data_layout_group>
        </data_layout_groups>
      </report>
    </reports>
    <print_layouts>
      <print_layout name="contact_details" show_table_title="true" show_grid="true" show_rules="true" show_outlines="true" page_count="2" title="Contact Details">
        <page_setup>
[Page Setup]
PPDName=Letter
DisplayName=US Letter
Width=215.89999389648438
Height=279.39999389648438
MarginTop=6.3499999999999996
MarginBottom=14.224
MarginLeft=6.3499999999999996
MarginRight=6.3499999999999996
Orientation=portrait
</page_setup>
        <data_layout_groups>
          <data_layout_group>
            <data_layout_text>
              <text title="Contacts"/>
              <formatting font="Sans Bold 12"/>
              <position x="12" y="12" width="60" height="6"/>
            </data_layout_text>
            <data_layout_text>
              <text title="Overview"/>
              <formatting font="Sans Bold 10"/>
              <position x="12" y="24" width="191.55" height="6"/>
            </data_layout_text>
            <data_layout_text>
              <text title="Contact ID:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="36" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="contact_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
              <position x="78" y="36" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="Full Name:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="48" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="name_full" editable="true" use_default_formatting="true">
              <formatting/>
              <position x="78" y="48" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="Details"/>
              <formatting font="Sans Bold 10"/>
              <position x="12" y="60" width="191.55" height="6"/>
            </data_layout_text>
            <data_layout_text>
              <text title="Name"/>
              <formatting font="Sans Bold 10"/>
              <position x="12" y="72" width="191.55" height="6"/>
            </data_layout_text>
            <data_layout_text>
              <text title="Title:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="84" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="name_title" editable="true" use_default_formatting="true">
              <formatting/>
              <position x="78" y="84" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="First Name:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="96" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="name_first" editable="true" use_default_formatting="true">
              <formatting/>
              <position x="78" y="96" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="Second Name:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="108" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="name_middle" editable="true" use_default_formatting="true">
              <formatting/>
              <position x="78" y="108" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="Last Name:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="120" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="name_last" editable="true" use_default_formatting="true">
              <formatting/>
              <position x="78" y="120" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="Company"/>
              <formatting font="Sans Bold 10"/>
              <position x="12" y="132" width="191.55" height="6"/>
            </data_layout_text>
            <data_layout_text>
              <text title="Company ID:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="144" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="company_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
              <position x="78" y="144" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="Name:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="156" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="name" relationship="company" editable="true" use_default_formatting="true">
              <formatting/>
              <position x="78" y="156" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="Address"/>
              <formatting font="Sans Bold 10"/>
              <position x="12" y="168" width="191.55" height="6"/>
            </data_layout_text>
            <data_layout_text>
              <text title="Street (line 1):"/>
              <formatting font="Sans 10"/>
              <position x="12" y="180" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="address_street1" editable="true" use_default_formatting="true">
              <formatting/>
              <position x="78" y="180" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="Street (line 2):"/>
              <formatting font="Sans 10"/>
              <position x="12" y="192" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="address_street2" editable="true" use_default_formatting="true">
              <formatting/>
              <position x="78" y="192" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="Town:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="204" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="address_town" editable="true" use_default_formatting="true">
              <formatting/>
              <position x="78" y="204" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="State:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="216" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="address_state" editable="true" use_default_formatting="true">
              <formatting/>
              <position x="78" y="216" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="Country:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="228" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="address_country" editable="true" use_default_formatting="true">
              <formatting/>
              <position x="78" y="228" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="Postcode:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="240" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="address_postcode" editable="true" use_default_formatting="true">
              <formatting/>
              <position x="78" y="240" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="Telephone"/>
              <formatting font="Sans Bold 10"/>
              <position x="12" y="252" width="191.55" height="6"/>
            </data_layout_text>
            <data_layout_text>
              <text title="Work Telephone:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="291.75" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="tel_work" editable="true" use_default_formatting="true">
              <formatting/>
              <position x="78" y="291.75" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="Mobile Telephone:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="303.75" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="tel_mobile" editable="true" use_default_formatting="true">
              <formatting/>
              <position x="78" y="303.75" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="Home Telephone:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="315.75" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="tel_home" editable="true" use_default_formatting="true">
              <formatting/>
              <position x="78" y="315.75" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="Fax:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="327.75" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="tel_fax" editable="true" use_default_formatting="true">
              <formatting/>
              <position x="78" y="327.75" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="Agent"/>
              <formatting font="Sans Bold 10"/>
              <position x="12" y="339.75" width="191.55" height="6"/>
            </data_layout_text>
            <data_layout_text>
              <text title="Agent ID:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="351.75" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="agent_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
              <position x="78" y="351.75" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="Full Name:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="363.75" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="name_full" relationship="agent" editable="true" use_default_formatting="true">
              <title_custom/>
              <formatting/>
              <position x="78" y="363.75" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="Crew"/>
              <formatting font="Sans Bold 10"/>
              <position x="12" y="375.75" width="191.55" height="6"/>
            </data_layout_text>
            <data_layout_portal relationship="crew" portal_rows_count_min="1" portal_rows_count_max="100" row_height="6">
              <position x="12" y="387.75" width="191.55" height="6"/>
              <data_layout_item name="crew_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="description" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_portal>
            <data_layout_text>
              <text title="Cast"/>
              <formatting font="Sans Bold 10"/>
              <position x="12" y="399.75" width="191.55" height="6"/>
            </data_layout_text>
            <data_layout_portal relationship="cast" portal_rows_count_min="6" portal_rows_count_max="10" row_height="6" column_line_color="rgba(0,0,0,0)" line_color="rgba(0,0,0,0)">
              <position x="12" y="411.75" width="192" height="62.25"/>
              <data_layout_item name="character_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="character" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="mainpart" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_portal>
            <data_layout_text>
              <text title="Email:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="480" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="email" editable="true" use_default_formatting="true">
              <formatting/>
              <position x="78" y="480" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="Web Site:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="492" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="website" editable="true" use_default_formatting="true">
              <formatting/>
              <position x="78" y="492" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="Date Of Birth:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="504" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="date_of_birth" editable="true" use_default_formatting="true">
              <formatting/>
              <position x="78" y="504" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="Picture:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="516" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="picture" editable="true" use_default_formatting="true">
              <formatting/>
              <position x="78" y="516" width="125.55" height="6"/>
            </data_layout_item>
            <data_layout_text>
              <text title="Comments:"/>
              <formatting font="Sans 10"/>
              <position x="12" y="528" width="60" height="6"/>
            </data_layout_text>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting format_text_multiline="true"/>
              <position x="78" y="528" width="125.55" height="36"/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
        <trans_set>
          <trans loc="de" val="Kontakt Details"/>
        </trans_set>
      </print_layout>
    </print_layouts>
  </table>
  <table name="costume" title="Costume">
    <example_rows>
      <example_row>
        <value column="costume_id">0</value>
        <value column="description">Spangled Leather</value>
        <value column="comments"/>
        <value column="name">Poncho</value>
      </example_row>
      <example_row>
        <value column="costume_id">1</value>
        <value column="description"/>
        <value column="comments"/>
        <value column="name">Black Hat</value>
      </example_row>
      <example_row>
        <value column="costume_id">2</value>
        <value column="description"/>
        <value column="comments"/>
        <value column="name">Denim Dungarees</value>
      </example_row>
      <example_row>
        <value column="costume_id">3</value>
        <value column="description"/>
        <value column="comments"/>
        <value column="name">Yellow Shirt</value>
      </example_row>
    </example_rows>
    <fields>
      <field name="costume_id" primary_key="true" auto_increment="true" type="Number" title="Costume ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
      </field>
      <field name="description" type="Text" title="Description">
        <formatting/>
      </field>
      <field name="comments" type="Text" title="Comments">
        <formatting format_text_multiline="true"/>
      </field>
      <field name="name" type="Text" title="Name">
        <formatting/>
      </field>
    </fields>
    <relationships/>
    <data_layouts>
      <data_layout name="list" parent_table="costume">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="costume_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="name" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="details" parent_table="costume">
        <data_layout_groups>
          <data_layout_group name="overview" columns_count="2" title="Overview">
            <data_layout_item name="costume_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="name" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
          <data_layout_group name="details" columns_count="2" title="Details">
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
    </data_layouts>
    <reports/>
    <print_layouts/>
  </table>
  <table name="crew" title="Crew">
    <example_rows>
      <example_row>
        <value column="crew_id">0</value>
        <value column="description">Main Camera Man</value>
        <value column="comments"/>
        <value column="dept_id">1</value>
        <value column="contact_id">7</value>
      </example_row>
      <example_row>
        <value column="crew_id">1</value>
        <value column="description">Chief Sound Man</value>
        <value column="comments"/>
        <value column="dept_id">0</value>
        <value column="contact_id">8</value>
      </example_row>
    </example_rows>
    <fields>
      <field name="crew_id" primary_key="true" unique="true" auto_increment="true" type="Number" title="Crew ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
      </field>
      <field name="description" type="Text" title="Description">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Beschreibung"/>
        </trans_set>
      </field>
      <field name="comments" type="Text" title="Comments">
        <formatting format_text_multiline="true"/>
        <trans_set>
          <trans loc="de" val="Kommentar"/>
        </trans_set>
      </field>
      <field name="dept_id" type="Number" title="Department ID">
        <formatting format_thousands_separator="true" format_decimal_places="2" choices_related="true" choices_related_relationship="departments" choices_related_field="departments_id" choices_related_show_all="true">
          <choices_related_extra_layout>
            <data_layout_groups>
              <data_layout_group>
                <data_layout_item name="name" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
            </data_layout_groups>
          </choices_related_extra_layout>
        </formatting>
        <trans_set>
          <trans loc="de" val="Abteilung ID"/>
        </trans_set>
      </field>
      <field name="contact_id" type="Number" title="Contact ID">
        <formatting format_thousands_separator="true" format_decimal_places="2" choices_related="true" choices_related_relationship="contacts" choices_related_field="contact_id" choices_related_show_all="true">
          <choices_related_extra_layout>
            <data_layout_groups>
              <data_layout_group>
                <data_layout_item name="name_full" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
            </data_layout_groups>
          </choices_related_extra_layout>
        </formatting>
        <trans_set>
          <trans loc="de" val="Kontakt ID"/>
        </trans_set>
      </field>
    </fields>
    <relationships>
      <relationship name="contacts" key="contact_id" other_table="contacts" other_key="contact_id" title="Contacts">
        <trans_set>
          <trans loc="de" val="Kontakten"/>
        </trans_set>
      </relationship>
      <relationship name="departments" key="dept_id" other_table="departments" other_key="departments_id" title="Departments">
        <trans_set>
          <trans loc="de" val="Abteilungen"/>
        </trans_set>
      </relationship>
      <relationship name="scenes" key="crew_id" other_table="scene_crew" other_key="department_id" title="Scenes">
        <trans_set>
          <trans loc="de" val="Szenen"/>
        </trans_set>
      </relationship>
    </relationships>
    <data_layouts>
      <data_layout name="details" parent_table="crew">
        <data_layout_groups>
          <data_layout_group name="overview" columns_count="2" title="Overview">
            <trans_set>
              <trans loc="de" val="Übersicht"/>
            </trans_set>
            <data_layout_item name="crew_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
          <data_layout_group name="details" columns_count="2">
            <trans_set>
              <trans loc="de" val="Details"/>
            </trans_set>
            <data_layout_group name="department" title="Department">
              <trans_set>
                <trans loc="de" val="Abteilung"/>
              </trans_set>
              <data_layout_item name="dept_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="name" relationship="departments" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_group>
            <data_layout_group name="contact" title="Contact">
              <trans_set>
                <trans loc="de" val="Kontakt"/>
              </trans_set>
              <data_layout_item name="contact_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="name_full" relationship="contacts" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_group name="address" title="Address">
                <trans_set>
                  <trans loc="de" val="Addresse"/>
                </trans_set>
                <data_layout_item name="address_street1" relationship="contacts" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="address_street2" relationship="contacts" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="address_town" relationship="contacts" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="address_state" relationship="contacts" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="address_country" relationship="contacts" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="address_postcode" relationship="contacts" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
              <data_layout_group name="agent" title="Agent">
                <trans_set>
                  <trans loc="de" val="Agent"/>
                </trans_set>
                <data_layout_item name="agent_id" relationship="contacts" editable="true" use_default_formatting="true">
                  <formatting format_thousands_separator="true" format_decimal_places="2"/>
                </data_layout_item>
                <data_layout_item name="name_full" relationship="contacts" related_relationship="agent" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
            </data_layout_group>
            <data_layout_portal relationship="scenes" portal_rows_count_min="6" portal_rows_count_max="6">
              <data_layout_item name="scene_id" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="overview_name" relationship="scenes" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_portal>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="list" parent_table="crew">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="crew_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="contact_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="name_full" relationship="contacts" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="dept_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="name" relationship="departments" editable="true" use_default_formatting="true">
              <title_custom use_custom="true" title="Department Name">
                <trans_set>
                  <trans loc="de" val="Abteilungsname"/>
                </trans_set>
              </title_custom>
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
    </data_layouts>
    <reports>
      <report name="crew_list" title="Crew List">
        <data_layout_groups>
          <data_layout_group>
            <data_layout_item_groupby border_width="0.05">
              <groupby name="name" relationship="departments" editable="true" use_default_formatting="true">
                <title_custom use_custom="true" title="Department Name">
                  <trans_set>
                    <trans loc="de" val="Abteilungsname"/>
                  </trans_set>
                </title_custom>
              </groupby>
              <sortby>
                <data_layout_item name="name_last" relationship="contacts" editable="true" use_default_formatting="true" sort_ascending="true"/>
              </sortby>
              <data_layout_item name="department_id" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="description" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item_verticalgroup>
                <data_layout_item name="name_full" relationship="contacts" editable="true" use_default_formatting="true">
                  <title_custom/>
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="address_street1" relationship="contacts" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="address_street2" relationship="contacts" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="address_town" relationship="contacts" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="address_state" relationship="contacts" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="address_country" relationship="contacts" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="address_postcode" relationship="contacts" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_item_verticalgroup>
              <data_layout_item_verticalgroup>
                <data_layout_item name="name_full" relationship="contacts" related_relationship="agent" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_item_verticalgroup>
              <data_layout_item name="comments" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_item_groupby>
          </data_layout_group>
        </data_layout_groups>
        <trans_set>
          <trans loc="de" val="Stabliste"/>
        </trans_set>
      </report>
    </reports>
    <print_layouts/>
  </table>
  <table name="deliveries" title="Deliveries">
    <example_rows/>
    <trans_set>
      <trans loc="de" val="Lieferungen"/>
    </trans_set>
    <title_singular title="Delivery"/>
    <fields>
      <field name="delivery_id" primary_key="true" unique="true" auto_increment="true" type="Number" title="Delivery ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
        <trans_set>
          <trans loc="de" val="Lieferung ID"/>
        </trans_set>
      </field>
      <field name="arrival_date" type="Number" title="Arrival Date">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
        <trans_set>
          <trans loc="de" val="Lieferungsdatum"/>
        </trans_set>
      </field>
      <field name="departure_contact_id" type="Number" title="Contact ID">
        <formatting format_thousands_separator="true" format_decimal_places="2" choices_related="true" choices_related_relationship="departure_contact" choices_related_field="contact_id" choices_related_show_all="true">
          <choices_related_extra_layout>
            <data_layout_groups>
              <data_layout_group>
                <data_layout_item name="name_full" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
            </data_layout_groups>
          </choices_related_extra_layout>
        </formatting>
        <trans_set>
          <trans loc="de" val="Kontakt ID"/>
        </trans_set>
      </field>
      <field name="arrival_contact_id" type="Number" title="Contact ID">
        <formatting format_thousands_separator="true" format_decimal_places="2" choices_related="true" choices_related_relationship="arrival_contact" choices_related_field="contact_id" choices_related_show_all="true">
          <choices_related_extra_layout>
            <data_layout_groups>
              <data_layout_group>
                <data_layout_item name="name_full" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
            </data_layout_groups>
          </choices_related_extra_layout>
        </formatting>
        <trans_set>
          <trans loc="de" val="Kontakt ID"/>
        </trans_set>
      </field>
      <field name="arrival_time" type="Time" title="Arrival Time">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Lieferungszeit"/>
        </trans_set>
      </field>
      <field name="arrival_place" type="Text" title="Arrival Place">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Lieferungsaddresse"/>
        </trans_set>
      </field>
      <field name="departure_time" type="Time" title="Departure Time">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Sendungszeit"/>
        </trans_set>
      </field>
      <field name="departure_date" type="Date" title="Departure Date">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Sendungsdatum"/>
        </trans_set>
      </field>
      <field name="departure_place" type="Text" title="Departure Place">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Sendungsaddresse"/>
        </trans_set>
      </field>
      <field name="comments" type="Text" title="Comments">
        <formatting format_text_multiline="true"/>
        <trans_set>
          <trans loc="de" val="Kommentare"/>
        </trans_set>
      </field>
      <field name="description" type="Text" title="Description">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Beschreibung"/>
        </trans_set>
      </field>
    </fields>
    <relationships>
      <relationship name="departure_contact" key="departure_contact_id" other_table="contacts" other_key="contact_id" title="Departure Contact">
        <trans_set>
          <trans loc="de" val="Sendungskontakt"/>
        </trans_set>
      </relationship>
      <relationship name="arrival_contact" key="arrival_contact_id" other_table="contacts" other_key="contact_id" title="Arrival Contact">
        <trans_set>
          <trans loc="de" val="Empfaengerkontakt"/>
        </trans_set>
      </relationship>
    </relationships>
    <data_layouts>
      <data_layout name="list" parent_table="deliveries">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="delivery_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="name_full" relationship="departure_contact" editable="true" use_default_formatting="true">
              <title_custom use_custom="true" title="Departure Name">
                <trans_set>
                  <trans loc="de" val="Sendername"/>
                </trans_set>
              </title_custom>
              <formatting/>
            </data_layout_item>
            <data_layout_item name="departure_place" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="departure_date" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="name_full" relationship="arrival_contact" editable="true" use_default_formatting="true">
              <title_custom use_custom="true" title="Arrival Name">
                <trans_set>
                  <trans loc="de" val="Empfängerkontakt"/>
                </trans_set>
              </title_custom>
              <formatting/>
            </data_layout_item>
            <data_layout_item name="arrival_place" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="arrival_date" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="details" parent_table="deliveries">
        <data_layout_groups>
          <data_layout_group name="overview" columns_count="2" title="Overview">
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="delivery_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
          </data_layout_group>
          <data_layout_group name="details" columns_count="2">
            <data_layout_group name="departure" title="Departure">
              <trans_set>
                <trans loc="de" val="Departure"/>
              </trans_set>
              <data_layout_item name="departure_contact_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="name_full" relationship="departure_contact" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="departure_place" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="departure_date" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="departure_time" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_group>
            <data_layout_group name="arrival" title="Arrival">
              <trans_set>
                <trans loc="de" val="Arrival"/>
              </trans_set>
              <data_layout_item name="arrival_contact_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="name_full" relationship="arrival_contact" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="arrival_place" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="arrival_date" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="arrival_time" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_group>
          </data_layout_group>
          <data_layout_group name="comments">
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
    </data_layouts>
    <reports/>
    <print_layouts/>
  </table>
  <table name="departments" title="Departments">
    <example_rows>
      <example_row>
        <value column="departments_id">0</value>
        <value column="name">Sound</value>
        <value column="comments"/>
      </example_row>
      <example_row>
        <value column="departments_id">1</value>
        <value column="name">Camera</value>
        <value column="comments"/>
      </example_row>
      <example_row>
        <value column="departments_id">2</value>
        <value column="name">Set Design</value>
        <value column="comments"/>
      </example_row>
      <example_row>
        <value column="departments_id">3</value>
        <value column="name">Lighting</value>
        <value column="comments"/>
      </example_row>
      <example_row>
        <value column="departments_id">4</value>
        <value column="name">Makeup</value>
        <value column="comments"/>
      </example_row>
      <example_row>
        <value column="departments_id">5</value>
        <value column="name">Costume</value>
        <value column="comments"/>
      </example_row>
      <example_row>
        <value column="departments_id">6</value>
        <value column="name">Stunts</value>
        <value column="comments"/>
      </example_row>
      <example_row>
        <value column="departments_id">7</value>
        <value column="name">Effects</value>
        <value column="comments"/>
      </example_row>
    </example_rows>
    <trans_set>
      <trans loc="de" val="Abteilungen"/>
    </trans_set>
    <title_singular title="Department"/>
    <fields>
      <field name="departments_id" primary_key="true" unique="true" auto_increment="true" type="Number" title="Department ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
        <trans_set>
          <trans loc="de" val="Abteilung ID"/>
        </trans_set>
      </field>
      <field name="name" type="Text" title="Name">
        <formatting/>
      </field>
      <field name="comments" type="Text" title="Comments">
        <formatting format_text_multiline="true"/>
        <trans_set>
          <trans loc="de" val="Kommentar"/>
        </trans_set>
      </field>
    </fields>
    <relationships>
      <relationship name="department_crew" key="departments_id" other_table="crew" other_key="dept_id" auto_create="true" allow_edit="true" title="Department Crew">
        <trans_set>
          <trans loc="de" val="Abteilung Crew"/>
        </trans_set>
      </relationship>
    </relationships>
    <data_layouts>
      <data_layout name="details" parent_table="departments">
        <data_layout_groups>
          <data_layout_group name="overview" columns_count="2" title="Overview">
            <trans_set>
              <trans loc="de" val="Übersicht"/>
            </trans_set>
            <data_layout_item name="departments_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="name" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
          <data_layout_group name="details">
            <trans_set>
              <trans loc="de" val="Details"/>
            </trans_set>
            <data_layout_portal relationship="department_crew" portal_rows_count_min="6" portal_rows_count_max="6">
              <data_layout_item name="crew_id" editable="true" use_default_formatting="true">
                <title_custom/>
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="description" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="contact_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="name_full" relationship="contacts" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_portal>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="list_related_related_department_crew" parent_table="crew">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="contact_id" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="name_full" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="list" parent_table="departments">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="departments_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="name" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
    </data_layouts>
    <reports/>
    <print_layouts/>
  </table>
  <table name="equipment" title="Equipment">
    <example_rows>
      <example_row>
        <value column="equipment_id">0</value>
        <value column="description">Smoke Machine</value>
        <value column="comments"/>
      </example_row>
      <example_row>
        <value column="equipment_id">1</value>
        <value column="description">Jump Rig</value>
        <value column="comments"/>
      </example_row>
      <example_row>
        <value column="equipment_id">2</value>
        <value column="description">Cardboard Boxes</value>
        <value column="comments"/>
      </example_row>
    </example_rows>
    <fields>
      <field name="equipment_id" primary_key="true" unique="true" auto_increment="true" type="Number" title="Equipment ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
      </field>
      <field name="description" type="Text" title="Description">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Beschreibung"/>
        </trans_set>
      </field>
      <field name="comments" type="Text" title="Comments">
        <formatting format_text_multiline="true"/>
        <trans_set>
          <trans loc="de" val="Kommentar"/>
        </trans_set>
      </field>
    </fields>
    <relationships>
      <relationship name="scenes" key="equipment_id" other_table="scene_equipment" other_key="equipment_id" title="Scenes">
        <trans_set>
          <trans loc="de" val="Szenen"/>
        </trans_set>
      </relationship>
    </relationships>
    <data_layouts>
      <data_layout name="details" parent_table="equipment">
        <data_layout_groups>
          <data_layout_group name="overview" columns_count="2" title="Overview">
            <trans_set>
              <trans loc="de" val="Übersicht"/>
            </trans_set>
            <data_layout_item name="equipment_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
          </data_layout_group>
          <data_layout_group name="details" columns_count="2" title="Details">
            <trans_set>
              <trans loc="de" val="Details"/>
            </trans_set>
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_portal relationship="scenes" portal_rows_count_min="6" portal_rows_count_max="6">
              <data_layout_item name="scene_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="overview_name" relationship="scene" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_portal>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="list" parent_table="equipment">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="equipment_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
    </data_layouts>
    <reports/>
    <print_layouts/>
  </table>
  <table name="journeys" title="Journeys">
    <example_rows>
      <example_row>
        <value column="journey_id">0</value>
        <value column="comment"/>
        <value column="description">Andrew from the Airport</value>
        <value column="arrival_date">2009-12-10</value>
        <value column="arrival_time">09:30:00</value>
        <value column="arrival_place">Main Street, Munich</value>
        <value column="departure_date">2009-12-10</value>
        <value column="departure_time">08:00:00</value>
        <value column="departure_place">Munich Airport</value>
        <value column="contact_id">3</value>
      </example_row>
    </example_rows>
    <trans_set>
      <trans loc="de" val="Fahrten"/>
    </trans_set>
    <title_singular title="Journey"/>
    <fields>
      <field name="journey_id" primary_key="true" unique="true" auto_increment="true" type="Number" title="Journey ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
        <trans_set>
          <trans loc="de" val="Fahrt ID"/>
        </trans_set>
      </field>
      <field name="comment" type="Text" title="Comment">
        <formatting format_text_multiline="true"/>
        <trans_set>
          <trans loc="de" val="Kommentar"/>
        </trans_set>
      </field>
      <field name="description" type="Text" title="Description">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Beschreibung"/>
        </trans_set>
      </field>
      <field name="arrival_date" type="Date" title="Arrival Date">
        <formatting/>
      </field>
      <field name="arrival_time" type="Time" title="Arrival Time">
        <formatting/>
      </field>
      <field name="arrival_place" type="Text" title="Arrival Place">
        <formatting/>
      </field>
      <field name="departure_date" type="Date" title="Departure Date">
        <formatting/>
      </field>
      <field name="departure_time" type="Time" title="Departure Time">
        <formatting/>
      </field>
      <field name="departure_place" type="Text" title="Departure Place">
        <formatting/>
      </field>
      <field name="contact_id" type="Number" title="Contact ID">
        <formatting format_thousands_separator="true" format_decimal_places="2" choices_related="true" choices_related_relationship="contacts" choices_related_field="contact_id" choices_related_show_all="true">
          <choices_related_extra_layout>
            <data_layout_groups>
              <data_layout_group>
                <data_layout_item name="name_full" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
            </data_layout_groups>
          </choices_related_extra_layout>
        </formatting>
        <trans_set>
          <trans loc="de" val="Kontakt ID"/>
        </trans_set>
      </field>
    </fields>
    <relationships>
      <relationship name="contacts" key="contact_id" other_table="contacts" other_key="contact_id" title="Contacts">
        <trans_set>
          <trans loc="de" val="Kontakte"/>
        </trans_set>
      </relationship>
    </relationships>
    <data_layouts>
      <data_layout name="list" parent_table="journeys">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="journey_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="name_full" relationship="contacts" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="arrival_place" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="arrival_date" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="departure_place" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="departure_date" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="details" parent_table="journeys">
        <data_layout_groups>
          <data_layout_group name="overview" columns_count="2" title="Overview">
            <data_layout_item name="journey_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
          <data_layout_group name="details" columns_count="2">
            <data_layout_group name="person" title="Person">
              <trans_set>
                <trans loc="de" val="Person"/>
              </trans_set>
              <data_layout_item name="contact_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="name_full" relationship="contacts" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_group>
            <data_layout_group name="departure" title="Departure">
              <trans_set>
                <trans loc="de" val="Departure"/>
              </trans_set>
              <data_layout_item name="departure_place" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="departure_date" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="departure_time" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_group>
            <data_layout_group name="arrival" title="Arrival">
              <trans_set>
                <trans loc="de" val="Arrival"/>
              </trans_set>
              <data_layout_item name="arrival_place" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="arrival_date" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="arrival_time" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_group>
          </data_layout_group>
          <data_layout_group name="comments">
            <data_layout_item name="comment" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
    </data_layouts>
    <reports/>
    <print_layouts/>
  </table>
  <table name="locations" title="Locations">
    <example_rows>
      <example_row>
        <value column="location_id">0</value>
        <value column="name">Main Street</value>
        <value column="address_street">Spielzeugstrasse 1</value>
        <value column="address_town">Toy Town</value>
        <value column="address_county">Bavaria</value>
        <value column="address_country">Germany</value>
        <value column="address_postcode"/>
        <value column="comments"/>
        <value column="contact_id"/>
        <value column="rent"/>
      </example_row>
      <example_row>
        <value column="location_id">1</value>
        <value column="name">Tavern</value>
        <value column="address_street">Keg Strasse 1</value>
        <value column="address_town">Munich</value>
        <value column="address_county">Bavaria</value>
        <value column="address_country">Germany</value>
        <value column="address_postcode"/>
        <value column="comments"/>
        <value column="contact_id"/>
        <value column="rent"/>
      </example_row>
    </example_rows>
    <fields>
      <field name="location_id" primary_key="true" unique="true" auto_increment="true" type="Number" title="Location ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
      </field>
      <field name="name" type="Text" title="Name">
        <formatting/>
      </field>
      <field name="address_street" type="Text" title="Street">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Strasse"/>
        </trans_set>
      </field>
      <field name="address_town" type="Text" title="Town">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Stadt"/>
        </trans_set>
      </field>
      <field name="address_county" type="Text" title="County">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Land"/>
        </trans_set>
      </field>
      <field name="address_country" type="Text" title="Country">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Staat"/>
        </trans_set>
      </field>
      <field name="address_postcode" type="Text" title="Postcode">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Postleitzahl"/>
        </trans_set>
      </field>
      <field name="comments" type="Text" title="Comments">
        <formatting format_text_multiline="true"/>
        <trans_set>
          <trans loc="de" val="Kommentar"/>
        </trans_set>
      </field>
      <field name="contact_id" type="Number" title="Contact ID">
        <formatting format_thousands_separator="true" format_decimal_places="2" choices_related="true" choices_related_relationship="contacts" choices_related_field="contact_id" choices_related_show_all="true">
          <choices_related_extra_layout>
            <data_layout_groups>
              <data_layout_group>
                <data_layout_item name="name_full" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
            </data_layout_groups>
          </choices_related_extra_layout>
        </formatting>
      </field>
      <field name="rent" type="Number" title="Rent">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
      </field>
    </fields>
    <relationships>
      <relationship name="scenes" key="location_id" other_table="scenes" other_key="location_id" auto_create="true" allow_edit="true" title="Scenes">
        <trans_set>
          <trans loc="de" val="Szenen"/>
        </trans_set>
      </relationship>
      <relationship name="contacts" key="contact_id" other_table="contacts" other_key="contact_id" title="Contacts"/>
    </relationships>
    <data_layouts>
      <data_layout name="details" parent_table="locations">
        <data_layout_groups>
          <data_layout_group name="overview" columns_count="2" title="Overview">
            <data_layout_item name="location_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="name" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
          <data_layout_group name="details" columns_count="2">
            <data_layout_group name="address" title="Address">
              <trans_set>
                <trans loc="de" val="Addresse"/>
              </trans_set>
              <data_layout_item name="address_street" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="address_town" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="address_county" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="address_country" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="address_postcode" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_group>
            <data_layout_group name="contact_person" title="Contact Person">
              <trans_set>
                <trans loc="de" val="Contact Person"/>
              </trans_set>
              <data_layout_item name="contact_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="name_full" relationship="contacts" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_group>
          </data_layout_group>
          <data_layout_group name="more">
            <data_layout_portal relationship="scenes" portal_rows_count_min="6" portal_rows_count_max="6">
              <data_layout_item name="date" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="time" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="name" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="description" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="day_or_night" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="location_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
            </data_layout_portal>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="list" parent_table="locations">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="location_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="name" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="address_town" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="address_country" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
    </data_layouts>
    <reports>
      <report name="locations_list" show_table_title="true">
        <data_layout_groups>
          <data_layout_group>
            <data_layout_item name="location_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="name" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="address_town" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
        <trans_set>
          <trans loc="de" val="Locations List"/>
        </trans_set>
      </report>
    </reports>
    <print_layouts/>
  </table>
  <table name="props" title="Props">
    <example_rows>
      <example_row>
        <value column="prop_id">0</value>
        <value column="description"/>
        <value column="comments"/>
        <value column="name">Gatling Gun</value>
      </example_row>
      <example_row>
        <value column="prop_id">1</value>
        <value column="description">Safety Glass</value>
        <value column="comments"/>
        <value column="name">Whiskey Bottle</value>
      </example_row>
      <example_row>
        <value column="prop_id">2</value>
        <value column="description">Ceramic</value>
        <value column="comments"/>
        <value column="name">Flower Pot</value>
      </example_row>
    </example_rows>
    <fields>
      <field name="prop_id" primary_key="true" auto_increment="true" type="Number" title="Prop ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
      </field>
      <field name="description" type="Text" title="Description">
        <formatting/>
      </field>
      <field name="comments" type="Text" title="Comments">
        <formatting format_text_multiline="true"/>
      </field>
      <field name="name" type="Text" title="Name">
        <formatting/>
      </field>
    </fields>
    <relationships/>
    <data_layouts>
      <data_layout name="list" parent_table="props">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="prop_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="name" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="details" parent_table="props">
        <data_layout_groups>
          <data_layout_group name="overview" columns_count="2" title="Overview">
            <data_layout_item name="prop_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="name" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
          <data_layout_group name="details" columns_count="2" title="Details">
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
    </data_layouts>
    <reports/>
    <print_layouts/>
  </table>
  <table name="scene_cast" hidden="true" title="Scene Cast">
    <example_rows>
      <example_row>
        <value column="scene_cast_id">0</value>
        <value column="comments"/>
        <value column="cast_id">0</value>
        <value column="scene_id">0</value>
      </example_row>
      <example_row>
        <value column="scene_cast_id">2</value>
        <value column="comments"/>
        <value column="cast_id">2</value>
        <value column="scene_id">0</value>
      </example_row>
      <example_row>
        <value column="scene_cast_id">1</value>
        <value column="comments"/>
        <value column="cast_id">3</value>
        <value column="scene_id">0</value>
      </example_row>
      <example_row>
        <value column="scene_cast_id">3</value>
        <value column="comments"/>
        <value column="cast_id">1</value>
        <value column="scene_id">1</value>
      </example_row>
      <example_row>
        <value column="scene_cast_id">4</value>
        <value column="comments"/>
        <value column="cast_id">0</value>
        <value column="scene_id">1</value>
      </example_row>
      <example_row>
        <value column="scene_cast_id">5</value>
        <value column="comments"/>
        <value column="cast_id">2</value>
        <value column="scene_id">1</value>
      </example_row>
    </example_rows>
    <trans_set>
      <trans loc="de" val="Szene Besetzung"/>
    </trans_set>
    <fields>
      <field name="scene_cast_id" primary_key="true" unique="true" auto_increment="true" type="Number" title="Scene Cast ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
        <trans_set>
          <trans loc="de" val="Szene Besetzung ID"/>
        </trans_set>
      </field>
      <field name="comments" type="Text" title="Comments">
        <formatting format_text_multiline="true"/>
        <trans_set>
          <trans loc="de" val="Kommentar"/>
        </trans_set>
      </field>
      <field name="cast_id" type="Number" title="Cast ID">
        <formatting format_thousands_separator="true" format_decimal_places="2" choices_related="true" choices_related_relationship="cast" choices_related_field="character_id" choices_related_show_all="true">
          <choices_related_extra_layout>
            <data_layout_groups>
              <data_layout_group>
                <data_layout_item name="character" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
            </data_layout_groups>
          </choices_related_extra_layout>
        </formatting>
        <trans_set>
          <trans loc="de" val="Besetzung ID"/>
        </trans_set>
      </field>
      <field name="scene_id" type="Number" title="Scene ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
        <trans_set>
          <trans loc="de" val="Szene ID"/>
        </trans_set>
      </field>
    </fields>
    <relationships>
      <relationship name="cast" key="cast_id" other_table="characters" other_key="character_id" title="Cast">
        <trans_set>
          <trans loc="de" val="Besetzung"/>
        </trans_set>
      </relationship>
      <relationship name="scene" key="scene_id" other_table="scenes" other_key="scene_id">
        <trans_set>
          <trans loc="de" val="Szene"/>
        </trans_set>
      </relationship>
    </relationships>
    <data_layouts>
      <data_layout name="list" parent_table="scene_cast">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="scene_cast_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="cast_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="scene_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="details" parent_table="scene_cast">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_group name="overview" columns_count="2" title="Overview">
              <data_layout_item name="scene_cast_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
            </data_layout_group>
            <data_layout_group name="details" columns_count="2" title="Details">
              <data_layout_item name="comments" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="cast_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="scene_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
            </data_layout_group>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
    </data_layouts>
    <reports/>
    <print_layouts/>
  </table>
  <table name="scene_costume" hidden="true" title="Scene Costume">
    <example_rows>
      <example_row>
        <value column="scene_costume_id">0</value>
        <value column="comments"/>
        <value column="scene_id"/>
        <value column="costume_id">1</value>
      </example_row>
      <example_row>
        <value column="scene_costume_id">1</value>
        <value column="comments"/>
        <value column="scene_id">0</value>
        <value column="costume_id">0</value>
      </example_row>
      <example_row>
        <value column="scene_costume_id">2</value>
        <value column="comments"/>
        <value column="scene_id">0</value>
        <value column="costume_id">1</value>
      </example_row>
      <example_row>
        <value column="scene_costume_id">3</value>
        <value column="comments"/>
        <value column="scene_id">0</value>
        <value column="costume_id">3</value>
      </example_row>
    </example_rows>
    <fields>
      <field name="scene_costume_id" primary_key="true" unique="true" auto_increment="true" type="Number" title="Scene Costume ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
      </field>
      <field name="comments" type="Text" title="Comments">
        <formatting format_text_multiline="true"/>
      </field>
      <field name="scene_id" type="Number" title="Scene Id">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
      </field>
      <field name="costume_id" type="Number" title="Costume ID">
        <formatting format_thousands_separator="true" format_decimal_places="2" choices_related="true" choices_related_relationship="costume" choices_related_field="costume_id" choices_related_show_all="true">
          <choices_related_extra_layout>
            <data_layout_groups>
              <data_layout_group>
                <data_layout_item name="name" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
            </data_layout_groups>
          </choices_related_extra_layout>
        </formatting>
      </field>
    </fields>
    <relationships>
      <relationship name="costume" key="costume_id" other_table="costume" other_key="costume_id" title="Costume"/>
    </relationships>
    <data_layouts>
      <data_layout name="list" parent_table="scene_costume">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="scene_costume_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="scene_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="details" parent_table="scene_costume">
        <data_layout_groups>
          <data_layout_group name="overview" columns_count="2" title="Overview">
            <data_layout_item name="scene_costume_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
          </data_layout_group>
          <data_layout_group name="details" columns_count="2" title="Details">
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="scene_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="costume_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="name" relationship="costume" editable="true" use_default_formatting="true">
              <title_custom use_custom="true" title="Costume Name"/>
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
    </data_layouts>
    <reports/>
    <print_layouts/>
  </table>
  <table name="scene_crew" hidden="true" title="Scene Crew">
    <example_rows>
      <example_row>
        <value column="scene_crew_id">0</value>
        <value column="comments"/>
        <value column="scene_id">1</value>
        <value column="department_id"/>
      </example_row>
    </example_rows>
    <trans_set>
      <trans loc="de" val="Szene Crew"/>
    </trans_set>
    <fields>
      <field name="scene_crew_id" primary_key="true" unique="true" auto_increment="true" type="Number" title="Scene Crew ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
        <trans_set>
          <trans loc="de" val="Szene Crew ID"/>
        </trans_set>
      </field>
      <field name="comments" type="Text" title="Comments">
        <formatting format_text_multiline="true"/>
        <trans_set>
          <trans loc="de" val="Kommentar"/>
        </trans_set>
      </field>
      <field name="scene_id" type="Number" title="Scene ID">
        <formatting format_thousands_separator="true" format_decimal_places="2" choices_related="true" choices_related_relationship="scenes" choices_related_field="scene_id" choices_related_show_all="true">
          <choices_related_extra_layout>
            <data_layout_groups>
              <data_layout_group>
                <data_layout_item name="description" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
            </data_layout_groups>
          </choices_related_extra_layout>
        </formatting>
        <trans_set>
          <trans loc="de" val="Szene ID"/>
        </trans_set>
      </field>
      <field name="department_id" type="Number" title="Department ID">
        <formatting format_thousands_separator="true" format_decimal_places="2" choices_related="true" choices_related_relationship="department" choices_related_field="departments_id" choices_related_show_all="true">
          <choices_related_extra_layout>
            <data_layout_groups>
              <data_layout_group>
                <data_layout_item name="name" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
            </data_layout_groups>
          </choices_related_extra_layout>
        </formatting>
      </field>
    </fields>
    <relationships>
      <relationship name="department" key="department_id" other_table="departments" other_key="departments_id" title="Department"/>
      <relationship name="scenes" key="scene_id" other_table="scenes" other_key="scene_id" title="Scenes">
        <trans_set>
          <trans loc="de" val="Szenen"/>
        </trans_set>
      </relationship>
    </relationships>
    <data_layouts>
      <data_layout name="details" parent_table="scene_crew">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_group name="overview" columns_count="2" title="Overview">
              <trans_set>
                <trans loc="de" val="Übersicht"/>
              </trans_set>
              <data_layout_item name="scene_crew_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
            </data_layout_group>
            <data_layout_group name="details" columns_count="2" title="Details">
              <trans_set>
                <trans loc="de" val="Details"/>
              </trans_set>
              <data_layout_item name="comments" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="scene_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="department_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="name" relationship="department" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_group>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="list" parent_table="scene_crew">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="scene_crew_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="scene_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="department_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
    </data_layouts>
    <reports/>
    <print_layouts/>
  </table>
  <table name="scene_equipment" hidden="true">
    <example_rows>
      <example_row>
        <value column="scene_equipment_id">0</value>
        <value column="comments"/>
        <value column="equipment_id">0</value>
        <value column="scene_id">0</value>
      </example_row>
      <example_row>
        <value column="scene_equipment_id">1</value>
        <value column="comments"/>
        <value column="equipment_id">2</value>
        <value column="scene_id">0</value>
      </example_row>
      <example_row>
        <value column="scene_equipment_id">2</value>
        <value column="comments"/>
        <value column="equipment_id">1</value>
        <value column="scene_id">1</value>
      </example_row>
    </example_rows>
    <fields>
      <field name="scene_equipment_id" primary_key="true" unique="true" auto_increment="true" type="Number" title="Scene Equipment ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
      </field>
      <field name="comments" type="Text" title="Comments">
        <formatting format_text_multiline="true"/>
        <trans_set>
          <trans loc="de" val="Kommentar"/>
        </trans_set>
      </field>
      <field name="equipment_id" type="Number" title="Equipment ID">
        <formatting format_thousands_separator="true" format_decimal_places="2" choices_related="true" choices_related_relationship="equipment" choices_related_field="equipment_id" choices_related_show_all="true">
          <choices_related_extra_layout>
            <data_layout_groups>
              <data_layout_group>
                <data_layout_item name="description" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
            </data_layout_groups>
          </choices_related_extra_layout>
        </formatting>
      </field>
      <field name="scene_id" type="Number" title="Scene ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
      </field>
    </fields>
    <relationships>
      <relationship name="equipment" key="equipment_id" other_table="equipment" other_key="equipment_id"/>
      <relationship name="scene" key="scene_id" other_table="scenes" other_key="scene_id"/>
    </relationships>
    <data_layouts>
      <data_layout name="list" parent_table="scene_equipment">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="scene_equipment_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="scene_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="equipment_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="details" parent_table="scene_equipment">
        <data_layout_groups>
          <data_layout_group name="overview" columns_count="2" title="Overview">
            <data_layout_item name="scene_equipment_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
          </data_layout_group>
          <data_layout_group name="details" columns_count="2" title="Details">
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="equipment_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="scene_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
    </data_layouts>
    <reports/>
    <print_layouts/>
  </table>
  <table name="scene_extras" hidden="true" title="Scene Extras">
    <example_rows/>
    <fields>
      <field name="scene_extras_id" primary_key="true" unique="true" auto_increment="true" type="Number" title="Scene Extras ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
      </field>
      <field name="description" type="Text" title="Description">
        <formatting/>
      </field>
      <field name="comments" type="Text" title="Comments">
        <formatting format_text_multiline="true"/>
      </field>
      <field name="scene_id" type="Number" title="Scene ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
      </field>
      <field name="contact_id" type="Number" title="Contact ID">
        <formatting format_thousands_separator="true" format_decimal_places="2" choices_related="true" choices_related_relationship="contact" choices_related_field="contact_id" choices_related_show_all="true">
          <choices_related_extra_layout>
            <data_layout_groups>
              <data_layout_group>
                <data_layout_item name="name_full" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
            </data_layout_groups>
          </choices_related_extra_layout>
        </formatting>
      </field>
    </fields>
    <relationships>
      <relationship name="contact" key="contact_id" other_table="contacts" other_key="contact_id" title="Contact"/>
    </relationships>
    <data_layouts>
      <data_layout name="details" parent_table="scene_extras">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_group name="overview" columns_count="2" title="Overview">
              <data_layout_item name="scene_extras_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
            </data_layout_group>
            <data_layout_group name="details" columns_count="2" title="Details">
              <data_layout_item name="description" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="comments" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="scene_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="contact_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="name_full" relationship="contact" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_group>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="list" parent_table="scene_extras">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="scene_extras_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="scene_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="contact_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
    </data_layouts>
    <reports/>
    <print_layouts/>
  </table>
  <table name="scene_makeup" hidden="true" title="Scene Makeup">
    <example_rows/>
    <fields>
      <field name="scene_makeup_id" primary_key="true" unique="true" auto_increment="true" type="Number" title="Scene Makeup ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
      </field>
      <field name="description" type="Text" title="Description">
        <formatting/>
      </field>
      <field name="comments" type="Text" title="Comments">
        <formatting format_text_multiline="true"/>
      </field>
      <field name="scene_id" type="Number" title="Scene ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
      </field>
    </fields>
    <relationships/>
    <data_layouts>
      <data_layout name="list" parent_table="scene_makeup">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="scene_makeup_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="scene_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="details" parent_table="scene_makeup">
        <data_layout_groups>
          <data_layout_group name="overview" columns_count="2" title="Overview">
            <data_layout_item name="scene_makeup_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
          </data_layout_group>
          <data_layout_group name="details" columns_count="2" title="Details">
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="scene_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
    </data_layouts>
    <reports/>
    <print_layouts/>
  </table>
  <table name="scene_props" hidden="true" title="Scene Props">
    <example_rows>
      <example_row>
        <value column="scene_props_id">0</value>
        <value column="comments"/>
        <value column="scene_id">0</value>
        <value column="prop_id">0</value>
      </example_row>
      <example_row>
        <value column="scene_props_id">1</value>
        <value column="comments"/>
        <value column="scene_id">0</value>
        <value column="prop_id">1</value>
      </example_row>
      <example_row>
        <value column="scene_props_id">2</value>
        <value column="comments"/>
        <value column="scene_id">0</value>
        <value column="prop_id">2</value>
      </example_row>
    </example_rows>
    <fields>
      <field name="scene_props_id" primary_key="true" unique="true" auto_increment="true" type="Number" title="Scene Prop ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
      </field>
      <field name="comments" type="Text" title="Comments">
        <formatting format_text_multiline="true"/>
      </field>
      <field name="scene_id" type="Number" title="Scene ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
      </field>
      <field name="prop_id" type="Number" title="Prop ID">
        <formatting format_thousands_separator="true" format_decimal_places="2" choices_related="true" choices_related_relationship="props" choices_related_field="prop_id" choices_related_show_all="true">
          <choices_related_extra_layout>
            <data_layout_groups>
              <data_layout_group>
                <data_layout_item name="name" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
            </data_layout_groups>
          </choices_related_extra_layout>
        </formatting>
      </field>
    </fields>
    <relationships>
      <relationship name="props" key="prop_id" other_table="props" other_key="prop_id" title="Props"/>
    </relationships>
    <data_layouts>
      <data_layout name="list" parent_table="scene_props">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="scene_props_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="scene_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="details" parent_table="scene_props">
        <data_layout_groups>
          <data_layout_group name="overview" columns_count="2" title="Overview">
            <data_layout_item name="scene_props_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
          </data_layout_group>
          <data_layout_group name="details" columns_count="2" title="Details">
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="scene_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
    </data_layouts>
    <reports/>
    <print_layouts/>
  </table>
  <table name="scenes" default="true" title="Scenes">
    <example_rows>
      <example_row>
        <value column="scene_id">0</value>
        <value column="comments"/>
        <value column="description"/>
        <value column="location_id">0</value>
        <value column="date">2009-12-10</value>
        <value column="time"/>
        <value column="minutes">3</value>
        <value column="day_or_night">Day</value>
        <value column="interior_or_exterior">Exterior</value>
        <value column="name">Mexican Standoff</value>
        <value column="overview_name">Mexican Standoff</value>
        <value column="pages">4</value>
        <value column="script_day">21</value>
      </example_row>
      <example_row>
        <value column="scene_id">1</value>
        <value column="comments"/>
        <value column="description"/>
        <value column="location_id">1</value>
        <value column="date">2009-12-11</value>
        <value column="time"/>
        <value column="minutes"/>
        <value column="day_or_night">Night</value>
        <value column="interior_or_exterior">Interior</value>
        <value column="name"/>
        <value column="overview_name">Tavern</value>
        <value column="pages">3</value>
        <value column="script_day"/>
      </example_row>
    </example_rows>
    <trans_set>
      <trans loc="de" val="Szenen"/>
    </trans_set>
    <title_singular title="Scene"/>
    <fields>
      <field name="scene_id" primary_key="true" unique="true" auto_increment="true" type="Number" title="Scene ID">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
        <trans_set>
          <trans loc="de" val="Szene ID"/>
        </trans_set>
      </field>
      <field name="comments" type="Text" title="Comments">
        <formatting format_text_multiline="true"/>
        <trans_set>
          <trans loc="de" val="Kommentar"/>
        </trans_set>
      </field>
      <field name="description" type="Text" title="Description">
        <formatting format_text_multiline="true"/>
        <trans_set>
          <trans loc="de" val="Beschreibung"/>
        </trans_set>
      </field>
      <field name="location_id" type="Number" title="Location ID">
        <formatting format_thousands_separator="true" format_decimal_places="2" choices_related="true" choices_related_relationship="location" choices_related_field="location_id" choices_related_show_all="true">
          <choices_related_extra_layout>
            <data_layout_groups>
              <data_layout_group>
                <data_layout_item name="name" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_group>
            </data_layout_groups>
          </choices_related_extra_layout>
        </formatting>
      </field>
      <field name="date" type="Date" title="Date">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Termin"/>
        </trans_set>
      </field>
      <field name="time" type="Time" title="Time">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Zeit"/>
        </trans_set>
      </field>
      <field name="minutes" type="Number" title="Stop (minutes)">
        <formatting format_thousands_separator="true" format_decimal_places_restricted="true" format_decimal_places="2"/>
        <trans_set>
          <trans loc="de" val="Stunde"/>
        </trans_set>
      </field>
      <field name="day_or_night" type="Text" title="Day/Night">
        <formatting choices_restricted="true" choices_custom="true">
          <custom_choice_list>
            <custom_choice value="Day"/>
            <custom_choice value="Night"/>
            <custom_choice value="Morning"/>
            <custom_choice value="Evening"/>
            <custom_choice value="Dawn"/>
          </custom_choice_list>
        </formatting>
        <trans_set>
          <trans loc="de" val="Tag/Nacht"/>
        </trans_set>
      </field>
      <field name="interior_or_exterior" type="Text" title="Interior/Exterior">
        <formatting choices_custom="true">
          <custom_choice_list>
            <custom_choice value="Interior"/>
            <custom_choice value="Exterior"/>
          </custom_choice_list>
        </formatting>
        <trans_set>
          <trans loc="de" val="Interior/Exterior"/>
        </trans_set>
      </field>
      <field name="name" type="Text" title="Name">
        <formatting/>
        <trans_set>
          <trans loc="de" val="Szene"/>
        </trans_set>
      </field>
      <field name="overview_name" type="Text" title="Scene">
        <calculation>if(record["name"]):
    return record["name"]
else:
    return record.related["location"]["name"]
</calculation>
        <formatting/>
      </field>
      <field name="pages" type="Number" title="Pages">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
      </field>
      <field name="script_day" type="Number" title="Script Day">
        <formatting format_thousands_separator="true" format_decimal_places="2"/>
      </field>
    </fields>
    <relationships>
      <relationship name="location" key="location_id" other_table="locations" other_key="location_id" title="Locations"/>
      <relationship name="scene_crew" key="scene_id" other_table="scene_crew" other_key="scene_id" auto_create="true" allow_edit="true" title="Additional Crew">
        <trans_set>
          <trans loc="de" val="Szene Crew"/>
        </trans_set>
      </relationship>
      <relationship name="scene_cast" key="scene_id" other_table="scene_cast" other_key="scene_id" auto_create="true" allow_edit="true" title="Cast">
        <trans_set>
          <trans loc="de" val="Szene Besetzung"/>
        </trans_set>
      </relationship>
      <relationship name="scene_equipment" key="scene_id" other_table="scene_equipment" other_key="scene_id" auto_create="true" allow_edit="true" title="Additional Equipment"/>
      <relationship name="scene_extras" key="scene_id" other_table="scene_extras" other_key="scene_id" auto_create="true" allow_edit="true" title="Extras"/>
      <relationship name="scene_props" key="scene_id" other_table="scene_props" other_key="scene_id" auto_create="true" allow_edit="true" title="Props"/>
      <relationship name="scene_costume" key="scene_id" other_table="scene_costume" other_key="scene_id" auto_create="true" allow_edit="true" title="Costume"/>
      <relationship name="scene_makeup" key="scene_id" other_table="scene_makeup" other_key="scene_id" auto_create="true" allow_edit="true" title="Additional Makeup"/>
    </relationships>
    <data_layouts>
      <data_layout name="details" parent_table="scenes">
        <data_layout_groups>
          <data_layout_group name="overview" columns_count="2" title="Overview">
            <trans_set>
              <trans loc="de" val="Übersicht"/>
            </trans_set>
            <data_layout_item name="scene_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="overview_name" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="minutes" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="script_day" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
          </data_layout_group>
          <data_layout_group name="details" columns_count="2" title="Details">
            <trans_set>
              <trans loc="de" val="Details"/>
            </trans_set>
            <data_layout_item name="name" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_text>
              <text title="The location name will be used if the name is empty."/>
              <formatting/>
            </data_layout_text>
            <data_layout_group name="scenario" title="Scenario">
              <trans_set>
                <trans loc="de" val="Stimmung"/>
              </trans_set>
              <data_layout_item name="interior_or_exterior" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="day_or_night" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_group>
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="pages" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="date" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_group name="location" title="Location">
              <trans_set>
                <trans loc="de" val="Location"/>
              </trans_set>
              <data_layout_item name="location_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="name" relationship="location" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="name_full" relationship="location" related_relationship="contacts" editable="true" use_default_formatting="true">
                <title_custom use_custom="true" title="Contact Name"/>
                <formatting/>
              </data_layout_item>
              <data_layout_item name="address_street" relationship="location" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="address_town" relationship="location" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="address_postcode" relationship="location" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_group>
          </data_layout_group>
          <data_layout_group name="details_lower">
            <data_layout_notebook name="notebook">
              <data_layout_portal relationship="scene_cast" portal_rows_count_min="6" portal_rows_count_max="6">
                <data_layout_item name="cast_id" editable="true" use_default_formatting="true">
                  <formatting format_thousands_separator="true" format_decimal_places="2"/>
                </data_layout_item>
                <data_layout_item name="character" relationship="cast" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="name_full" relationship="cast" related_relationship="contacts_actor" editable="true" use_default_formatting="true">
                  <title_custom use_custom="true" title="Actor's Name"/>
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="comments" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_portal>
              <data_layout_portal relationship="scene_extras" portal_rows_count_min="6" portal_rows_count_max="6" column_line_color="#000000000000" line_color="#000000000000">
                <data_layout_item name="contact_id" editable="true" use_default_formatting="true">
                  <formatting format_thousands_separator="true" format_decimal_places="2"/>
                </data_layout_item>
                <data_layout_item name="name_full" relationship="contact" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="description" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_portal>
              <data_layout_portal relationship="scene_props" portal_rows_count_min="6" portal_rows_count_max="6" column_line_color="#000000000000" line_color="#000000000000">
                <data_layout_item name="prop_id" editable="true" use_default_formatting="true">
                  <formatting format_thousands_separator="true" format_decimal_places="2"/>
                </data_layout_item>
                <data_layout_item name="name" relationship="props" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="comments" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_portal>
              <data_layout_portal relationship="scene_costume" portal_rows_count_min="6" portal_rows_count_max="6" column_line_color="#000000000000" line_color="#000000000000">
                <data_layout_item name="costume_id" editable="true" use_default_formatting="true">
                  <formatting format_thousands_separator="true" format_decimal_places="2"/>
                </data_layout_item>
                <data_layout_item name="name" relationship="costume" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="comments" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_portal>
              <data_layout_portal relationship="scene_crew" portal_rows_count_min="6" portal_rows_count_max="6">
                <data_layout_item name="department_id" editable="true" use_default_formatting="true">
                  <formatting format_thousands_separator="true" format_decimal_places="2"/>
                </data_layout_item>
                <data_layout_item name="name" relationship="department" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="comments" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_portal>
              <data_layout_portal relationship="scene_equipment" portal_rows_count_min="6" portal_rows_count_max="6">
                <data_layout_item name="equipment_id" editable="true" use_default_formatting="true">
                  <formatting format_thousands_separator="true" format_decimal_places="2"/>
                </data_layout_item>
                <data_layout_item name="description" relationship="equipment" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="comments" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_portal>
              <data_layout_portal relationship="scene_makeup" portal_rows_count_min="6" portal_rows_count_max="6" column_line_color="#000000000000" line_color="#000000000000">
                <portal_navigation_relationship navigation_type="none"/>
                <data_layout_item name="description" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
                <data_layout_item name="comments" editable="true" use_default_formatting="true">
                  <formatting/>
                </data_layout_item>
              </data_layout_portal>
            </data_layout_notebook>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="list" parent_table="scenes">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="scene_id" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="overview_name" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="interior_or_exterior" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="day_or_night" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="date" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="minutes" editable="true" use_default_formatting="true">
              <formatting format_thousands_separator="true" format_decimal_places="2"/>
            </data_layout_item>
            <data_layout_item name="description" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
      <data_layout name="list_related_related_scene_crew" parent_table="scene_crew">
        <data_layout_groups>
          <data_layout_group name="main">
            <data_layout_item name="contact_id" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="name_full" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
            <data_layout_item name="comments" editable="true" use_default_formatting="true">
              <formatting/>
            </data_layout_item>
          </data_layout_group>
        </data_layout_groups>
      </data_layout>
    </data_layouts>
    <reports>
      <report name="locations_list" show_table_title="true">
        <data_layout_groups>
          <data_layout_group>
            <data_layout_item_groupby>
              <groupby name="date" editable="true" use_default_formatting="true"/>
              <sortby>
                <data_layout_item name="time" editable="true" use_default_formatting="true" sort_ascending="true"/>
              </sortby>
              <data_layout_item name="scene_id" editable="true" use_default_formatting="true">
                <formatting format_thousands_separator="true" format_decimal_places="2"/>
              </data_layout_item>
              <data_layout_item name="interior_or_exterior" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="day_or_night" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
              <data_layout_item name="description" editable="true" use_default_formatting="true">
                <formatting/>
              </data_layout_item>
            </data_layout_item_groupby>
          </data_layout_group>
        </data_layout_groups>
        <trans_set>
          <trans loc="de" val="Locations List"/>
        </trans_set>
      </report>
    </reports>
    <print_layouts/>
  </table>
  <groups><!--These are only used when recreating a database from an example file. The actual access-control is on the server, of course.-->
    <group name="accounts"/>
    <group name="glom_developer" developer="true"/>
    <group name="personnel_department"/>
  </groups>
  <library_modules/></glom_document>
