Add php files

This commit is contained in:
2025-05-12 15:44:39 +00:00
parent c951760058
commit 82d5804ac4
9534 changed files with 2638137 additions and 0 deletions

View File

@@ -0,0 +1,94 @@
<?php
// created: 2013-12-19 08:56:45
$dictionary["accounts_documents"] = array (
'true_relationship_type' => 'one-to-many',
'from_studio' => true,
'relationships' =>
array (
'accounts_documents' =>
array (
'lhs_module' => 'Accounts',
'lhs_table' => 'accounts',
'lhs_key' => 'id',
'rhs_module' => 'Documents',
'rhs_table' => 'documents',
'rhs_key' => 'id',
'relationship_type' => 'many-to-many',
'join_table' => 'accounts_documents_c',
'join_key_lhs' => 'accounts_d13e2ccounts_ida',
'join_key_rhs' => 'accounts_d009acuments_idb',
),
),
'table' => 'accounts_documents_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' => 'accounts_d13e2ccounts_ida',
'type' => 'varchar',
'len' => 36,
),
4 =>
array (
'name' => 'accounts_d009acuments_idb',
'type' => 'varchar',
'len' => 36,
),
5 =>
array (
'name' => 'document_revision_id',
'type' => 'varchar',
'len' => '36',
),
),
'indices' =>
array (
0 =>
array (
'name' => 'accounts_documentsspk',
'type' => 'primary',
'fields' =>
array (
0 => 'id',
),
),
1 =>
array (
'name' => 'accounts_documents_ida1',
'type' => 'index',
'fields' =>
array (
0 => 'accounts_d13e2ccounts_ida',
),
),
2 =>
array (
'name' => 'accounts_documents_alt',
'type' => 'alternate_key',
'fields' =>
array (
0 => 'accounts_d009acuments_idb',
),
),
),
);
?>

View File

@@ -0,0 +1,60 @@
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004 - 2007 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU 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 General Public License for more
* details.
*
* You should have received a copy of the GNU 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 General Public License version 3.
*
* In accordance with Section 7(b) of the GNU 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".
********************************************************************************/
$dictionary['accounts_ecminvoiceouts'] = array ( 'table' => 'accounts_ecminvoiceouts'
, 'fields' => array (
array('name' =>'id', 'type' =>'varchar', 'len'=>'36')
, array('name' =>'ecminvoiceout_id', 'type' =>'varchar', 'len'=>'36')
, array('name' =>'account_id', 'type' =>'varchar', 'len'=>'36')
, array ('name' => 'date_modified','type' => 'datetime')
, array('name' =>'deleted', 'type' =>'bool', 'len'=>'1', 'required'=>true, 'default'=>'0')
), 'indices' => array (
array('name' =>'accounts_ecminvoiceoutspk', 'type' =>'primary', 'fields'=>array('id'))
, array('name' => 'idx_account_ecminvoiceout', 'type'=>'alternate_key', 'fields'=>array('account_id','ecminvoiceout_id'))
, array('name' => 'idx_ecminvoutsid_del_accid', 'type' => 'index', 'fields'=> array('ecminvoiceout_id', 'deleted', 'account_id'))
, array('name' => 'idx_ecminv_acc_acc', 'type' => 'index', 'fields' => array('account_id'))
, array('name' => 'idx_ecminv_acc_ecminv', 'type' => 'index', 'fields' => array('ecminvoiceout_id'))
)
, 'relationships' => array ('accounts_ecminvoiceouts' => array('lhs_module'=> 'Accounts', 'lhs_table'=> 'accounts', 'lhs_key' => 'id',
'rhs_module'=> 'EcmInvoiceOuts', 'rhs_table'=> 'ecminvoiceouts', 'rhs_key' => 'id',
'relationship_type'=>'many-to-many',
'join_table'=> 'accounts_ecminvoiceouts', 'join_key_lhs'=>'account_id', 'join_key_rhs'=>'ecminvoiceout_id'))
)
?>

View File

