%PDF- %PDF-
Direktori : /var/www/crm/custom/working/modules/Project/ |
Current File : /var/www/crm/custom/working/modules/Project/relationships.php |
<?php /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as published by the * Free Software Foundation with the addition of the following permission added * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS. * * 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 Affero 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. * * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road, * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com. * * The interactive user interfaces in modified source and object code versions * of this program must display Appropriate Legal Notices, as required under * Section 5 of the GNU Affero General Public License version 3. * * In accordance with Section 7(b) of the GNU Affero General Public License version 3, * these Appropriate Legal Notices must retain the display of the "Powered by * SugarCRM" logo. If the display of the logo is not reasonably feasible for * technical reasons, the Appropriate Legal Notices must display the words * "Powered by SugarCRM". ********************************************************************************/ $relationships = array ( 'projects_notes' => array ( 'id' => 'a5fa6fa1-da38-79f4-5a1c-51dfe2b37f61', 'relationship_name' => 'projects_notes', 'lhs_module' => 'Project', 'lhs_table' => 'project', 'lhs_key' => 'id', 'rhs_module' => 'Notes', 'rhs_table' => 'notes', 'rhs_key' => 'parent_id', 'join_table' => NULL, 'join_key_lhs' => NULL, 'join_key_rhs' => NULL, 'relationship_type' => 'one-to-many', 'relationship_role_column' => 'parent_type', 'relationship_role_column_value' => 'Project', 'reverse' => '0', 'deleted' => '0', 'readonly' => true, 'rhs_subpanel' => NULL, 'lhs_subpanel' => NULL, 'relationship_only' => false, 'for_activities' => false, 'is_custom' => false, 'from_studio' => true, ), 'projects_tasks' => array ( 'id' => 'a6310ba0-4001-f792-90b2-51dfe292475d', 'relationship_name' => 'projects_tasks', 'lhs_module' => 'Project', 'lhs_table' => 'project', 'lhs_key' => 'id', 'rhs_module' => 'Tasks', 'rhs_table' => 'tasks', 'rhs_key' => 'parent_id', 'join_table' => NULL, 'join_key_lhs' => NULL, 'join_key_rhs' => NULL, 'relationship_type' => 'one-to-many', 'relationship_role_column' => 'parent_type', 'relationship_role_column_value' => 'Project', 'reverse' => '0', 'deleted' => '0', 'readonly' => true, 'rhs_subpanel' => NULL, 'lhs_subpanel' => NULL, 'relationship_only' => false, 'for_activities' => false, 'is_custom' => false, 'from_studio' => true, ), 'projects_meetings' => array ( 'id' => 'a662c24d-525b-51ba-83e0-51dfe230f01d', 'relationship_name' => 'projects_meetings', 'lhs_module' => 'Project', 'lhs_table' => 'project', 'lhs_key' => 'id', 'rhs_module' => 'Meetings', 'rhs_table' => 'meetings', 'rhs_key' => 'parent_id', 'join_table' => NULL, 'join_key_lhs' => NULL, 'join_key_rhs' => NULL, 'relationship_type' => 'one-to-many', 'relationship_role_column' => 'parent_type', 'relationship_role_column_value' => 'Project', 'reverse' => '0', 'deleted' => '0', 'readonly' => true, 'rhs_subpanel' => NULL, 'lhs_subpanel' => NULL, 'relationship_only' => false, 'for_activities' => false, 'is_custom' => false, 'from_studio' => true, ), 'projects_calls' => array ( 'id' => 'a6940a76-56bc-b62f-6ba6-51dfe2ca7488', 'relationship_name' => 'projects_calls', 'lhs_module' => 'Project', 'lhs_table' => 'project', 'lhs_key' => 'id', 'rhs_module' => 'Calls', 'rhs_table' => 'calls', 'rhs_key' => 'parent_id', 'join_table' => NULL, 'join_key_lhs' => NULL, 'join_key_rhs' => NULL, 'relationship_type' => 'one-to-many', 'relationship_role_column' => 'parent_type', 'relationship_role_column_value' => 'Project', 'reverse' => '0', 'deleted' => '0', 'readonly' => true, 'rhs_subpanel' => NULL, 'lhs_subpanel' => NULL, 'relationship_only' => false, 'for_activities' => false, 'is_custom' => false, 'from_studio' => true, ), 'projects_project_tasks' => array ( 'id' => 'a6ee3a2b-1b87-e68a-6adc-51dfe22ec817', 'relationship_name' => 'projects_project_tasks', 'lhs_module' => 'Project', 'lhs_table' => 'project', 'lhs_key' => 'id', 'rhs_module' => 'ProjectTask', 'rhs_table' => 'project_task', 'rhs_key' => 'project_id', 'join_table' => NULL, 'join_key_lhs' => NULL, 'join_key_rhs' => NULL, 'relationship_type' => 'one-to-many', 'relationship_role_column' => NULL, 'relationship_role_column_value' => NULL, 'reverse' => '0', 'deleted' => '0', 'readonly' => true, 'rhs_subpanel' => 'default', 'lhs_subpanel' => NULL, 'relationship_only' => false, 'for_activities' => false, 'is_custom' => false, 'from_studio' => true, ), 'projects_assigned_user' => array ( 'id' => 'a7195961-98da-28cb-d4a4-51dfe20f5c66', 'relationship_name' => 'projects_assigned_user', 'lhs_module' => 'Users', 'lhs_table' => 'users', 'lhs_key' => 'id', 'rhs_module' => 'Project', 'rhs_table' => 'project', 'rhs_key' => 'assigned_user_id', 'join_table' => NULL, 'join_key_lhs' => NULL, 'join_key_rhs' => NULL, 'relationship_type' => 'one-to-many', 'relationship_role_column' => NULL, 'relationship_role_column_value' => NULL, 'reverse' => '0', 'deleted' => '0', 'readonly' => true, 'rhs_subpanel' => NULL, 'lhs_subpanel' => NULL, 'relationship_only' => false, 'for_activities' => false, 'is_custom' => false, 'from_studio' => true, ), 'projects_modified_user' => array ( 'id' => 'a73998bd-a614-b721-fd58-51dfe228d5d8', 'relationship_name' => 'projects_modified_user', 'lhs_module' => 'Users', 'lhs_table' => 'users', 'lhs_key' => 'id', 'rhs_module' => 'Project', 'rhs_table' => 'project', 'rhs_key' => 'modified_user_id', 'join_table' => NULL, 'join_key_lhs' => NULL, 'join_key_rhs' => NULL, 'relationship_type' => 'one-to-many', 'relationship_role_column' => NULL, 'relationship_role_column_value' => NULL, 'reverse' => '0', 'deleted' => '0', 'readonly' => true, 'rhs_subpanel' => NULL, 'lhs_subpanel' => NULL, 'relationship_only' => false, 'for_activities' => false, 'is_custom' => false, 'from_studio' => true, ), 'projects_created_by' => array ( 'id' => 'a75a67f9-a335-ddaf-6769-51dfe26ae9bd', 'relationship_name' => 'projects_created_by', 'lhs_module' => 'Users', 'lhs_table' => 'users', 'lhs_key' => 'id', 'rhs_module' => 'Project', 'rhs_table' => 'project', 'rhs_key' => 'created_by', 'join_table' => NULL, 'join_key_lhs' => NULL, 'join_key_rhs' => NULL, 'relationship_type' => 'one-to-many', 'relationship_role_column' => NULL, 'relationship_role_column_value' => NULL, 'reverse' => '0', 'deleted' => '0', 'readonly' => true, 'rhs_subpanel' => NULL, 'lhs_subpanel' => NULL, 'relationship_only' => false, 'for_activities' => false, 'is_custom' => false, 'from_studio' => true, ), 'projects_bugs' => array ( 'id' => 'd3a2054c-a6da-1665-1785-51dfe265c6d1', 'relationship_name' => 'projects_bugs', 'lhs_module' => 'Project', 'lhs_table' => 'project', 'lhs_key' => 'id', 'rhs_module' => 'Bugs', 'rhs_table' => 'bugs', 'rhs_key' => 'id', 'join_table' => 'projects_bugs', 'join_key_lhs' => 'project_id', 'join_key_rhs' => 'bug_id', 'relationship_type' => 'many-to-many', 'relationship_role_column' => NULL, 'relationship_role_column_value' => NULL, 'reverse' => '0', 'deleted' => '0', 'readonly' => true, 'rhs_subpanel' => NULL, 'lhs_subpanel' => 'default', 'relationship_only' => false, 'for_activities' => false, 'is_custom' => false, 'from_studio' => true, ), 'projects_cases' => array ( 'id' => 'd5f70e1e-963b-abc0-2df9-51dfe2b9672c', 'relationship_name' => 'projects_cases', 'lhs_module' => 'Project', 'lhs_table' => 'project', 'lhs_key' => 'id', 'rhs_module' => 'Cases', 'rhs_table' => 'cases', 'rhs_key' => 'id', 'join_table' => 'projects_cases', 'join_key_lhs' => 'project_id', 'join_key_rhs' => 'case_id', 'relationship_type' => 'many-to-many', 'relationship_role_column' => NULL, 'relationship_role_column_value' => NULL, 'reverse' => '0', 'deleted' => '0', 'readonly' => true, 'rhs_subpanel' => NULL, 'lhs_subpanel' => 'default', 'relationship_only' => false, 'for_activities' => false, 'is_custom' => false, 'from_studio' => true, ), 'projects_accounts' => array ( 'id' => 'd87606d5-ff00-b904-8685-51dfe2a430a1', 'relationship_name' => 'projects_accounts', 'lhs_module' => 'Project', 'lhs_table' => 'project', 'lhs_key' => 'id', 'rhs_module' => 'Accounts', 'rhs_table' => 'accounts', 'rhs_key' => 'id', 'join_table' => 'projects_accounts', 'join_key_lhs' => 'project_id', 'join_key_rhs' => 'account_id', 'relationship_type' => 'many-to-many', 'relationship_role_column' => NULL, 'relationship_role_column_value' => NULL, 'reverse' => '0', 'deleted' => '0', 'readonly' => true, 'rhs_subpanel' => NULL, 'lhs_subpanel' => 'default', 'relationship_only' => false, 'for_activities' => false, 'is_custom' => false, 'from_studio' => true, ), 'projects_contacts' => array ( 'id' => 'daca0804-4706-2c75-19d4-51dfe2efb2b0', 'relationship_name' => 'projects_contacts', 'lhs_module' => 'Project', 'lhs_table' => 'project', 'lhs_key' => 'id', 'rhs_module' => 'Contacts', 'rhs_table' => 'contacts', 'rhs_key' => 'id', 'join_table' => 'projects_contacts', 'join_key_lhs' => 'project_id', 'join_key_rhs' => 'contact_id', 'relationship_type' => 'many-to-many', 'relationship_role_column' => NULL, 'relationship_role_column_value' => NULL, 'reverse' => '0', 'deleted' => '0', 'readonly' => true, 'rhs_subpanel' => 'default', 'lhs_subpanel' => 'default', 'relationship_only' => false, 'for_activities' => false, 'is_custom' => false, 'from_studio' => true, ), 'projects_opportunities' => array ( 'id' => 'dd280fc8-d7e6-da72-2c07-51dfe2b57e0f', 'relationship_name' => 'projects_opportunities', 'lhs_module' => 'Project', 'lhs_table' => 'project', 'lhs_key' => 'id', 'rhs_module' => 'Opportunities', 'rhs_table' => 'opportunities', 'rhs_key' => 'id', 'join_table' => 'projects_opportunities', 'join_key_lhs' => 'project_id', 'join_key_rhs' => 'opportunity_id', 'relationship_type' => 'many-to-many', 'relationship_role_column' => NULL, 'relationship_role_column_value' => NULL, 'reverse' => '0', 'deleted' => '0', 'readonly' => true, 'rhs_subpanel' => 'default', 'lhs_subpanel' => 'default', 'relationship_only' => false, 'for_activities' => false, 'is_custom' => false, 'from_studio' => true, ), 'project_documents_1' => array ( 'rhs_label' => 'Documenti', 'lhs_label' => 'Commesse', 'rhs_subpanel' => 'default', 'lhs_module' => 'Project', 'rhs_module' => 'Documents', 'relationship_type' => 'one-to-many', 'readonly' => true, 'deleted' => false, 'relationship_only' => false, 'for_activities' => false, 'is_custom' => false, 'from_studio' => true, 'relationship_name' => 'project_documents_1', ), );