<?php 
 $GLOBALS["dictionary"]["P11_Boletos"]=array (
  'table' => 'p11_boletos',
  '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' => 'p11_boletos_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' => 'p11_boletos_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' => 'p11_boletos_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_p11_boletos',
      'module' => 'SecurityGroups',
      'bean_name' => 'SecurityGroup',
      'source' => 'non-db',
      'vname' => 'LBL_SECURITYGROUPS',
    ),
    'p02_ventas_p11_boletos_1' => 
    array (
      'name' => 'p02_ventas_p11_boletos_1',
      'type' => 'link',
      'relationship' => 'p02_ventas_p11_boletos_1',
      'source' => 'non-db',
      'module' => 'P02_Ventas',
      'bean_name' => 'P02_Ventas',
      'vname' => 'LBL_P02_VENTAS_P11_BOLETOS_1_FROM_P02_VENTAS_TITLE',
      'id_name' => 'p02_ventas_p11_boletos_1p02_ventas_ida',
    ),
    'p02_ventas_p11_boletos_1_name' => 
    array (
      'name' => 'p02_ventas_p11_boletos_1_name',
      'type' => 'relate',
      'source' => 'non-db',
      'vname' => 'LBL_P02_VENTAS_P11_BOLETOS_1_FROM_P02_VENTAS_TITLE',
      'save' => true,
      'id_name' => 'p02_ventas_p11_boletos_1p02_ventas_ida',
      'link' => 'p02_ventas_p11_boletos_1',
      'table' => 'p02_ventas',
      'module' => 'P02_Ventas',
      'rname' => 'name',
    ),
    'p02_ventas_p11_boletos_1p02_ventas_ida' => 
    array (
      'name' => 'p02_ventas_p11_boletos_1p02_ventas_ida',
      'type' => 'link',
      'relationship' => 'p02_ventas_p11_boletos_1',
      'source' => 'non-db',
      'reportable' => false,
      'side' => 'right',
      'vname' => 'LBL_P02_VENTAS_P11_BOLETOS_1_FROM_P11_BOLETOS_TITLE',
    ),
    'aerolineas_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Aerolínea.',
      'required' => true,
      'source' => 'non-db',
      'name' => 'aerolineas_c',
      'vname' => 'LBL_AEROLINEAS',
      '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' => 'p09_lineasaereas_id_c',
      'ext2' => 'P09_LineasAereas',
      'module' => 'P09_LineasAereas',
      'rname' => 'name',
      'quicksearch' => 'enabled',
      'studio' => 'visible',
      'id' => 'P11_Boletosaerolineas_c',
      'custom_module' => 'P11_Boletos',
    ),
    'base_imponible_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Base Imponible',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'base_imponible_c',
      'vname' => 'LBL_BASE_IMPONIBLE',
      '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' => 'P11_Boletosbase_imponible_c',
      'custom_module' => 'P11_Boletos',
    ),
    'check_in_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Check IN',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'check_in_c',
      'vname' => 'LBL_CHECK_IN',
      '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' => 'P11_Boletoscheck_in_c',
      'custom_module' => 'P11_Boletos',
    ),
    'check_out_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Check out',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'check_out_c',
      'vname' => 'LBL_CHECK_OUT',
      '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' => 'P11_Boletoscheck_out_c',
      'custom_module' => 'P11_Boletos',
    ),
    'codigo_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Código',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'codigo_c',
      'vname' => 'LBL_CODIGO',
      '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' => 'P11_Boletoscodigo_c',
      'custom_module' => 'P11_Boletos',
    ),
    'costo_boleto_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Costo Boleto',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'costo_boleto_c',
      'vname' => 'LBL_COSTO_BOLETO',
      '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' => 'P11_Boletoscosto_boleto_c',
      'custom_module' => 'P11_Boletos',
    ),
    'costo_proveedor_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Costo Proveedor',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'costo_proveedor_c',
      'vname' => 'LBL_COSTO_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' => '50',
      'size' => '20',
      'id' => 'P11_Boletoscosto_proveedor_c',
      'custom_module' => 'P11_Boletos',
    ),
    'destino_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Destino',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'destino_c',
      'vname' => 'LBL_DESTINO',
      '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' => 'P11_Boletosdestino_c',
      'custom_module' => 'P11_Boletos',
    ),
    'fecha_emision_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Fecha Emisión',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'fecha_emision_c',
      'vname' => 'LBL_FECHA_EMISION',
      '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' => 'P11_Boletosfecha_emision_c',
      'custom_module' => 'P11_Boletos',
    ),
    'iata_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'IATA',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'iata_c',
      'vname' => 'LBL_IATA',
      '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' => 'P11_Boletosiata_c',
      'custom_module' => 'P11_Boletos',
    ),
    'impuestos_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'impuestos',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'impuestos_c',
      'vname' => 'LBL_IMPUESTOS',
      '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' => 'P11_Boletosimpuestos_c',
      'custom_module' => 'P11_Boletos',
    ),
    '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' => 'P11_Boletoslocalizador_c',
      'custom_module' => 'P11_Boletos',
    ),
    'monto_venta_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Monto Venta',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'monto_venta_c',
      'vname' => 'LBL_MONTO_VENTA',
      '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' => 'P11_Boletosmonto_venta_c',
      'custom_module' => 'P11_Boletos',
    ),
    'nombre_pasajero_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'Nombre Pasajero',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'nombre_pasajero_c',
      'vname' => 'LBL_NOMBRE_PASAJERO',
      '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' => 'P11_Boletosnombre_pasajero_c',
      'custom_module' => 'P11_Boletos',
    ),
    'ny_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'NY',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'ny_c',
      'vname' => 'LBL_NY',
      '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' => 'P11_Boletosny_c',
      'custom_module' => 'P11_Boletos',
    ),
    'p09_lineasaereas_id_c' => 
    array (
      'inline_edit' => 1,
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'p09_lineasaereas_id_c',
      'vname' => 'LBL_AEROLINEAS_P09_LINEASAEREAS_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' => 'P11_Boletosp09_lineasaereas_id_c',
      'custom_module' => 'P11_Boletos',
    ),
    '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' => 'P11_Boletosp15_proveedores_id_c',
      'custom_module' => 'P11_Boletos',
    ),
    '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' => 'P11_Boletosproveedor_c',
      'custom_module' => 'P11_Boletos',
    ),
    'yq_c' => 
    array (
      'inline_edit' => '',
      'labelValue' => 'YQ',
      'required' => false,
      'source' => 'custom_fields',
      'name' => 'yq_c',
      'vname' => 'LBL_YQ',
      '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' => 'P11_Boletosyq_c',
      'custom_module' => 'P11_Boletos',
    ),
    'aerolinea_c' => 
    array (
      'required' => true,
      'source' => 'non-db',
      'name' => 'aerolinea_c',
      'vname' => 'LBL_AEROLINEA',
      'type' => 'relate',
      'massupdate' => '0',
      'default' => NULL,
      'no_default' => false,
      'comments' => '',
      'help' => '',
      'importable' => 'true',
      'duplicate_merge' => 'disabled',
      'duplicate_merge_dom_value' => '0',
      'audited' => false,
      'inline_edit' => true,
      'reportable' => true,
      'unified_search' => false,
      'merge_filter' => 'disabled',
      'len' => '255',
      'size' => '20',
      'id_name' => 'p09_lineasaereas_id_c',
      'ext2' => 'P09_LineasAereas',
      'module' => 'P09_LineasAereas',
      'rname' => 'name',
      'quicksearch' => 'enabled',
      'studio' => 'visible',
      'id' => 'P11_Boletosaerolinea_c',
      'custom_module' => 'P11_Boletos',
    ),
  ),
  'relationships' => 
  array (
    'p11_boletos_modified_user' => 
    array (
      'lhs_module' => 'Users',
      'lhs_table' => 'users',
      'lhs_key' => 'id',
      'rhs_module' => 'P11_Boletos',
      'rhs_table' => 'p11_boletos',
      'rhs_key' => 'modified_user_id',
      'relationship_type' => 'one-to-many',
    ),
    'p11_boletos_created_by' => 
    array (
      'lhs_module' => 'Users',
      'lhs_table' => 'users',
      'lhs_key' => 'id',
      'rhs_module' => 'P11_Boletos',
      'rhs_table' => 'p11_boletos',
      'rhs_key' => 'created_by',
      'relationship_type' => 'one-to-many',
    ),
    'p11_boletos_assigned_user' => 
    array (
      'lhs_module' => 'Users',
      'lhs_table' => 'users',
      'lhs_key' => 'id',
      'rhs_module' => 'P11_Boletos',
      'rhs_table' => 'p11_boletos',
      'rhs_key' => 'assigned_user_id',
      'relationship_type' => 'one-to-many',
    ),
    'securitygroups_p11_boletos' => 
    array (
      'lhs_module' => 'SecurityGroups',
      'lhs_table' => 'securitygroups',
      'lhs_key' => 'id',
      'rhs_module' => 'P11_Boletos',
      'rhs_table' => 'p11_boletos',
      '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' => 'P11_Boletos',
    ),
  ),
  'optimistic_locking' => true,
  'unified_search' => true,
  'indices' => 
  array (
    'id' => 
    array (
      'name' => 'p11_boletospk',
      'type' => 'primary',
      'fields' => 
      array (
        0 => 'id',
      ),
    ),
  ),
  'templates' => 
  array (
    'security_groups' => 'security_groups',
    'assignable' => 'assignable',
    'basic' => 'basic',
  ),
  'custom_fields' => true,
);