%PDF- %PDF-
Direktori : /var/www/crm/custom/working/modules/Accounts/ |
Current File : /var/www/crm/custom/working/modules/Accounts/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 ( 'campaign_accounts' => array ( 'id' => '64ae7e74-beeb-e7e0-5079-51dfdc70b52b', 'relationship_name' => 'campaign_accounts', 'lhs_module' => 'Campaigns', 'lhs_table' => 'campaigns', 'lhs_key' => 'id', 'rhs_module' => 'Accounts', 'rhs_table' => 'accounts', 'rhs_key' => 'campaign_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' => false, ), 'accounts_modified_user' => array ( 'id' => '771e35c4-ecb1-24e4-d1de-51dfdc9236ac', 'relationship_name' => 'accounts_modified_user', 'lhs_module' => 'Users', 'lhs_table' => 'users', 'lhs_key' => 'id', 'rhs_module' => 'Accounts', 'rhs_table' => 'accounts', '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' => false, ), 'accounts_created_by' => array ( 'id' => '77431f71-eb44-1e1a-0253-51dfdc5e7857', 'relationship_name' => 'accounts_created_by', 'lhs_module' => 'Users', 'lhs_table' => 'users', 'lhs_key' => 'id', 'rhs_module' => 'Accounts', 'rhs_table' => 'accounts', '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' => false, ), 'accounts_assigned_user' => array ( 'id' => '776de259-0a04-5cca-2367-51dfdcd27251', 'relationship_name' => 'accounts_assigned_user', 'lhs_module' => 'Users', 'lhs_table' => 'users', 'lhs_key' => 'id', 'rhs_module' => 'Accounts', 'rhs_table' => 'accounts', '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' => false, ), 'member_accounts' => array ( 'id' => '77e0a87b-2e9d-37f2-098b-51dfdcea3f31', 'relationship_name' => 'member_accounts', 'lhs_module' => 'Accounts', 'lhs_table' => 'accounts', 'lhs_key' => 'id', 'rhs_module' => 'Accounts', 'rhs_table' => 'accounts', 'rhs_key' => 'parent_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' => false, ), 'account_cases' => array ( 'id' => '78030d6a-ec0c-1169-bc09-51dfdc2a6f1c', 'relationship_name' => 'account_cases', 'lhs_module' => 'Accounts', 'lhs_table' => 'accounts', 'lhs_key' => 'id', 'rhs_module' => 'Cases', 'rhs_table' => 'cases', 'rhs_key' => 'account_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' => false, ), 'account_tasks' => array ( 'id' => '782c424f-8a12-48d8-8ffb-51dfdc149e00', 'relationship_name' => 'account_tasks', 'lhs_module' => 'Accounts', 'lhs_table' => 'accounts', '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' => 'Accounts', 'reverse' => '0', 'deleted' => '0', 'readonly' => true, 'rhs_subpanel' => NULL, 'lhs_subpanel' => NULL, 'relationship_only' => false, 'for_activities' => false, 'is_custom' => false, 'from_studio' => false, ), 'account_notes' => array ( 'id' => '78587665-a3b2-36e0-56c9-51dfdc6e4d34', 'relationship_name' => 'account_notes', 'lhs_module' => 'Accounts', 'lhs_table' => 'accounts', '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' => 'Accounts', 'reverse' => '0', 'deleted' => '0', 'readonly' => true, 'rhs_subpanel' => NULL, 'lhs_subpanel' => NULL, 'relationship_only' => false, 'for_activities' => false, 'is_custom' => false, 'from_studio' => false, ), 'account_meetings' => array ( 'id' => '78798411-485a-5927-50ed-51dfdc955643', 'relationship_name' => 'account_meetings', 'lhs_module' => 'Accounts', 'lhs_table' => 'accounts', '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' => 'Accounts', 'reverse' => '0', 'deleted' => '0', 'readonly' => true, 'rhs_subpanel' => NULL, 'lhs_subpanel' => NULL, 'relationship_only' => false, 'for_activities' => false, 'is_custom' => false, 'from_studio' => false, ), 'account_calls' => array ( 'id' => '78a30380-adf3-5370-ed2b-51dfdcc8d5c8', 'relationship_name' => 'account_calls', 'lhs_module' => 'Accounts', 'lhs_table' => 'accounts', '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' => 'Accounts', 'reverse' => '0', 'deleted' => '0', 'readonly' => true, 'rhs_subpanel' => NULL, 'lhs_subpanel' => NULL, 'relationship_only' => false, 'for_activities' => false, 'is_custom' => false, 'from_studio' => false, ), 'account_leads' => array ( 'id' => '78e44f5c-457a-3608-7148-51dfdc8c3d71', 'relationship_name' => 'account_leads', 'lhs_module' => 'Accounts', 'lhs_table' => 'accounts', 'lhs_key' => 'id', 'rhs_module' => 'Leads', 'rhs_table' => 'leads', 'rhs_key' => 'account_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' => false, ), 'accounts_bugs' => array ( 'id' => 'ae8fc269-8948-2102-e8a9-51dfdc4374a1', 'relationship_name' => 'accounts_bugs', 'lhs_module' => 'Accounts', 'lhs_table' => 'accounts', 'lhs_key' => 'id', 'rhs_module' => 'Bugs', 'rhs_table' => 'bugs', 'rhs_key' => 'id', 'join_table' => 'accounts_bugs', 'join_key_lhs' => 'account_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' => NULL, 'relationship_only' => false, 'for_activities' => false, 'is_custom' => false, 'from_studio' => false, ), 'accounts_contacts' => array ( 'id' => 'aec08cc7-a321-1c32-c35a-51dfdc3eb5d2', 'relationship_name' => 'accounts_contacts', 'lhs_module' => 'Accounts', 'lhs_table' => 'accounts', 'lhs_key' => 'id', 'rhs_module' => 'Contacts', 'rhs_table' => 'contacts', 'rhs_key' => 'id', 'join_table' => 'accounts_contacts', 'join_key_lhs' => 'account_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' => 'ForAccounts', 'lhs_subpanel' => NULL, 'relationship_only' => false, 'for_activities' => false, 'is_custom' => false, 'from_studio' => false, ), 'accounts_opportunities' => array ( 'id' => 'aeecbc7c-ba9f-26b1-75b9-51dfdc990ee8', 'relationship_name' => 'accounts_opportunities', 'lhs_module' => 'Accounts', 'lhs_table' => 'accounts', 'lhs_key' => 'id', 'rhs_module' => 'Opportunities', 'rhs_table' => 'opportunities', 'rhs_key' => 'id', 'join_table' => 'accounts_opportunities', 'join_key_lhs' => 'account_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' => 'ForAccounts', 'lhs_subpanel' => NULL, 'relationship_only' => false, 'for_activities' => false, 'is_custom' => false, 'from_studio' => false, ), 'projects_accounts' => array ( 'id' => 'b3d86041-0839-9d33-be5b-51dfdc303647', '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' => false, ), 'documents_accounts' => array ( 'id' => 'b4eb7632-064f-89b5-ca91-51dfdc636c54', 'relationship_name' => 'documents_accounts', 'lhs_module' => 'Documents', 'lhs_table' => 'documents', 'lhs_key' => 'id', 'rhs_module' => 'Accounts', 'rhs_table' => 'accounts', 'rhs_key' => 'id', 'join_table' => 'documents_accounts', 'join_key_lhs' => 'document_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' => false, ), 'tsi_scadenziario_accounts' => array ( 'id' => 'b644d672-50d2-6ceb-9b6e-51dfdcbe1982', 'relationship_name' => 'tsi_scadenziario_accounts', 'lhs_module' => 'Accounts', 'lhs_table' => 'accounts', 'lhs_key' => 'id', 'rhs_module' => 'TSI_Scadenziario', 'rhs_table' => 'tsi_scadenziario', 'rhs_key' => 'id', 'join_table' => 'tsi_scadenziario_accounts_c', 'join_key_lhs' => 'tsi_scadenziario_accountsaccounts_ida', 'join_key_rhs' => 'tsi_scadenziario_accountstsi_scadenziario_idb', '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, 'is_custom' => true, 'relationship_only' => false, 'for_activities' => false, 'from_studio' => false, ), );