782 lines
24 KiB
PHP
Executable File
782 lines
24 KiB
PHP
Executable File
<?php
|
|
/*********************************************************************************
|
|
* SugarCRM is a customer relationship management program developed by
|
|
* SugarCRM, Inc. Copyright (C) 2004-2010 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' => '150890e7-cf38-a4cb-682c-52b2a62d464a',
|
|
'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' => 'default',
|
|
'lhs_subpanel' => NULL,
|
|
'relationship_only' => false,
|
|
'for_activities' => false,
|
|
'is_custom' => false,
|
|
'from_studio' => false,
|
|
),
|
|
'member_accounts' =>
|
|
array (
|
|
'id' => '2d3e463a-7953-fdf5-ebf0-52b2a65b3371',
|
|
'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' => 'default',
|
|
'lhs_subpanel' => 'default',
|
|
'relationship_only' => false,
|
|
'for_activities' => false,
|
|
'is_custom' => false,
|
|
'from_studio' => false,
|
|
),
|
|
'account_cases' =>
|
|
array (
|
|
'id' => '2d728e7f-5649-70d0-f4ae-52b2a6efeac8',
|
|
'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_documents' =>
|
|
array (
|
|
'id' => '2daa2c94-713b-61e9-3ad0-52b2a6b80dd0',
|
|
'relationship_name' => 'account_documents',
|
|
'lhs_module' => 'Accounts',
|
|
'lhs_table' => 'accounts',
|
|
'lhs_key' => 'id',
|
|
'rhs_module' => 'Documents',
|
|
'rhs_table' => 'documents',
|
|
'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' => 'default',
|
|
'lhs_subpanel' => NULL,
|
|
'relationship_only' => false,
|
|
'for_activities' => false,
|
|
'is_custom' => false,
|
|
'from_studio' => false,
|
|
),
|
|
'account_tasks' =>
|
|
array (
|
|
'id' => '2ddf915c-840d-98b0-364e-52b2a6f35bb2',
|
|
'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' => '2e161162-23a6-6830-1ad1-52b2a679da60',
|
|
'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' => '2e4bacd9-553a-4871-31cb-52b2a685da14',
|
|
'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' => '2e808316-d67e-8283-6544-52b2a6c2365b',
|
|
'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' => '2eed00df-3513-e2eb-5005-52b2a6b8912b',
|
|
'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,
|
|
),
|
|
'ecmquotes_account' =>
|
|
array (
|
|
'id' => '2f586e2c-0f65-4848-d29c-52b2a688ecf4',
|
|
'relationship_name' => 'ecmquotes_account',
|
|
'lhs_module' => 'Accounts',
|
|
'lhs_table' => 'accounts',
|
|
'lhs_key' => 'id',
|
|
'rhs_module' => 'EcmQuotes',
|
|
'rhs_table' => 'ecmquotes',
|
|
'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' => 'default',
|
|
'lhs_subpanel' => NULL,
|
|
'relationship_only' => false,
|
|
'for_activities' => false,
|
|
'is_custom' => false,
|
|
'from_studio' => false,
|
|
),
|
|
'ecmsales_account' =>
|
|
array (
|
|
'id' => '2f925bf5-fa11-1904-a38b-52b2a6d466d0',
|
|
'relationship_name' => 'ecmsales_account',
|
|
'lhs_module' => 'Accounts',
|
|
'lhs_table' => 'accounts',
|
|
'lhs_key' => 'id',
|
|
'rhs_module' => 'EcmSales',
|
|
'rhs_table' => 'ecmsales',
|
|
'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' => 'default',
|
|
'lhs_subpanel' => NULL,
|
|
'relationship_only' => false,
|
|
'for_activities' => false,
|
|
'is_custom' => false,
|
|
'from_studio' => false,
|
|
),
|
|
'ecminvoiceouts_account' =>
|
|
array (
|
|
'id' => '2fcb1b88-ebd1-57a2-c1ea-52b2a61ccfae',
|
|
'relationship_name' => 'ecminvoiceouts_account',
|
|
'lhs_module' => 'Accounts',
|
|
'lhs_table' => 'accounts',
|
|
'lhs_key' => 'id',
|
|
'rhs_module' => 'EcmInvoiceOuts',
|
|
'rhs_table' => 'ecminvoiceouts',
|
|
'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' => 'default',
|
|
'lhs_subpanel' => NULL,
|
|
'relationship_only' => false,
|
|
'for_activities' => false,
|
|
'is_custom' => false,
|
|
'from_studio' => false,
|
|
),
|
|
'ecmstockdocouts_account' =>
|
|
array (
|
|
'id' => '3001db79-ece5-7d90-b9c6-52b2a61ba29b',
|
|
'relationship_name' => 'ecmstockdocouts_account',
|
|
'lhs_module' => 'Accounts',
|
|
'lhs_table' => 'accounts',
|
|
'lhs_key' => 'id',
|
|
'rhs_module' => 'EcmStockDocOuts',
|
|
'rhs_table' => 'ecmstockdocouts',
|
|
'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' => 'default',
|
|
'lhs_subpanel' => NULL,
|
|
'relationship_only' => false,
|
|
'for_activities' => false,
|
|
'is_custom' => false,
|
|
'from_studio' => false,
|
|
),
|
|
'ecmstockdocins_account' =>
|
|
array (
|
|
'id' => '30390435-3e38-2e8e-da19-52b2a6800d9a',
|
|
'relationship_name' => 'ecmstockdocins_account',
|
|
'lhs_module' => 'Accounts',
|
|
'lhs_table' => 'accounts',
|
|
'lhs_key' => 'id',
|
|
'rhs_module' => 'EcmStockDocIns',
|
|
'rhs_table' => 'ecmstockdocins',
|
|
'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' => 'default',
|
|
'lhs_subpanel' => NULL,
|
|
'relationship_only' => false,
|
|
'for_activities' => false,
|
|
'is_custom' => false,
|
|
'from_studio' => false,
|
|
),
|
|
'accounts_ecminvoiceouts2' =>
|
|
array (
|
|
'id' => '41c6a23f-629d-591a-79ef-52b2a64e9970',
|
|
'relationship_name' => 'accounts_ecminvoiceouts2',
|
|
'lhs_module' => 'Accounts',
|
|
'lhs_table' => 'ccounts',
|
|
'lhs_key' => 'id',
|
|
'rhs_module' => 'EcmInvoiceOuts',
|
|
'rhs_table' => 'ecminvoiceouts',
|
|
'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' => 'default',
|
|
'lhs_subpanel' => NULL,
|
|
'relationship_only' => false,
|
|
'for_activities' => false,
|
|
'is_custom' => false,
|
|
'from_studio' => false,
|
|
),
|
|
'ecmstockdoccorrects_account' =>
|
|
array (
|
|
'id' => '837d34c6-6d52-ac12-c89c-52b2a69e8652',
|
|
'relationship_name' => 'ecmstockdoccorrects_account',
|
|
'lhs_module' => 'Accounts',
|
|
'lhs_table' => 'accounts',
|
|
'lhs_key' => 'id',
|
|
'rhs_module' => 'EcmStockDocCorrects',
|
|
'rhs_table' => 'ecmstockdoccorrects',
|
|
'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,
|
|
),
|
|
'ecmstockdocmoves_account' =>
|
|
array (
|
|
'id' => '8c4fab4d-a1a4-cee0-8f90-52b2a65660f7',
|
|
'relationship_name' => 'ecmstockdocmoves_account',
|
|
'lhs_module' => 'Accounts',
|
|
'lhs_table' => 'accounts',
|
|
'lhs_key' => 'id',
|
|
'rhs_module' => 'EcmStockDocMoves',
|
|
'rhs_table' => 'ecmstockdocmoves',
|
|
'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,
|
|
),
|
|
'ecmstockdocinsideouts_account' =>
|
|
array (
|
|
'id' => '9141b786-94b9-980a-9625-52b2a6d1c099',
|
|
'relationship_name' => 'ecmstockdocinsideouts_account',
|
|
'lhs_module' => 'Accounts',
|
|
'lhs_table' => 'accounts',
|
|
'lhs_key' => 'id',
|
|
'rhs_module' => 'EcmStockDocInsideOuts',
|
|
'rhs_table' => 'ecmstockdocinsideouts',
|
|
'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,
|
|
),
|
|
'ecmstockdocinsideins_account' =>
|
|
array (
|
|
'id' => '94794c65-3ea4-2a08-dfa5-52b2a6192180',
|
|
'relationship_name' => 'ecmstockdocinsideins_account',
|
|
'lhs_module' => 'Accounts',
|
|
'lhs_table' => 'accounts',
|
|
'lhs_key' => 'id',
|
|
'rhs_module' => 'EcmStockDocInsideIns',
|
|
'rhs_table' => 'ecmstockdocinsideins',
|
|
'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,
|
|
),
|
|
'ecmreceipts_account' =>
|
|
array (
|
|
'id' => 'a37d5158-5db3-d6a9-ae2b-52b2a6c0d206',
|
|
'relationship_name' => 'ecmreceipts_account',
|
|
'lhs_module' => 'Accounts',
|
|
'lhs_table' => 'accounts',
|
|
'lhs_key' => 'id',
|
|
'rhs_module' => 'EcmReceipts',
|
|
'rhs_table' => 'ecmreceipts',
|
|
'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,
|
|
),
|
|
'ecmpurchaseorders_account' =>
|
|
array (
|
|
'id' => 'a5f6c197-51a9-4468-093d-52b2a6f9d823',
|
|
'relationship_name' => 'ecmpurchaseorders_account',
|
|
'lhs_module' => 'Accounts',
|
|
'lhs_table' => 'accounts',
|
|
'lhs_key' => 'id',
|
|
'rhs_module' => 'EcmPurchaseOrders',
|
|
'rhs_table' => 'ecmpurchaseorders',
|
|
'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,
|
|
),
|
|
'ecminsideorders_account' =>
|
|
array (
|
|
'id' => 'a8766c7f-d8f3-ed32-739e-52b2a60b1f6a',
|
|
'relationship_name' => 'ecminsideorders_account',
|
|
'lhs_module' => 'Accounts',
|
|
'lhs_table' => 'accounts',
|
|
'lhs_key' => 'id',
|
|
'rhs_module' => 'EcmInsideOrders',
|
|
'rhs_table' => 'ecminsideorders',
|
|
'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,
|
|
),
|
|
'accounts_bugs' =>
|
|
array (
|
|
'id' => 'ca241967-0b5b-c8af-4924-52b2a6828f6d',
|
|
'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' => 'default',
|
|
'relationship_only' => false,
|
|
'for_activities' => false,
|
|
'is_custom' => false,
|
|
'from_studio' => false,
|
|
),
|
|
'accounts_contacts' =>
|
|
array (
|
|
'id' => 'ca898ed4-fc64-0eab-2a7c-52b2a6e23f6c',
|
|
'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' => 'cac99d52-d93e-7658-f522-52b2a6b7af50',
|
|
'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' => NULL,
|
|
'lhs_subpanel' => NULL,
|
|
'relationship_only' => false,
|
|
'for_activities' => false,
|
|
'is_custom' => false,
|
|
'from_studio' => false,
|
|
),
|
|
'projects_accounts' =>
|
|
array (
|
|
'id' => 'd707742e-3b54-e7a1-e3dc-52b2a6554bfe',
|
|
'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' => 'default',
|
|
'lhs_subpanel' => NULL,
|
|
'relationship_only' => false,
|
|
'for_activities' => false,
|
|
'is_custom' => false,
|
|
'from_studio' => false,
|
|
),
|
|
'accounts_ecminvoiceouts' =>
|
|
array (
|
|
'id' => 'd93cd801-9cdd-73da-4b1d-52b2a63c886a',
|
|
'relationship_name' => 'accounts_ecminvoiceouts',
|
|
'lhs_module' => 'Accounts',
|
|
'lhs_table' => 'accounts',
|
|
'lhs_key' => 'id',
|
|
'rhs_module' => 'EcmInvoiceOuts',
|
|
'rhs_table' => 'ecminvoiceouts',
|
|
'rhs_key' => 'id',
|
|
'join_table' => 'accounts_ecminvoiceouts',
|
|
'join_key_lhs' => 'account_id',
|
|
'join_key_rhs' => 'ecminvoiceout_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' => NULL,
|
|
'is_custom' => true,
|
|
'relationship_only' => false,
|
|
'for_activities' => false,
|
|
'from_studio' => false,
|
|
),
|
|
'accounts_documents' =>
|
|
array (
|
|
'id' => 'da40fa6f-3e6d-4672-05e7-52b2a69abdd1',
|
|
'relationship_name' => 'accounts_documents',
|
|
'lhs_module' => 'Accounts',
|
|
'lhs_table' => 'accounts',
|
|
'lhs_key' => 'id',
|
|
'rhs_module' => 'Documents',
|
|
'rhs_table' => 'documents',
|
|
'rhs_key' => 'id',
|
|
'join_table' => 'accounts_documents_c',
|
|
'join_key_lhs' => 'accounts_d13e2ccounts_ida',
|
|
'join_key_rhs' => 'accounts_d009acuments_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,
|
|
'from_studio' => true,
|
|
'is_custom' => true,
|
|
'relationship_only' => false,
|
|
'for_activities' => false,
|
|
),
|
|
'accounts_tasks' =>
|
|
array (
|
|
'rhs_label' => 'Zadania',
|
|
'rhs_subpanel' => 'default',
|
|
'lhs_module' => 'Accounts',
|
|
'rhs_module' => 'Tasks',
|
|
'relationship_type' => 'one-to-many',
|
|
'readonly' => false,
|
|
'deleted' => false,
|
|
'relationship_only' => false,
|
|
'for_activities' => false,
|
|
'is_custom' => false,
|
|
'from_studio' => false,
|
|
'relationship_name' => 'accounts_tasks',
|
|
),
|
|
);
|
|
?>
|