@@ -0,0 +1,88 @@
<?php
// created: 2013-12-19 08:57:38
$dictionary["accounts_tasks"] = array (
'true_relationship_type' => 'one-to-many',
'from_studio' => true,
'relationships' =>
array (
'accounts_tasks' =>
array (
'lhs_module' => 'Accounts',
'lhs_table' => 'accounts',
'lhs_key' => 'id',
'rhs_module' => 'Tasks',
'rhs_table' => 'tasks',
'rhs_key' => 'id',
'relationship_type' => 'many-to-many',
'join_table' => 'accounts_tasks_c',
'join_key_lhs' => 'accounts_t0769ccounts_ida',
'join_key_rhs' => 'accounts_tabdckstasks_idb',
),
),
'table' => 'accounts_tasks_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' => 'accounts_t0769ccounts_ida',
'type' => 'varchar',
'len' => 36,
),
4 =>
array (
'name' => 'accounts_tabdckstasks_idb',
'type' => 'varchar',
'len' => 36,
),
),
'indices' =>
array (
0 =>
array (
'name' => 'accounts_tasksspk',
'type' => 'primary',
'fields' =>
array (
0 => 'id',
),
),
1 =>
array (
'name' => 'accounts_tasks_ida1',
'type' => 'index',
'fields' =>
array (
0 => 'accounts_t0769ccounts_ida',
),
),
2 =>
array (
'name' => 'accounts_tasks_alt',
'type' => 'alternate_key',
'fields' =>
array (
0 => 'accounts_tabdckstasks_idb',
),
),
),
);
?>

View File

@@ -0,0 +1,72 @@
<?php
$dictionary['ecminvoiceouts_ecmpurchaseorders'] = array (
'table' => 'ecminvoiceouts_ecmpurchaseorders',
'fields' => array (
array(
'name' => 'id',
'type' => 'varchar',
'len'=>'36'
),
array(
'name' => 'ecminvoiceout_id',
'type' => 'varchar',
'len' => '36',
),
array(
'name' => 'po_id',
'type' => 'varchar',
'len' => '36',
),
array (
'name' => 'date_modified',
'type' => 'datetime'
),
array(
'name' => 'deleted',
'type' => 'bool',
'len' => '1',
'default' => '0',
'required' => true
)
),
'indices' => array (
array(
'name' => 'ecminvoiceouts_ecmpurchaseorderspk',
'type' => 'primary',
'fields' => array('id')
),
array(
'name' => 'idx_ecmio_ecmpo_ecmio',
'type' => 'index',
'fields' => array('ecminvoiceout_id')
),
array(
'name' => 'idx_ecmio_ecmpo_ecmpo',
'type' => 'index',
'fields' => array('po_id')
),
array(
'name' => 'idx_ecmio_doc',
'type' => 'alternate_key',
'fields' => array('ecminvoiceout_id','po_id')
)
),
'relationships' => array (
'ecminvoiceouts_ecmpurchaseorders' => array(
'lhs_module' => 'EcmInvoiceOuts',
'lhs_table' => 'ecminvoiceouts',
'lhs_key' => 'id',
'rhs_module' => 'EcmPurchaseOrders',
'rhs_table' => 'ecmpurchaseorders',
'rhs_key' => 'id',
'relationship_type' => 'many-to-many',
'join_table' => 'ecminvoiceouts_ecmpurchaseorders',
'join_key_lhs' => 'ecminvoiceout_id',
'join_key_rhs' => 'po_id'
)
),
);
?>

View File

