<?php 
 $GLOBALS["dictionary"]["P13_Tours"]=array (
  'table' => 'p13_tours',
  'audited' => true,
  'inline_edit' => true,
  'duplicate_merge' => true,
  'fields' => 
  array (
    'id' => 
    array (
      'name' => 'id',
      'vname' => 'LBL_ID',
      'type' => 'id',
      'required' => true,
      'reportable' => true,
      'comment' => 'Unique identifier',
      'inline_edit' => false,
    ),
    'name' => 
    array (
      'name' => 'name',
      'vname' => 'LBL_NAME',
      'type' => 'name',
      'link' => true,
      'dbType' => 'varchar',
      'len' => 255,
      'unified_search' => true,
      'full_text_search' => 
      array (
        'boost' => 3,
      ),
      'required' => true,
      'importable' => 'required',
      'duplicate_merge' => 'enabled',
      'merge_filter' => 'selected',
    ),
    'date_entered' => 
    array (
      'name' => 'date_entered',
      'vname' => 'LBL_DATE_ENTERED',
      'type' => 'datetime',
      'group' => 'created_by_name',
      'comment' => 'Date record created',
      'enable_range_search' => true,
      'options' => 'date_range_search_dom',
      'inline_edit' => false,
    ),
    'date_modified' => 
    array (
      'name' => 'date_modified',
      'vname' => 'LBL_DATE_MODIFIED',
      'type' => 'datetime',
      'group' => 'modified_by_name',
      'comment' => 'Date record last modified',
      'enable_range_search' => true,
      'options' => 'date_range_search_dom',
      'inline_edit' => false,
    ),
    'modified_user_id' => 
    array (
      'name' => 'modified_user_id',
      'rname' => 'user_name',
      'id_name' => 'modified_user_id',
      'vname' => 'LBL_MODIFIED',
      'type' => 'assigned_user_name',
      'table' => 'users',
      'isnull' => 'false',
      'group' => 'modified_by_name',
      'dbType' => 'id',
      'reportable' => true,
      'comment' => 'User who last modified record',
      'massupdate' => false,
      'inline_edit' => false,
    ),
    'modified_by_name' => 
    array (
      'name' => 'modified_by_name',
      'vname' => 'LBL_MODIFIED_NAME',
      'type' => 'relate',
      'reportable' => false,
      'source' => 'non-db',
      'rname' => 'user_name',
      'table' => 'users',
      'id_name' => 'modified_user_id',
      'module' => 'Users',
      'link' => 'modified_user_link',
      'duplicate_merge' => 'disabled',
      'massupdate' => false,
      'inline_edit' => false,
    ),
    'created_by' => 
    array (
      'name' => 'created_by',
      'rname' => 'user_name',
      'id_name' => 'modified_user_id',
      'vname' => 'LBL_CREATED',
      'type' => 'assigned_user_name',
      'table' => 'users',
      'isnull' => 'false',
      'dbType' => 'id',
      'group' => 'created_by_name',
      'comment' => 'User who created record',
      'massupdate' => false,
      'inline_edit' => false,
    ),
    'created_by_name' => 
    array (
      'name' => 'created_by_name',
      'vname' => 'LBL_CREATED',
      'type' => 'relate',
      'reportable' => false,
      'link' => 'created_by_link',
      'rname' => 'user_name',
      'source' => 'non-db',
      'table' => 'users',
      'id_name' => 'created_by',
      'module' => 'Users',
      'duplicate_merge' => 'disabled',
      'importable' => 'false',
      'massupdate' => false,
      'inline_edit' => false,
    ),
    'description' => 
    array (
      'name' => 'description',
      'vname' => 'LBL_DESCRIPTION',
      'type' => 'text',
      'comment' => 'Full text of the note',
      'rows' => 6,
      'cols' => 80,
    ),
    'deleted' => 
    array (
      'name' => 'deleted',
      'vname' => 'LBL_DELETED',
      'type' => 'bool',
      'default' => '0',
      'reportable' => false,
      'comment' => 'Record deletion indicator',
    ),
    'created_by_link' => 
    array (
      'name' => 'created_by_link',
      'type' => 'link',
      'relationship' => 'p13_tours_created_by',
      'vname' => 'LBL_CREATED_USER',
      'link_type' => 'one',
      'module' => 'Users',
      'bean_name' => 'User',
      'source' => 'non-db',
    ),
    'modified_user_link' => 
    array (
      'name' => 'modified_user_link',
      'type' => 'link',
      'relationship' => 'p13_tours_modified_user',
      'vname' => 'LBL_MODIFIED_USER',
      'link_type' => 'one',
      'module' => 'Users',
      'bean_name' => 'User',
      'source' => 'non-db',
    ),
    'assigned_user_id' => 
    array (
      'name' => 'assigned_user_id',
      'rname' => 'user_name',
      'id_name' => 'assigned_user_id',
      'vname' => 'LBL_ASSIGNED_TO_ID',
      'group' => 'assigned_user_name',
      'type' => 'relate',
      'table' => 'users',
      'module' => 'Users',
      'reportable' => true,
      'isnull' => 'false',
      'dbType' => 'id',
      'audited' => true,
      'comment' => 'User ID assigned to record',
      'duplicate_merge' => 'disabled',
    ),
    'assigned_user_name' => 
    array (
      'name' => 'assigned_user_name',
      'link' => 'assigned_user_link',
      'vname' => 'LBL_ASSIGNED_TO_NAME',
      'rname' => 'user_name',
      'type' => 'relate',
      'reportable' => false,
      'source' => 'non-db',
      'table' => 'users',
      'id_name' => 'assigned_user_id',
      'module' => 'Users',
      'duplicate_merge' => 'disabled',
    ),
    'assigned_user_link' => 
    array (
      'name' => 'assigned_user_link',
      'type' => 'link',
      'relationship' => 'p13_tours_assigned_user',
      'vname' => 'LBL_ASSIGNED_TO_USER',
      'link_type' => 'one',
      'module' => 'Users',
      'bean_name' => 'User',
      'source' => 'non-db',
      'duplicate_merge' => 'enabled',
      'rname' => 'user_name',
      'id_name' => 'assigned_user_id',
      'table' => 'users',
    ),
    'SecurityGroups' => 
    array (
      'name' => 'SecurityGroups',
      'type' => 'link',
      'relationship' => 'securitygroups_p13_tours',
      'module' => 'SecurityGroups',
      'bean_name' => 'SecurityGroup',
      'source' => 'non-db',
      'vname' => 'LBL_SECURITYGROUPS',
    ),
    'p02_ventas_p13_tours_1' => 
    array (
      'name' => 'p02_ventas_p13_tours_1',
      'type' => 'link',
      'relationship' => 'p02_ventas_p13_tours_1',
      'source' => 'non-db',
      'module' => 'P02_Ventas',
      'bean_name' => 'P02_Ventas',
      'vname' => 'LBL_P02_VENTAS_P13_TOURS_1_FROM_P02_VENTAS_TITLE',
      'id_name' => 'p02_ventas_p13_tours_1p02_ventas_ida',
    ),
    'p02_ventas_p13_tours_1_name' => 
    array (
      'name' => 'p02_ventas_p13_tours_1_name',
      'type' => 'relate',
      'source' => 'non-db',
      'vname' => 'LBL_P02_VENTAS_P13_TOURS_1_FROM_P02_VENTAS_TITLE',
      'save' => true,
      'id_name' => 'p02_ventas_p13_tours_1p02_ventas_ida',
      'link' => 'p02_ventas_p13_tours_1',
      'table' => 'p02_ventas',
      'module' => 'P02_Ventas',
      'rname' => 'name',
    ),
    'p02_ventas_p13_tours_1p02_ventas_ida' => 
    array (
      'name' => 'p02_ventas_p13_tours_1p02_ventas_ida',
      'type' => 'link',
      'relationship' => 'p02_ventas_p13_tours_1',
      'source' => 'non-db',
      'reportable' => false,
      'side' => 'right',
      'vname' => 'LBL_P02_VENTAS_P13_TOURS_1_FROM_P13_TOURS_TITLE',
    ),
    'account_id_c' => 
    array (
      'inline_edit' => 1,
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'account_id_c',
      'vname' => 'LBL_CLIENTE_ACCOUNT_ID',
      'type' => 'id',
      'massupdate' => '0',
      'default' => NULL,
      'no_default' => false,
      'comments' => '',
      'help' => '',
      'importable' => 'true',
      'duplicate_merge' => 'disabled',
      'duplicate_merge_dom_value' => '0',
      'audited' => false,
      'reportable' => false,
      'unified_search' => false,
      'merge_filter' => 'disabled',
      'len' => '36',
      'size' => '20',
      'id' => 'P13_Toursaccount_id_c',
      'custom_module' => 'P13_Tours',
    ),
    'cliente_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Cliente',
      'required' => true,
      'source' => 'non-db',
      'name' => 'cliente_c',
      'vname' => 'LBL_CLIENTE',
      'type' => 'relate',
      'massupdate' => '0',
      'default' => NULL,
      'no_default' => false,
      'comments' => '',
      'help' => '',
      'importable' => 'true',
      'duplicate_merge' => 'disabled',
      'duplicate_merge_dom_value' => '0',
      'audited' => true,
      'reportable' => true,
      'unified_search' => false,
      'merge_filter' => 'disabled',
      'len' => '255',
      'size' => '20',
      'id_name' => 'account_id_c',
      'ext2' => 'Accounts',
      'module' => 'Accounts',
      'rname' => 'name',
      'quicksearch' => 'enabled',
      'studio' => 'visible',
      'id' => 'P13_Tourscliente_c',
      'custom_module' => 'P13_Tours',
    ),
    'confirmado_por_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Confirmado Por',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'confirmado_por_c',
      'vname' => 'LBL_CONFIRMADO_POR',
      'type' => 'varchar',
      'massupdate' => '0',
      'default' => '',
      'no_default' => false,
      'comments' => '',
      'help' => '',
      'importable' => 'true',
      'duplicate_merge' => 'disabled',
      'duplicate_merge_dom_value' => '0',
      'audited' => true,
      'reportable' => true,
      'unified_search' => false,
      'merge_filter' => 'disabled',
      'len' => '150',
      'size' => '20',
      'id' => 'P13_Toursconfirmado_por_c',
      'custom_module' => 'P13_Tours',
    ),
    'descrip_producto_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Descripción  Producto',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'descrip_producto_c',
      'vname' => 'LBL_DESCRIP_PRODUCTO',
      'type' => 'text',
      'massupdate' => '0',
      'default' => '',
      'no_default' => false,
      'comments' => '',
      'help' => '',
      'importable' => 'true',
      'duplicate_merge' => 'disabled',
      'duplicate_merge_dom_value' => '0',
      'audited' => true,
      'reportable' => true,
      'unified_search' => false,
      'merge_filter' => 'disabled',
      'size' => '20',
      'studio' => 'visible',
      'rows' => '6',
      'cols' => '80',
      'id' => 'P13_Toursdescrip_producto_c',
      'custom_module' => 'P13_Tours',
    ),
    'direccion_hotel_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Dirección Hotel',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'direccion_hotel_c',
      'vname' => 'LBL_DIRECCION_HOTEL',
      'type' => 'text',
      'massupdate' => '0',
      'default' => '',
      'no_default' => false,
      'comments' => '',
      'help' => '',
      'importable' => 'true',
      'duplicate_merge' => 'disabled',
      'duplicate_merge_dom_value' => '0',
      'audited' => true,
      'reportable' => true,
      'unified_search' => false,
      'merge_filter' => 'disabled',
      'size' => '20',
      'studio' => 'visible',
      'rows' => '6',
      'cols' => '80',
      'id' => 'P13_Toursdireccion_hotel_c',
      'custom_module' => 'P13_Tours',
    ),
    'fecha_disfrute_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Fecha Disfrute',
      'required' => true,
      'source' => 'custom_fields',
      'name' => 'fecha_disfrute_c',
      'vname' => 'LBL_FECHA_DISFRUTE',
      'type' => 'date',
      'massupdate' => '0',
      'default' => '',
      'no_default' => false,
      'comments' => '',
      'help' => '',
      'importable' => 'true',
      'duplicate_merge' => 'disabled',
      'duplicate_merge_dom_value' => '0',
      'audited' => true,
      'reportable' => true,
      'unified_search' => false,
      'merge_filter' => 'disabled',
      'size' => '20',
      'enable_range_search' => false,
      'id' => 'P13_Toursfecha_disfrute_c',
      'custom_module' => 'P13_Tours',
    ),
    'hotel_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Hotel',
      'required' => true,
      'source' => 'non-db',
      'name' => 'hotel_c',
      'vname' => 'LBL_HOTEL',
      'type' => 'relate',
      'massupdate' => '0',
      'default' => NULL,
      'no_default' => false,
      'comments' => '',
      'help' => '',
      'importable' => 'true',
      'duplicate_merge' => 'disabled',
      'duplicate_merge_dom_value' => '0',
      'audited' => true,
      'reportable' => true,
      'unified_search' => false,
      'merge_filter' => 'disabled',
      'len' => '255',
      'size' => '20',
      'id_name' => 'p08_hoteles_id_c',
      'ext2' => 'P08_Hoteles',
      'module' => 'P08_Hoteles',
      'rname' => 'name',
      'quicksearch' => 'enabled',
      'studio' => 'visible',
      'id' => 'P13_Tourshotel_c',
      'custom_module' => 'P13_Tours',
    ),
    'localizador_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Localizador',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'localizador_c',
      'vname' => 'LBL_LOCALIZADOR',
      'type' => 'varchar',
      'massupdate' => '0',
      'default' => '',
      'no_default' => false,
      'comments' => '',
      'help' => '',
      'importable' => 'true',
      'duplicate_merge' => 'disabled',
      'duplicate_merge_dom_value' => '0',
      'audited' => true,
      'reportable' => true,
      'unified_search' => false,
      'merge_filter' => 'disabled',
      'len' => '100',
      'size' => '20',
      'id' => 'P13_Tourslocalizador_c',
      'custom_module' => 'P13_Tours',
    ),
    'moneda_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Moneda',
      'required' => true,
      'source' => 'custom_fields',
      'name' => 'moneda_c',
      'vname' => 'LBL_MONEDA',
      'type' => 'enum',
      'massupdate' => '0',
      'default' => NULL,
      'no_default' => false,
      'comments' => '',
      'help' => '',
      'importable' => 'true',
      'duplicate_merge' => 'disabled',
      'duplicate_merge_dom_value' => '0',
      'audited' => true,
      'reportable' => true,
      'unified_search' => false,
      'merge_filter' => 'disabled',
      'len' => 100,
      'size' => '20',
      'options' => 'moneda_list',
      'studio' => 'visible',
      'dependency' => false,
      'id' => 'P13_Toursmoneda_c',
      'custom_module' => 'P13_Tours',
    ),
    'monto_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Monto',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'monto_c',
      'vname' => 'LBL_MONTO',
      'type' => 'varchar',
      'massupdate' => '0',
      'default' => '',
      'no_default' => false,
      'comments' => '',
      'help' => '',
      'importable' => 'true',
      'duplicate_merge' => 'disabled',
      'duplicate_merge_dom_value' => '0',
      'audited' => true,
      'reportable' => true,
      'unified_search' => false,
      'merge_filter' => 'disabled',
      'len' => '50',
      'size' => '20',
      'id' => 'P13_Toursmonto_c',
      'custom_module' => 'P13_Tours',
    ),
    'monto_pago_cliente_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Monto Pago Cliente',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'monto_pago_cliente_c',
      'vname' => 'LBL_MONTO_PAGO_CLIENTE',
      'type' => 'varchar',
      'massupdate' => '0',
      'default' => '',
      'no_default' => false,
      'comments' => '',
      'help' => '',
      'importable' => 'true',
      'duplicate_merge' => 'disabled',
      'duplicate_merge_dom_value' => '0',
      'audited' => true,
      'reportable' => true,
      'unified_search' => false,
      'merge_filter' => 'disabled',
      'len' => '100',
      'size' => '20',
      'id' => 'P13_Toursmonto_pago_cliente_c',
      'custom_module' => 'P13_Tours',
    ),
    'monto_pago_proveedor_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Monto Pago Proveedor',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'monto_pago_proveedor_c',
      'vname' => 'LBL_MONTO_PAGO_PROVEEDOR',
      'type' => 'varchar',
      'massupdate' => '0',
      'default' => '',
      'no_default' => false,
      'comments' => '',
      'help' => '',
      'importable' => 'true',
      'duplicate_merge' => 'disabled',
      'duplicate_merge_dom_value' => '0',
      'audited' => true,
      'reportable' => true,
      'unified_search' => false,
      'merge_filter' => 'disabled',
      'len' => '100',
      'size' => '20',
      'id' => 'P13_Toursmonto_pago_proveedor_c',
      'custom_module' => 'P13_Tours',
    ),
    'nombre_cliente_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Nombre Cliente',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'nombre_cliente_c',
      'vname' => 'LBL_NOMBRE_CLIENTE',
      'type' => 'varchar',
      'massupdate' => '0',
      'default' => '',
      'no_default' => false,
      'comments' => '',
      'help' => '',
      'importable' => 'true',
      'duplicate_merge' => 'disabled',
      'duplicate_merge_dom_value' => '0',
      'audited' => true,
      'reportable' => true,
      'unified_search' => false,
      'merge_filter' => 'disabled',
      'len' => '150',
      'size' => '20',
      'id' => 'P13_Toursnombre_cliente_c',
      'custom_module' => 'P13_Tours',
    ),
    'nombre_pasajeros_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Nombre Pasajeros',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'nombre_pasajeros_c',
      'vname' => 'LBL_NOMBRE_PASAJEROS',
      'type' => 'varchar',
      'massupdate' => '0',
      'default' => '',
      'no_default' => false,
      'comments' => '',
      'help' => '',
      'importable' => 'true',
      'duplicate_merge' => 'disabled',
      'duplicate_merge_dom_value' => '0',
      'audited' => true,
      'reportable' => true,
      'unified_search' => false,
      'merge_filter' => 'disabled',
      'len' => '255',
      'size' => '20',
      'id' => 'P13_Toursnombre_pasajeros_c',
      'custom_module' => 'P13_Tours',
    ),
    'p01_productos_id_c' => 
    array (
      'inline_edit' => 1,
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'p01_productos_id_c',
      'vname' => 'LBL_PRODUCTO_P01_PRODUCTOS_ID',
      'type' => 'id',
      'massupdate' => '0',
      'default' => NULL,
      'no_default' => false,
      'comments' => '',
      'help' => '',
      'importable' => 'true',
      'duplicate_merge' => 'disabled',
      'duplicate_merge_dom_value' => '0',
      'audited' => false,
      'reportable' => false,
      'unified_search' => false,
      'merge_filter' => 'disabled',
      'len' => '36',
      'size' => '20',
      'id' => 'P13_Toursp01_productos_id_c',
      'custom_module' => 'P13_Tours',
    ),
    'p08_hoteles_id_c' => 
    array (
      'inline_edit' => 1,
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'p08_hoteles_id_c',
      'vname' => 'LBL_HOTEL_P08_HOTELES_ID',
      'type' => 'id',
      'massupdate' => '0',
      'default' => NULL,
      'no_default' => false,
      'comments' => '',
      'help' => '',
      'importable' => 'true',
      'duplicate_merge' => 'disabled',
      'duplicate_merge_dom_value' => '0',
      'audited' => false,
      'reportable' => false,
      'unified_search' => false,
      'merge_filter' => 'disabled',
      'len' => '36',
      'size' => '20',
      'id' => 'P13_Toursp08_hoteles_id_c',
      'custom_module' => 'P13_Tours',
    ),
    'p15_proveedores_id_c' => 
    array (
      'inline_edit' => 1,
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'p15_proveedores_id_c',
      'vname' => 'LBL_PROVEEDOR_P15_PROVEEDORES_ID',
      'type' => 'id',
      'massupdate' => '0',
      'default' => NULL,
      'no_default' => false,
      'comments' => '',
      'help' => '',
      'importable' => 'true',
      'duplicate_merge' => 'disabled',
      'duplicate_merge_dom_value' => '0',
      'audited' => false,
      'reportable' => false,
      'unified_search' => false,
      'merge_filter' => 'disabled',
      'len' => '36',
      'size' => '20',
      'id' => 'P13_Toursp15_proveedores_id_c',
      'custom_module' => 'P13_Tours',
    ),
    'pickup_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Pickup',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'pickup_c',
      'vname' => 'LBL_PICKUP',
      'type' => 'varchar',
      'massupdate' => '0',
      'default' => '',
      'no_default' => false,
      'comments' => '',
      'help' => '',
      'importable' => 'true',
      'duplicate_merge' => 'disabled',
      'duplicate_merge_dom_value' => '0',
      'audited' => true,
      'reportable' => true,
      'unified_search' => false,
      'merge_filter' => 'disabled',
      'len' => '100',
      'size' => '20',
      'id' => 'P13_Tourspickup_c',
      'custom_module' => 'P13_Tours',
    ),
    'producto_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Producto',
      'required' => true,
      'source' => 'non-db',
      'name' => 'producto_c',
      'vname' => 'LBL_PRODUCTO',
      'type' => 'relate',
      'massupdate' => '0',
      'default' => NULL,
      'no_default' => false,
      'comments' => '',
      'help' => '',
      'importable' => 'true',
      'duplicate_merge' => 'disabled',
      'duplicate_merge_dom_value' => '0',
      'audited' => true,
      'reportable' => true,
      'unified_search' => false,
      'merge_filter' => 'disabled',
      'len' => '255',
      'size' => '20',
      'id_name' => 'p01_productos_id_c',
      'ext2' => 'P01_Productos',
      'module' => 'P01_Productos',
      'rname' => 'name',
      'quicksearch' => 'enabled',
      'studio' => 'visible',
      'id' => 'P13_Toursproducto_c',
      'custom_module' => 'P13_Tours',
    ),
    'proveedor_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Proveedor',
      'required' => true,
      'source' => 'non-db',
      'name' => 'proveedor_c',
      'vname' => 'LBL_PROVEEDOR',
      'type' => 'relate',
      'massupdate' => '0',
      'default' => NULL,
      'no_default' => false,
      'comments' => '',
      'help' => '',
      'importable' => 'true',
      'duplicate_merge' => 'disabled',
      'duplicate_merge_dom_value' => '0',
      'audited' => true,
      'reportable' => true,
      'unified_search' => false,
      'merge_filter' => 'disabled',
      'len' => '255',
      'size' => '20',
      'id_name' => 'p15_proveedores_id_c',
      'ext2' => 'P15_Proveedores',
      'module' => 'P15_Proveedores',
      'rname' => 'name',
      'quicksearch' => 'enabled',
      'studio' => 'visible',
      'id' => 'P13_Toursproveedor_c',
      'custom_module' => 'P13_Tours',
    ),
  ),
  'relationships' => 
  array (
    'p13_tours_modified_user' => 
    array (
      'lhs_module' => 'Users',
      'lhs_table' => 'users',
      'lhs_key' => 'id',
      'rhs_module' => 'P13_Tours',
      'rhs_table' => 'p13_tours',
      'rhs_key' => 'modified_user_id',
      'relationship_type' => 'one-to-many',
    ),
    'p13_tours_created_by' => 
    array (
      'lhs_module' => 'Users',
      'lhs_table' => 'users',
      'lhs_key' => 'id',
      'rhs_module' => 'P13_Tours',
      'rhs_table' => 'p13_tours',
      'rhs_key' => 'created_by',
      'relationship_type' => 'one-to-many',
    ),
    'p13_tours_assigned_user' => 
    array (
      'lhs_module' => 'Users',
      'lhs_table' => 'users',
      'lhs_key' => 'id',
      'rhs_module' => 'P13_Tours',
      'rhs_table' => 'p13_tours',
      'rhs_key' => 'assigned_user_id',
      'relationship_type' => 'one-to-many',
    ),
    'securitygroups_p13_tours' => 
    array (
      'lhs_module' => 'SecurityGroups',
      'lhs_table' => 'securitygroups',
      'lhs_key' => 'id',
      'rhs_module' => 'P13_Tours',
      'rhs_table' => 'p13_tours',
      'rhs_key' => 'id',
      'relationship_type' => 'many-to-many',
      'join_table' => 'securitygroups_records',
      'join_key_lhs' => 'securitygroup_id',
      'join_key_rhs' => 'record_id',
      'relationship_role_column' => 'module',
      'relationship_role_column_value' => 'P13_Tours',
    ),
  ),
  'optimistic_locking' => true,
  'unified_search' => true,
  'indices' => 
  array (
    'id' => 
    array (
      'name' => 'p13_tourspk',
      'type' => 'primary',
      'fields' => 
      array (
        0 => 'id',
      ),
    ),
  ),
  'templates' => 
  array (
    'security_groups' => 'security_groups',
    'assignable' => 'assignable',
    'basic' => 'basic',
  ),
  'custom_fields' => true,
);