File: /home/nexper/public_html/crm/custom/metadata/aos_quotes_projectMetaData.php
<?php
/**
* Advanced OpenSales, Advanced, robust set of sales modules.
* @package Advanced OpenSales for SugarCRM
* @copyright SalesAgility Ltd http://www.salesagility.com
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
* along with this program; if not, see http://www.gnu.org/licenses
* or write to the Free Software Foundation,Inc., 51 Franklin Street,
* Fifth Floor, Boston, MA 02110-1301 USA
*
* @author SalesAgility <info@salesagility.com>
*/
$dictionary["aos_quotes_project"] = array (
'true_relationship_type' => 'many-to-many',
'relationships' =>
array (
'aos_quotes_project' =>
array (
'lhs_module' => 'AOS_Quotes',
'lhs_table' => 'aos_quotes',
'lhs_key' => 'id',
'rhs_module' => 'Project',
'rhs_table' => 'project',
'rhs_key' => 'id',
'relationship_type' => 'many-to-many',
'join_table' => 'aos_quotes_project_c',
'join_key_lhs' => 'aos_quotes1112_quotes_ida',
'join_key_rhs' => 'aos_quotes7207project_idb',
),
),
'table' => 'aos_quotes_project_c',
'fields' =>
array (
0 =>
array (
'name' => 'id',
'type' => 'varchar',
'len' => 36,
),
1 =>
array (
'name' => 'date_modified',
'type' => 'datetime',
),
2 =>
array (
'name' => 'deleted',
'type' => 'bool',
'len' => '1',
'default' => '0',
'required' => true,
),
3 =>
array (
'name' => 'aos_quotes1112_quotes_ida',
'type' => 'varchar',
'len' => 36,
),
4 =>
array (
'name' => 'aos_quotes7207project_idb',
'type' => 'varchar',
'len' => 36,
),
),
'indices' =>
array (
0 =>
array (
'name' => 'aos_quotes_projectspk',
'type' => 'primary',
'fields' =>
array (
0 => 'id',
),
),
1 =>
array (
'name' => 'aos_quotes_project_alt',
'type' => 'alternate_key',
'fields' =>
array (
0 => 'aos_quotes1112_quotes_ida',
1 => 'aos_quotes7207project_idb',
),
),
),
);
?>