@@ -0,0 +1,72 @@
<?php
$dictionary['ecminvoiceouts_ecmpzdocuments'] = array (
'table' => 'ecminvoiceouts_ecmpzdocuments',
'fields' => array (
array(
'name' => 'id',
'type' => 'varchar',
'len'=>'36'
),
array(
'name' => 'ecminvoiceout_id',
'type' => 'varchar',
'len' => '36',
),
array(
'name' => 'pz_id',
'type' => 'varchar',
'len' => '36',
),
array (
'name' => 'date_modified',
'type' => 'datetime'
),
array(
'name' => 'deleted',
'type' => 'bool',
'len' => '1',
'default' => '0',
'required' => true
)
),
'indices' => array (
array(
'name' => 'ecminvoiceouts_ecmpzdocumentspk',
'type' => 'primary',
'fields' => array('id')
),
array(
'name' => 'idx_ecmio_ecmpz_ecmio',
'type' => 'index',
'fields' => array('ecminvoiceout_id')
),
array(
'name' => 'idx_ecmio_ecmpz_ecmpz',
'type' => 'index',
'fields' => array('pz_id')
),
array(
'name' => 'idx_ecmio_doc',
'type' => 'alternate_key',
'fields' => array('ecminvoiceout_id','pz_id')
)
),
'relationships' => array (
'ecminvoiceouts_ecmpzdocuments' => array(
'lhs_module' => 'EcmInvoiceOuts',
'lhs_table' => 'ecminvoiceouts',
'lhs_key' => 'id',
'rhs_module' => 'EcmPzDocuments',
'rhs_table' => 'ecmpzdocuments',
'rhs_key' => 'id',
'relationship_type' => 'many-to-many',
'join_table' => 'ecminvoiceouts_ecmpzdocuments',
'join_key_lhs' => 'ecminvoiceout_id',
'join_key_rhs' => 'pz_id'
)
),
);
?>

View File

@@ -0,0 +1,72 @@
<?php
$dictionary['ecminvoiceouts_ecmsales'] = array (
'table' => 'ecminvoiceouts_ecmsales',
'fields' => array (
array(
'name' => 'id',
'type' => 'varchar',
'len'=>'36'
),
array(
'name' => 'ecminvoiceout_id',
'type' => 'varchar',
'len' => '36',
),
array(
'name' => 'so_id',
'type' => 'varchar',
'len' => '36',
),
array (
'name' => 'date_modified',
'type' => 'datetime'
),
array(
'name' => 'deleted',
'type' => 'bool',
'len' => '1',
'default' => '0',
'required' => true
)
),
'indices' => array (
array(
'name' => 'ecminvoiceouts_ecmsalespk',
'type' => 'primary',
'fields' => array('id')
),
array(
'name' => 'idx_ecmio_ecmso_ecmio',
'type' => 'index',
'fields' => array('ecminvoiceout_id')
),
array(
'name' => 'idx_ecmio_ecmso_ecmso',
'type' => 'index',
'fields' => array('so_id')
),
array(
'name' => 'idx_ecmio_doc',
'type' => 'alternate_key',
'fields' => array('ecminvoiceout_id','so_id')
)
),
'relationships' => array (
'ecminvoiceouts_ecmsales' => array(
'lhs_module' => 'EcmInvoiceOuts',
'lhs_table' => 'ecminvoiceouts',
'lhs_key' => 'id',
'rhs_module' => 'EcmSales',
'rhs_table' => 'ecmsales',
'rhs_key' => 'id',
'relationship_type' => 'many-to-many',
'join_table' => 'ecminvoiceouts_ecmsales',
'join_key_lhs' => 'ecminvoiceout_id',
'join_key_rhs' => 'so_id'
)
),
);
?>

View File

@@ -0,0 +1,72 @@
<?php
$dictionary['ecminvoiceouts_ecmstockins'] = array (
'table' => 'ecminvoiceouts_ecmstockins',
'fields' => array (
array(
'name' => 'id',
'type' => 'varchar',
'len'=>'36'
),
array(
'name' => 'ecminvoiceout_id',
'type' => 'varchar',
'len' => '36',
),
array(
'name' => 'ecmstockin_id',
'type' => 'varchar',
'len' => '36',
),
array (
'name' => 'date_modified',
'type' => 'datetime'
),
array(
'name' => 'deleted',
'type' => 'bool',
'len' => '1',
'default' => '0',
'required' => true
)
),
'indices' => array (
array(
'name' => 'ecminvoiceouts_ecmstockinspk',
'type' => 'primary',
'fields' => array('id')
),
array(
'name' => 'idx_ecmio_ecmsin_ecmio',
'type' => 'index',
'fields' => array('ecminvoiceout_id')
),
array(
'name' => 'idx_ecmio_ecmsin_ecmsio',
'type' => 'index',
'fields' => array('ecmstockin_id')
),
array(
'name' => 'idx_ecmio_doc',
'type' => 'alternate_key',
'fields' => array('ecminvoiceout_id','ecmstockin_id')
)
),
'relationships' => array (
'ecminvoiceouts_ecmstockins' => array(
'lhs_module' => 'EcmInvoiceOuts',
'lhs_table' => 'ecminvoiceouts',
'lhs_key' => 'id',
'rhs_module' => 'EcmStockIns',
'rhs_table' => 'ecmstockins',
'rhs_key' => 'id',
'relationship_type' => 'many-to-many',
'join_table' => 'ecminvoiceouts_ecmstockins',
'join_key_lhs' => 'ecminvoiceout_id',
'join_key_rhs' => 'ecmstockin_id'
)
),
);
?>

View File

@@ -0,0 +1,72 @@
<?php
$dictionary['ecminvoiceouts_emails'] = array (
'table' => 'ecminvoiceouts_emails',
'fields' => array (
array(
'name' => 'id',
'type' => 'varchar',
'len'=>'36'
),
array(
'name' => 'ecminvoiceout_id',
'type' => 'varchar',
'len' => '36',
),
array(
'name' => 'email_id',
'type' => 'varchar',
'len' => '36',
),
array (
'name' => 'date_modified',
'type' => 'datetime'
),
array(
'name' => 'deleted',
'type' => 'bool',
'len' => '1',
'default' => '0',
'required' => true
)
),
'indices' => array (
array(
'name' => 'ecminvoiceouts_emailspk',
'type' => 'primary',
'fields' => array('id')
),
array(
'name' => 'idx_ecmquo_ema_ecmquo',
'type' => 'index',
'fields' => array('ecminvoiceout_id')
),
array(
'name' => 'idx_ecmquo_ema_ema',
'type' => 'index',
'fields' => array('email_id')
),
array(
'name' => 'idx_ecminvoiceout_doc',
'type' => 'alternate_key',
'fields' => array('ecminvoiceout_id','email_id')
)
),
'relationships' => array (
'ecminvoiceouts_emails' => array(
'lhs_module' => 'EcmInvoiceOuts',
'lhs_table' => 'ecminvoiceouts',
'lhs_key' => 'id',
'rhs_module' => 'Emails',
'rhs_table' => 'emails',
'rhs_key' => 'id',
'relationship_type' => 'many-to-many',
'join_table' => 'ecminvoiceouts_emails',
'join_key_lhs' => 'ecminvoiceout_id',
'join_key_rhs' => 'email_id'
)
),
);
?>

View File

@@ -0,0 +1,72 @@
<?php
$dictionary['ecminvoiceouts_notes'] = array (
'table' => 'ecminvoiceouts_notes',
'fields' => array (
array(
'name' => 'id',
'type' => 'varchar',
'len'=>'36'
),
array(
'name' => 'ecminvoiceout_id',
'type' => 'varchar',
'len' => '36',
),
array(
'name' => 'note_id',
'type' => 'varchar',
'len' => '36',
),
array (
'name' => 'date_modified',
'type' => 'datetime'
),
array(
'name' => 'deleted',
'type' => 'bool',
'len' => '1',
'default' => '0',
'required' => true
)
),
'indices' => array (
array(
'name' => 'ecminvoiceouts_notespk',
'type' => 'primary',
'fields' => array('id')
),
array(
'name' => 'idx_ecmquo_not_ecmquo',
'type' => 'index',
'fields' => array('ecminvoiceout_id')
),
array(
'name' => 'idx_ecmquo_not_not',
'type' => 'index',
'fields' => array('note_id')
),
array(
'name' => 'idx_ecminvoiceout_doc',
'type' => 'alternate_key',
'fields' => array('ecminvoiceout_id','note_id')
)
),
'relationships' => array (
'ecminvoiceouts_notes' => array(
'lhs_module' => 'EcmInvoiceOuts',
'lhs_table' => 'ecminvoiceouts',
'lhs_key' => 'id',
'rhs_module' => 'Notes',
'rhs_table' => 'notes',
'rhs_key' => 'id',
'relationship_type' => 'many-to-many',
'join_table' => 'ecminvoiceouts_notes',
'join_key_lhs' => 'ecminvoiceout_id',
'join_key_rhs' => 'note_id'
)
),
);
?>

View File

@@ -0,0 +1,141 @@
<?php
$dictionary['ecmproducts_documents'] = array (
'table' => 'ecmproducts_documents',
'fields' => array (
array(
'name' => 'id',
'type' => 'varchar',
'len'=>'36'
),
array(
'name' => 'ecmproduct_id',
'type' => 'varchar',
'len' => '36',
),
array(
'name' => 'document_id',
'type' => 'varchar',
'len' => '36',
),
array (
'name' => 'date_modified',
'type' => 'datetime'
),
array(
'name' => 'deleted',
'type' => 'bool',
'len' => '1',
'default' => '0',
'required' => true
)
),
'indices' => array (
array(
'name' => 'ecmproducts_documentspk',
'type' => 'primary',
'fields' => array('id')
),
array(
'name' => 'idx_ecmprod_doc_ecmprod',
'type' => 'index',
'fields' => array('ecmproduct_id')
),
array(
'name' => 'idx_ecmprod_doc_doc',
'type' => 'index',
'fields' => array('document_id')
),
array(
'name' => 'idx_ecmproduct_doc',
'type' => 'alternate_key',
'fields' => array('ecmproduct_id','document_id')
)
),
'relationships' => array (
'ecmproducts_documents' => array(
'lhs_module' => 'EcmProducts',
'lhs_table' => 'ecmproducts',
'lhs_key' => 'id',
'rhs_module' => 'Documents',
'rhs_table' => 'documents',
'rhs_key' => 'id',
'relationship_type' => 'many-to-many',
'join_table' => 'ecmproducts_documents',
'join_key_lhs' => 'ecmproduct_id',
'join_key_rhs' => 'document_id'
)
),
);
?>

View File

@@ -0,0 +1,141 @@
<?php
$dictionary['ecmquotes_emails'] = array (
'table' => 'ecmquotes_emails',
'fields' => array (
array(
'name' => 'id',
'type' => 'varchar',
'len'=>'36'
),
array(
'name' => 'ecmquote_id',
'type' => 'varchar',
'len' => '36',
),
array(
'name' => 'email_id',
'type' => 'varchar',
'len' => '36',
),
array (
'name' => 'date_modified',
'type' => 'datetime'
),
array(
'name' => 'deleted',
'type' => 'bool',
'len' => '1',
'default' => '0',
'required' => true
)
),
'indices' => array (
array(
'name' => 'ecmquotes_emailspk',
'type' => 'primary',
'fields' => array('id')
),
array(
'name' => 'idx_ecmquo_ema_ecmquo',
'type' => 'index',
'fields' => array('ecmquote_id')
),
array(
'name' => 'idx_ecmquo_ema_ema',
'type' => 'index',
'fields' => array('email_id')
),
array(
'name' => 'idx_ecmquote_doc',
'type' => 'alternate_key',
'fields' => array('ecmquote_id','email_id')
)
),
'relationships' => array (
'ecmquotes_emails' => array(
'lhs_module' => 'EcmQuotes',
'lhs_table' => 'ecmquotes',
'lhs_key' => 'id',
'rhs_module' => 'Emails',
'rhs_table' => 'emails',
'rhs_key' => 'id',
'relationship_type' => 'many-to-many',
'join_table' => 'ecmquotes_emails',
'join_key_lhs' => 'ecmquote_id',
'join_key_rhs' => 'email_id'
)
),
);
?>