Add php files
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_FROM_ECMQUOTES_TITLE'] = 'Oferty';
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_1_FROM_ECMQUOTES_TITLE'] = 'Oferty';
|
||||
$mod_strings['LBL_ACCOUNTS_DOCUMENTS_FROM_DOCUMENTS_TITLE'] = 'Dokumenty';
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_FROM_ECMQUOTES_TITLE'] = 'Oferty';
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_FROM_ECMQUOTES_TITLE'] = 'Oferty';
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_1_FROM_ECMQUOTES_TITLE'] = 'Oferty';
|
||||
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_FROM_ECMQUOTES_TITLE'] = 'Oferty';
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_1_FROM_ECMQUOTES_TITLE'] = 'Oferty';
|
||||
$mod_strings['LBL_ACCOUNTS_DOCUMENTS_FROM_DOCUMENTS_TITLE'] = 'Dokumenty';
|
||||
$mod_strings['LBL_ACCOUNTS_TASKS_FROM_TASKS_TITLE'] = 'Zadania';
|
||||
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_FROM_ECMQUOTES_TITLE'] = 'Oferty';
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_1_FROM_ECMQUOTES_TITLE'] = 'Oferty';
|
||||
$mod_strings['LBL_ACCOUNTS_DOCUMENTS_FROM_DOCUMENTS_TITLE'] = 'Dokumenty';
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_FROM_ECMQUOTES_TITLE'] = 'Oferty';
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_FROM_ECMQUOTES_TITLE'] = 'Oferty';
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_1_FROM_ECMQUOTES_TITLE'] = 'Oferty';
|
||||
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_FROM_ECMQUOTES_TITLE'] = 'Oferty';
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_1_FROM_ECMQUOTES_TITLE'] = 'Oferty';
|
||||
$mod_strings['LBL_ACCOUNTS_DOCUMENTS_FROM_DOCUMENTS_TITLE'] = 'Dokumenty';
|
||||
$mod_strings['LBL_ACCOUNTS_TASKS_FROM_TASKS_TITLE'] = 'Zadania';
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
//auto-generated file DO NOT EDIT
|
||||
$layout_defs['Accounts']['subpanel_setup']['contacts']['override_subpanel_name'] = 'AccountForAccounts';
|
||||
?>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
//auto-generated file DO NOT EDIT
|
||||
$layout_defs['Accounts']['subpanel_setup']['documents']['override_subpanel_name'] = 'Accountdefault';
|
||||
?>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
//auto-generated file DO NOT EDIT
|
||||
$layout_defs['Accounts']['subpanel_setup']['ecminvoiceouts']['override_subpanel_name'] = 'Accountdefault';
|
||||
?>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
//auto-generated file DO NOT EDIT
|
||||
$layout_defs['Accounts']['subpanel_setup']['ecmquotes']['override_subpanel_name'] = 'Accountdefault';
|
||||
?>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
//auto-generated file DO NOT EDIT
|
||||
$layout_defs['Accounts']['subpanel_setup']['ecmstockdocouts']['override_subpanel_name'] = 'Accountdefault';
|
||||
?>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
//auto-generated file DO NOT EDIT
|
||||
$layout_defs['Accounts']['subpanel_setup']['tasks']['override_subpanel_name'] = 'Accountdefault';
|
||||
?>
|
||||
11
custom/Extension/modules/Accounts/Ext/Layoutdefs/ecminvoiceouts_subpanel.php
Executable file
11
custom/Extension/modules/Accounts/Ext/Layoutdefs/ecminvoiceouts_subpanel.php
Executable file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
$layout_defs['Tasks']['subpanel_setup']['ecminvoiceouts2'] = array(
|
||||
'order' => 10,
|
||||
'module' => 'EcmInvoiceOuts',
|
||||
'title_key' => 'LBL_CALLS',
|
||||
'subpanel_name' => 'default',
|
||||
'get_subpanel_data' => 'ecminvoiceouts2',
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
),
|
||||
);
|
||||
5
custom/Extension/modules/Accounts/Ext/Vardefs/sugarfield_alert.php
Executable file
5
custom/Extension/modules/Accounts/Ext/Vardefs/sugarfield_alert.php
Executable file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
// created: 2011-10-12 12:09:52
|
||||
$dictionary['Account']['fields']['alert']['len']='200';
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
// created: 2011-09-30 13:53:33
|
||||
$dictionary['Account']['fields']['classification']['default']='11';
|
||||
$dictionary['Account']['fields']['classification']['len']=100;
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
// created: 2012-02-01 15:01:07
|
||||
$dictionary['Account']['fields']['payment_method']['len']=100;
|
||||
$dictionary['Account']['fields']['payment_method']['required']=false;
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
// created: 2012-06-21 09:47:24
|
||||
$dictionary['Account']['fields']['phone_office']['len']='25';
|
||||
|
||||
?>
|
||||
4
custom/Extension/modules/Accounts/Ext/Vardefs/sugarfield_profile.php
Executable file
4
custom/Extension/modules/Accounts/Ext/Vardefs/sugarfield_profile.php
Executable file
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
// created: 2011-10-04 10:58:16
|
||||
|
||||
?>
|
||||
4
custom/Extension/modules/Accounts/Ext/Vardefs/sugarfield_profile1.php
Executable file
4
custom/Extension/modules/Accounts/Ext/Vardefs/sugarfield_profile1.php
Executable file
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
// created: 2011-10-04 10:57:23
|
||||
|
||||
?>
|
||||
4
custom/Extension/modules/Accounts/Ext/Vardefs/sugarfield_profile2.php
Executable file
4
custom/Extension/modules/Accounts/Ext/Vardefs/sugarfield_profile2.php
Executable file
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
// created: 2011-10-03 15:22:03
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
// created: 2011-10-03 15:25:19
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
// created: 2011-10-10 14:34:55
|
||||
|
||||
?>
|
||||
5
custom/Extension/modules/Calls/Ext/Vardefs/sugarfield_name.php
Executable file
5
custom/Extension/modules/Calls/Ext/Vardefs/sugarfield_name.php
Executable file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
// created: 2011-10-04 13:52:48
|
||||
$dictionary['Call']['fields']['name']['required']=false;
|
||||
|
||||
?>
|
||||
13
custom/Extension/modules/Contacts/Ext/Layoutdefs/ecmguotes_contacts.php
Executable file
13
custom/Extension/modules/Contacts/Ext/Layoutdefs/ecmguotes_contacts.php
Executable file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
$layout_defs['Contacts']['subpanel_setup']['ecmquotes'] = array(
|
||||
'order' => 29,
|
||||
'module' => 'EcmQuotes',
|
||||
'subpanel_name' => 'default',
|
||||
'get_subpanel_data' => 'ecmquotes',
|
||||
'add_subpanel_data' => 'ecmquote_id',
|
||||
'title_key' => 'LBL_ECMQUOTES_SUBPANEL_TITLE',
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
),
|
||||
);
|
||||
?>
|
||||
13
custom/Extension/modules/Contacts/Ext/Vardefs/ecmquotes_contacts.php
Executable file
13
custom/Extension/modules/Contacts/Ext/Vardefs/ecmquotes_contacts.php
Executable file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
$dictionary['Contact']['fields']['ecmquotes'] = array (
|
||||
'name' => 'ecmquotes',
|
||||
'type' => 'link',
|
||||
'relationship' => 'ecmquotes_contact',
|
||||
'source' =>'non-db',
|
||||
);
|
||||
$dictionary['Contact']['relationships']['ecmquotes_contact'] = array (
|
||||
'lhs_module' => 'Contacts', 'lhs_table' => 'contacts', 'lhs_key' => 'id',
|
||||
'rhs_module' => 'EcmQuotes', 'rhs_table' => 'ecmquotes', 'rhs_key' => 'contact_id',
|
||||
'relationship_type' => 'one-to-many'
|
||||
);
|
||||
?>
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_DOCUMENTS_FROM_ACCOUNTS_TITLE'] = 'Kontrahenci';
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_DOCUMENTS_FROM_ACCOUNTS_TITLE'] = 'Kontrahenci';
|
||||
8
custom/Extension/modules/Documents/Ext/Vardefs/Documents.php
Executable file
8
custom/Extension/modules/Documents/Ext/Vardefs/Documents.php
Executable file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
$dictionary['Document']['fields']['ecmproducts'] = array (
|
||||
'name' => 'ecmproducts',
|
||||
'type' => 'link',
|
||||
'relationship' => 'ecmproducts_documents',
|
||||
'source' =>'non-db',
|
||||
);
|
||||
?>
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
// created: 2013-12-19 08:56:45
|
||||
$dictionary["Document"]["fields"]["accounts_documents"] = array (
|
||||
'name' => 'accounts_documents',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_documents',
|
||||
'source' => 'non-db',
|
||||
'vname' => 'LBL_ACCOUNTS_DOCUMENTS_FROM_ACCOUNTS_TITLE',
|
||||
);
|
||||
$dictionary["Document"]["fields"]["accounts_documents_name"] = array (
|
||||
'name' => 'accounts_documents_name',
|
||||
'type' => 'relate',
|
||||
'source' => 'non-db',
|
||||
'vname' => 'LBL_ACCOUNTS_DOCUMENTS_FROM_ACCOUNTS_TITLE',
|
||||
'save' => true,
|
||||
'id_name' => 'accounts_d13e2ccounts_ida',
|
||||
'link' => 'accounts_documents',
|
||||
'table' => 'accounts',
|
||||
'module' => 'Accounts',
|
||||
'rname' => 'name',
|
||||
);
|
||||
$dictionary["Document"]["fields"]["accounts_d13e2ccounts_ida"] = array (
|
||||
'name' => 'accounts_d13e2ccounts_ida',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_documents',
|
||||
'source' => 'non-db',
|
||||
'reportable' => false,
|
||||
'side' => 'right',
|
||||
'vname' => 'LBL_ACCOUNTS_DOCUMENTS_FROM_DOCUMENTS_TITLE',
|
||||
);
|
||||
234
custom/Extension/modules/EcmDeliveryConditions/Ext/Vardefs/vardefs.php
Executable file
234
custom/Extension/modules/EcmDeliveryConditions/Ext/Vardefs/vardefs.php
Executable file
@@ -0,0 +1,234 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*****************************************************************************
|
||||
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
|
||||
* Version 1.1 ("License"); You may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
* http://opensource.org/licenses/rpl.php. Software distributed under the
|
||||
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
|
||||
* either express or implied.
|
||||
*
|
||||
* You may:
|
||||
* a) Use and distribute this code exactly as you received without delivery or
|
||||
* a royalty or other fee.
|
||||
* b) Create extensions for this code, provided that you make the extensions
|
||||
* publicly available and document your modifications clearly.
|
||||
* c) Charge for a fee for warranty or support or for accepting liability
|
||||
* obligations for your customers.
|
||||
*
|
||||
* You may NOT:
|
||||
* a) Charge for the use of the original code or extensions, including in
|
||||
* electronic distribution models, such as ASP (Application Service
|
||||
* Provider).
|
||||
* b) Charge for the original source code or your extensions other than a
|
||||
* nominal fee to cover distribution costs where such distribution
|
||||
* involves PHYSICAL media.
|
||||
* c) Modify or delete any pre-existing copyright notices, change notices,
|
||||
* or License text in the Licensed Software
|
||||
* d) Assert any patent claims against the Licensor or Contributors, or
|
||||
* which would in any way restrict the ability of any third party to use the
|
||||
* Licensed Software.
|
||||
*
|
||||
* You must:
|
||||
* a) Document any modifications you make to this code including the nature of
|
||||
* the change, the authors of the change, and the date of the change.
|
||||
* b) Make the source code for any extensions you deploy available via an
|
||||
* Electronic Distribution Mechanism such as FTP or HTTP download.
|
||||
* c) Notify the licensor of the availability of source code to your extensions
|
||||
* and include instructions on how to acquire the source code and updates.
|
||||
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
|
||||
* reproduce, perform, modify, sublicense, and distribute your extensions.
|
||||
*
|
||||
* The Original Code is: CommuniCore
|
||||
* Olavo Farias
|
||||
* 2006-04-7 olavo.farias@gmail.com
|
||||
*
|
||||
* The Initial Developer of the Original Code is CommuniCore.
|
||||
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
|
||||
* All Rights Reserved.
|
||||
********************************************************************************/
|
||||
$dictionary['EcmDeliveryCondition'] = array(
|
||||
|
||||
'table' => 'ecmdeliveryconditions',
|
||||
'comment' => 'EcmDeliveryConditions',
|
||||
'duplicate_merge' => true,
|
||||
'unified_search' => true,
|
||||
|
||||
'fields' => array (
|
||||
|
||||
//STANDARD FIELDS SECTION
|
||||
'id' => array (
|
||||
'name' => 'id',
|
||||
'vname' => 'LBL_ID',
|
||||
'type' => 'id',
|
||||
'required' => true,
|
||||
'reportable' => false,
|
||||
'comment' => 'Unique identifier'
|
||||
),
|
||||
'name' => array (
|
||||
'name' => 'name',
|
||||
'vname' => 'LBL_NAME',
|
||||
'type' => 'name',
|
||||
'required' => true,
|
||||
'dbType' => 'varchar',
|
||||
'len' => 255,
|
||||
'unified_search' => true,
|
||||
'comment' => 'The short description of the record contents',
|
||||
'massupdate' => true,
|
||||
'merge_filter' => 'selected',
|
||||
),
|
||||
'description' => array (
|
||||
'type' => 'text',
|
||||
'name' => 'description',
|
||||
'vname' => 'LBL_DESCRIPTION',
|
||||
'comment' => 'Description',
|
||||
),
|
||||
'date_entered' => array (
|
||||
'name' => 'date_entered',
|
||||
'vname' => 'LBL_DATE_ENTERED',
|
||||
'type' => 'datetime',
|
||||
'required' => true,
|
||||
'comment' => 'Date record created'
|
||||
),
|
||||
'date_modified' => array (
|
||||
'name' => 'date_modified',
|
||||
'vname' => 'LBL_DATE_MODIFIED',
|
||||
'type' => 'datetime',
|
||||
'required' => true,
|
||||
'comment' => 'Date record last modified'
|
||||
),
|
||||
'modified_user_id' => array (
|
||||
'name' => 'modified_user_id',
|
||||
'rname' => 'user_name',
|
||||
'id_name' => 'modified_user_id',
|
||||
'vname' => 'LBL_MODIFIED',
|
||||
'type' => 'assigned_user_name',
|
||||
'table' => 'modified_user_id_users',
|
||||
'isnull' => 'false',
|
||||
'dbType' => 'varchar',
|
||||
'len' => 36,
|
||||
'required' => true,
|
||||
'reportable' => true,
|
||||
'comment' => 'User who last modified record'
|
||||
),
|
||||
'assigned_user_id' => array (
|
||||
'name' => 'assigned_user_id',
|
||||
'rname' => 'user_name',
|
||||
'id_name' => 'assigned_user_id',
|
||||
'vname' => 'LBL_ASSIGNED_TO_ID',
|
||||
'group' => 'assigned_user_name',
|
||||
'type' => 'relate',
|
||||
'table' => 'users',
|
||||
'reportable' => true,
|
||||
'Importable' => false,
|
||||
'isnull' => 'false',
|
||||
'dbType' => 'id',
|
||||
'audited' => true,
|
||||
'comment' => 'User ID assigned to record',
|
||||
'duplicate_merge' => 'disabled',
|
||||
),
|
||||
'assigned_user_name' => array (
|
||||
'name' => 'assigned_user_name',
|
||||
'vname' => 'LBL_ASSIGNED_TO',
|
||||
'type' => 'relate',
|
||||
'reportable' => false,
|
||||
'source' => 'non-db',
|
||||
'table' => 'users',
|
||||
'id_name' => 'assigned_user_id',
|
||||
'module' => 'Users',
|
||||
'duplicate_merge' => 'disabled',
|
||||
),
|
||||
'created_by' => array (
|
||||
'name' => 'created_by',
|
||||
'rname' => 'user_name',
|
||||
'id_name' => 'created_by',
|
||||
'vname' => 'LBL_CREATED',
|
||||
'type' => 'assigned_user_name',
|
||||
'table' => 'created_by_users',
|
||||
'isnull' => 'false',
|
||||
'dbType' => 'varchar',
|
||||
'len' => 36,
|
||||
'comment' => 'User that created the record'
|
||||
),
|
||||
'created_by_link' => array (
|
||||
'name' => 'created_by_link',
|
||||
'type' => 'link',
|
||||
'relationship' => 'ecmquestions'.'_created_by',
|
||||
'vname' => 'LBL_CREATED_BY_USER',
|
||||
'link_type' => 'one',
|
||||
'module' => 'Users',
|
||||
'bean_name' => 'User',
|
||||
'source' => 'non-db',
|
||||
),
|
||||
'modified_user_link' => array (
|
||||
'name' => 'modified_user_link',
|
||||
'type' => 'link',
|
||||
'relationship' => 'ecmquestions'.'_modified_user',
|
||||
'vname' => 'LBL_MODIFIED_BY_USER',
|
||||
'link_type' => 'one',
|
||||
'module' => 'Users',
|
||||
'bean_name' => 'User',
|
||||
'source' => 'non-db',
|
||||
),
|
||||
'assigned_user_link' => array (
|
||||
'name' => 'assigned_user_link',
|
||||
'type' => 'link',
|
||||
'relationship' => 'ecmquestions'.'_assigned_user',
|
||||
'vname' => 'LBL_ASSIGNED_TO_USER',
|
||||
'link_type' => 'one',
|
||||
'module' => 'Users',
|
||||
'bean_name' => 'User',
|
||||
'source' => 'non-db',
|
||||
'duplicate_merge' => 'enabled',
|
||||
'rname' => 'user_name',
|
||||
'id_name' => 'assigned_user_id',
|
||||
'table' => 'users',
|
||||
),
|
||||
'deleted' => array (
|
||||
'name' => 'deleted',
|
||||
'vname' => 'LBL_DELETED_BY',
|
||||
'type' => 'bool',
|
||||
'required' => true,
|
||||
'reportable' => false,
|
||||
'comment' => 'Record deletion indicator'
|
||||
),
|
||||
'translations' => array (
|
||||
'name' => 'translations',
|
||||
'vname' => 'LBL_TRANSLATIONS',
|
||||
'type' => 'text',
|
||||
),
|
||||
|
||||
//NEW FIELDS SECTION
|
||||
|
||||
//FOR SUBPANELS
|
||||
|
||||
),
|
||||
|
||||
//INDICES SECTION
|
||||
'indices' => array (
|
||||
array('name' =>'ecmdeliveryconditionsspk', 'type' =>'primary', 'fields'=>array('id')),
|
||||
array('name' =>'idx_ecmdeliveryconditions_name', 'type' =>'index', 'fields'=>array('name'))
|
||||
)
|
||||
|
||||
//RELATIONSHIPS SECTION
|
||||
, 'relationships' => array (
|
||||
'ecmdeliveryconditions_assigned_user' => array(
|
||||
'lhs_module'=> 'Users', 'lhs_table'=> 'users', 'lhs_key' => 'id',
|
||||
'rhs_module'=> 'EcmDeliveryConditions', 'rhs_table'=> 'ecmdeliveryconditions', 'rhs_key' => 'assigned_user_id',
|
||||
'relationship_type'=>'one-to-many')
|
||||
|
||||
,'ecmdeliveryconditions_modified_user' => array(
|
||||
'lhs_module'=> 'Users', 'lhs_table'=> 'users', 'lhs_key' => 'id',
|
||||
'rhs_module'=> 'EcmDeliveryConditions', 'rhs_table'=> 'ecmdeliveryconditions', 'rhs_key' => 'modified_user_id',
|
||||
'relationship_type'=>'one-to-many')
|
||||
|
||||
,'ecmdeliveryconditions_created_by' => array(
|
||||
'lhs_module'=> 'Users', 'lhs_table'=> 'users', 'lhs_key' => 'id',
|
||||
'rhs_module'=> 'EcmDeliveryConditions', 'rhs_table'=> 'ecmdeliveryconditions', 'rhs_key' => 'created_by',
|
||||
'relationship_type'=>'one-to-many')
|
||||
|
||||
),
|
||||
//THIS FLAG ENABLES OPTIMISTIC LOCKING FOR SAVES FROM EDITVIEW
|
||||
'optimistic_locking'=>true,
|
||||
);
|
||||
?>
|
||||
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*****************************************************************************
|
||||
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
|
||||
* Version 1.1 ("License"); You may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
* http://opensource.org/licenses/rpl.php. Software distributed under the
|
||||
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
|
||||
* either express or implied.
|
||||
*
|
||||
* You may:
|
||||
* a) Use and distribute this code exactly as you received without payment or
|
||||
* a royalty or other fee.
|
||||
* b) Create extensions for this code, provided that you make the extensions
|
||||
* publicly available and document your modifications clearly.
|
||||
* c) Charge for a fee for warranty or support or for accepting liability
|
||||
* obligations for your customers.
|
||||
*
|
||||
* You may NOT:
|
||||
* a) Charge for the use of the original code or extensions, including in
|
||||
* electronic distribution models, such as ASP (Application Service
|
||||
* Provider).
|
||||
* b) Charge for the original source code or your extensions other than a
|
||||
* nominal fee to cover distribution costs where such distribution
|
||||
* involves PHYSICAL media.
|
||||
* c) Modify or delete any pre-existing copyright notices, change notices,
|
||||
* or License text in the Licensed Software
|
||||
* d) Assert any patent claims against the Licensor or Contributors, or
|
||||
* which would in any way restrict the ability of any third party to use the
|
||||
* Licensed Software.
|
||||
*
|
||||
* You must:
|
||||
* a) Document any modifications you make to this code including the nature of
|
||||
* the change, the authors of the change, and the date of the change.
|
||||
* b) Make the source code for any extensions you deploy available via an
|
||||
* Electronic Distribution Mechanism such as FTP or HTTP download.
|
||||
* c) Notify the licensor of the availability of source code to your extensions
|
||||
* and include instructions on how to acquire the source code and updates.
|
||||
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
|
||||
* reproduce, perform, modify, sublicense, and distribute your extensions.
|
||||
*
|
||||
* The Original Code is: CommuniCore
|
||||
* Olavo Farias
|
||||
* 2006-04-7 olavo.farias@gmail.com
|
||||
*
|
||||
* The Initial Developer of the Original Code is CommuniCore.
|
||||
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
|
||||
* All Rights Reserved.
|
||||
********************************************************************************/
|
||||
|
||||
global $mod_strings;
|
||||
|
||||
if(ACLController::checkAccess('EcmDocumentTemplates', 'edit', true))
|
||||
$module_menu [] = Array("index.php?module=EcmDocumentTemplates&action=EditView&return_module=EcmDocumentTemplates&return_action=DetailView", $mod_strings['LNK_NEW_ECMDOCUMENTTEMPLATES'],"CreateEcmDocumentTemplates", 'EcmDocumentTemplates');
|
||||
if(ACLController::checkAccess('EcmDocumentTemplates', 'list', true))
|
||||
$module_menu [] = Array("index.php?module=EcmDocumentTemplates&action=index&return_module=EcmDocumentTemplates&return_action=DetailView", $mod_strings['LNK_ECMDOCUMENTTEMPLATES_LIST'],"EcmDocumentTemplates", 'EcmDocumentTemplates');
|
||||
if(ACLController::checkAccess('EcmDocumentTemplates','list', true)) $module_menu[] = Array('#', '<span style="display: none">wp_shortcut_fill_0</span>', '');
|
||||
|
||||
?>
|
||||
481
custom/Extension/modules/EcmDocumentTemplates/Ext/Vardefs/vardefs.php
Executable file
481
custom/Extension/modules/EcmDocumentTemplates/Ext/Vardefs/vardefs.php
Executable file
@@ -0,0 +1,481 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*****************************************************************************
|
||||
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
|
||||
* Version 1.1 ("License"); You may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
* http://opensource.org/licenses/rpl.php. Software distributed under the
|
||||
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
|
||||
* either express or implied.
|
||||
*
|
||||
* You may:
|
||||
* a) Use and distribute this code exactly as you received without payment or
|
||||
* a royalty or other fee.
|
||||
* b) Create extensions for this code, provided that you make the extensions
|
||||
* publicly available and document your modifications clearly.
|
||||
* c) Charge for a fee for warranty or support or for accepting liability
|
||||
* obligations for your customers.
|
||||
*
|
||||
* You may NOT:
|
||||
* a) Charge for the use of the original code or extensions, including in
|
||||
* electronic distribution models, such as ASP (Application Service
|
||||
* Provider).
|
||||
* b) Charge for the original source code or your extensions other than a
|
||||
* nominal fee to cover distribution costs where such distribution
|
||||
* involves PHYSICAL media.
|
||||
* c) Modify or delete any pre-existing copyright notices, change notices,
|
||||
* or License text in the Licensed Software
|
||||
* d) Assert any patent claims against the Licensor or Contributors, or
|
||||
* which would in any way restrict the ability of any third party to use the
|
||||
* Licensed Software.
|
||||
*
|
||||
* You must:
|
||||
* a) Document any modifications you make to this code including the nature of
|
||||
* the change, the authors of the change, and the date of the change.
|
||||
* b) Make the source code for any extensions you deploy available via an
|
||||
* Electronic Distribution Mechanism such as FTP or HTTP download.
|
||||
* c) Notify the licensor of the availability of source code to your extensions
|
||||
* and include instructions on how to acquire the source code and updates.
|
||||
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
|
||||
* reproduce, perform, modify, sublicense, and distribute your extensions.
|
||||
*
|
||||
* The Original Code is: CommuniCore
|
||||
* Olavo Farias
|
||||
* 2006-04-7 olavo.farias@gmail.com
|
||||
*
|
||||
* The Initial Developer of the Original Code is CommuniCore.
|
||||
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
|
||||
* All Rights Reserved.
|
||||
********************************************************************************/
|
||||
|
||||
$dictionary['EcmDocumentTemplate'] = array (
|
||||
|
||||
'table' => 'ecmdocumenttemplates',
|
||||
//'audited' => true,
|
||||
'comment' => 'EcmDocumentTemplates',
|
||||
'duplicate_merge' => true,
|
||||
'unified_search' => true,
|
||||
|
||||
'fields' => array (
|
||||
//STANDARD FIELDS SECTION
|
||||
'id' => array (
|
||||
'name' => 'id',
|
||||
'vname' => 'LBL_ID',
|
||||
'type' => 'id',
|
||||
'required' => true,
|
||||
'reportable' => false,
|
||||
'comment' => 'Unique identifier'
|
||||
),
|
||||
'name' => array (
|
||||
'name' => 'name',
|
||||
'vname' => 'LBL_NAME',
|
||||
'type' => 'name',
|
||||
'required' => true,
|
||||
'dbType' => 'varchar',
|
||||
'len' => 255,
|
||||
'audited' => true,
|
||||
'unified_search' => true,
|
||||
'comment' => 'The short description of the record contents',
|
||||
'massupdate' => true,
|
||||
'merge_filter' => 'selected',
|
||||
),
|
||||
'date_entered' => array (
|
||||
'name' => 'date_entered',
|
||||
'vname' => 'LBL_DATE_ENTERED',
|
||||
'type' => 'datetime',
|
||||
'required' => true,
|
||||
'comment' => 'Date record created'
|
||||
),
|
||||
'date_modified' => array (
|
||||
'name' => 'date_modified',
|
||||
'vname' => 'LBL_DATE_MODIFIED',
|
||||
'type' => 'datetime',
|
||||
'required' => true,
|
||||
'comment' => 'Date record last modified'
|
||||
),
|
||||
'modified_user_id' => array (
|
||||
'name' => 'modified_user_id',
|
||||
'rname' => 'user_name',
|
||||
'id_name' => 'modified_user_id',
|
||||
'vname' => 'LBL_MODIFIED_BY',
|
||||
'type' => 'assigned_user_name',
|
||||
'table' => 'modified_user_id_users',
|
||||
'isnull' => 'false',
|
||||
'dbType' => 'varchar',
|
||||
'len' => 36,
|
||||
'required' => true,
|
||||
'reportable' => true,
|
||||
'comment' => 'User who last modified record'
|
||||
),
|
||||
'assigned_user_id' =>
|
||||
array (
|
||||
'name' => 'assigned_user_id',
|
||||
'rname' => 'user_name',
|
||||
'id_name' => 'assigned_user_id',
|
||||
'vname' => 'LBL_ASSIGNED_TO_ID',
|
||||
'group' => 'assigned_user_name',
|
||||
'type' => 'relate',
|
||||
'table' => 'users',
|
||||
'reportable' => true,
|
||||
'Importable' => false,
|
||||
'isnull' => 'false',
|
||||
'dbType' => 'id',
|
||||
'audited' => true,
|
||||
'comment' => 'User ID assigned to record',
|
||||
'duplicate_merge' => 'disabled',
|
||||
),
|
||||
'assigned_user_name' =>
|
||||
array (
|
||||
'name' => 'assigned_user_name',
|
||||
'vname' => 'LBL_ASSIGNED_TO',
|
||||
'type' => 'relate',
|
||||
'reportable' => false,
|
||||
'source' => 'non-db',
|
||||
'table' => 'users',
|
||||
'id_name' => 'assigned_user_id',
|
||||
'module' => 'Users',
|
||||
'duplicate_merge' => 'disabled',
|
||||
),
|
||||
'created_by' => array (
|
||||
'name' => 'created_by',
|
||||
'rname' => 'user_name',
|
||||
'id_name' => 'created_by',
|
||||
'vname' => 'LBL_CREATED_BY',
|
||||
'type' => 'assigned_user_name',
|
||||
'table' => 'created_by_users',
|
||||
'isnull' => 'false',
|
||||
'dbType' => 'varchar',
|
||||
'len' => 36,
|
||||
'comment' => 'User that created the record'
|
||||
),
|
||||
'created_by_link' => array (
|
||||
'name' => 'created_by_link',
|
||||
'type' => 'link',
|
||||
'relationship' => 'ecmdocumenttemplates_created_by',
|
||||
'vname' => 'LBL_CREATED_BY_USER',
|
||||
'link_type' => 'one',
|
||||
'module' => 'Users',
|
||||
'bean_name' => 'User',
|
||||
'source' => 'non-db',
|
||||
),
|
||||
'modified_user_link' => array (
|
||||
'name' => 'modified_user_link',
|
||||
'type' => 'link',
|
||||
'relationship' => 'ecmdocumenttemplates_modified_user',
|
||||
'vname' => 'LBL_MODIFIED_BY_USER',
|
||||
'link_type' => 'one',
|
||||
'module' => 'Users',
|
||||
'bean_name' => 'User',
|
||||
'source' => 'non-db',
|
||||
),
|
||||
'assigned_user_link' => array (
|
||||
'name' => 'assigned_user_link',
|
||||
'type' => 'link',
|
||||
'relationship' => 'ecmdocumenttemplates_assigned_user',
|
||||
'vname' => 'LBL_ASSIGNED_TO_USER',
|
||||
'link_type' => 'one',
|
||||
'module' => 'Users',
|
||||
'bean_name' => 'User',
|
||||
'source' => 'non-db',
|
||||
'duplicate_merge' => 'enabled',
|
||||
'rname' => 'user_name',
|
||||
'id_name' => 'assigned_user_id',
|
||||
'table' => 'users',
|
||||
),
|
||||
'deleted' => array (
|
||||
'name' => 'deleted',
|
||||
'vname' => 'LBL_DELETED',
|
||||
'type' => 'bool',
|
||||
'required' => true,
|
||||
'reportable' => false,
|
||||
'comment' => 'Record deletion indicator'
|
||||
),
|
||||
|
||||
//NEW FIELDS SECTION
|
||||
'place_of_register' => array (
|
||||
'type' => 'varchar',
|
||||
'name' => 'place_of_register',
|
||||
'vname' => 'LBL_PLACE_OF_REGISTER',
|
||||
'comment' => 'Place of register',
|
||||
'required_option' => 'true',
|
||||
'max_size' => '255',
|
||||
'len' => '255',
|
||||
),
|
||||
|
||||
'logo_path' => array (
|
||||
'type' => 'varchar',
|
||||
'name' => 'logo_path',
|
||||
'vname' => 'LBL_LOGO_PATH',
|
||||
'comment' => 'Logo',
|
||||
'required_option' => 'true',
|
||||
'max_size' => '255',
|
||||
'len' => '255',
|
||||
),
|
||||
|
||||
'logo_id' => array (
|
||||
'name' => 'logo_id',
|
||||
'vname' => 'LBL_LOGO_ID',
|
||||
'type' => 'varchar',
|
||||
'len' => '255',
|
||||
),
|
||||
|
||||
'logo_name' => array (
|
||||
'name' => 'logo_name',
|
||||
'type' => 'file',
|
||||
'dbType' => 'varchar',
|
||||
'vname' => 'LBL_LOGO_NAME',
|
||||
'len' => '255',
|
||||
'max_size' => '255',
|
||||
),
|
||||
|
||||
'account_id' =>
|
||||
array (
|
||||
'name' => 'account_id',
|
||||
'type' => 'id',
|
||||
'group'=>'account_name',
|
||||
'reportable'=>false,
|
||||
),
|
||||
'account_name' =>
|
||||
array (
|
||||
'name' => 'account_name',
|
||||
'rname'=>'name',
|
||||
//'db_concat_fields'=> array(0=>'name'),
|
||||
//'source' => 'non-db',
|
||||
'dbType' => 'varchar',
|
||||
'len' => '510',
|
||||
'group'=>'account_name',
|
||||
'vname' => 'LBL_ACCOUNT_NAME',
|
||||
'reportable'=>false,
|
||||
'id_name' => 'account_id',
|
||||
'join_name' => 'accounts',
|
||||
'type' => 'relate',
|
||||
'module' => 'Accounts',
|
||||
'link'=>'accounts',
|
||||
),
|
||||
|
||||
'account_number' => array(
|
||||
'type' => 'varchar',
|
||||
'name' => 'account_number',
|
||||
'vname' => 'LBL_ACCOUNT_NUMBER',
|
||||
'comment' => 'Account Number',
|
||||
'required_option' => 'true',
|
||||
'max_size' => '255',
|
||||
'len' => '255',
|
||||
),
|
||||
|
||||
'footer_account' => array(
|
||||
'type' => 'varchar',
|
||||
'name' => 'footer_account',
|
||||
'vname' => 'LBL_FOOTER_ACCOUNT',
|
||||
'len' => '255',
|
||||
),
|
||||
|
||||
'footer_address' => array(
|
||||
'type' => 'varchar',
|
||||
'name' => 'footer_address',
|
||||
'vname' => 'LBL_FOOTER_ADDRESS',
|
||||
'len' => '255',
|
||||
),
|
||||
|
||||
'footer_phone' => array(
|
||||
'type' => 'varchar',
|
||||
'name' => 'footer_phone',
|
||||
'vname' => 'LBL_FOOTER_PHONE',
|
||||
'len' => '255',
|
||||
),
|
||||
|
||||
'footer_fax' => array(
|
||||
'type' => 'varchar',
|
||||
'name' => 'footer_fax',
|
||||
'vname' => 'LBL_FOOTER_FAX',
|
||||
'len' => '255',
|
||||
),
|
||||
|
||||
'footer_krs' => array(
|
||||
'type' => 'varchar',
|
||||
'name' => 'footer_krs',
|
||||
'vname' => 'LBL_FOOTER_KRS',
|
||||
'len' => '255',
|
||||
),
|
||||
|
||||
'footer_nip' => array(
|
||||
'type' => 'varchar',
|
||||
'name' => 'footer_nip',
|
||||
'vname' => 'LBL_FOOTER_NIP',
|
||||
'len' => '255',
|
||||
),
|
||||
|
||||
'footer_regon' => array(
|
||||
'type' => 'varchar',
|
||||
'name' => 'footer_regon',
|
||||
'vname' => 'LBL_FOOTER_REGON',
|
||||
'len' => '255',
|
||||
),
|
||||
|
||||
'footer_capital' => array(
|
||||
'type' => 'varchar',
|
||||
'name' => 'footer_capital',
|
||||
'vname' => 'LBL_FOOTER_CAPITAL',
|
||||
'len' => '255',
|
||||
),
|
||||
|
||||
'footer_management' => array(
|
||||
'type' => 'varchar',
|
||||
'name' => 'footer_management',
|
||||
'vname' => 'LBL_FOOTER_MANAGEMENT',
|
||||
'len' => '255',
|
||||
),
|
||||
|
||||
'footer_swift' => array(
|
||||
'type' => 'varchar',
|
||||
'name' => 'footer_swift',
|
||||
'vname' => 'LBL_FOOTER_SWIFT',
|
||||
'len' => '255',
|
||||
),
|
||||
|
||||
'footer_bankname' => array(
|
||||
'type' => 'varchar',
|
||||
'name' => 'footer_bankname',
|
||||
'vname' => 'LBL_FOOTER_BANKNAME',
|
||||
'len' => '255',
|
||||
),
|
||||
|
||||
'footer_vatid' => array(
|
||||
'type' => 'varchar',
|
||||
'name' => 'footer_vatid',
|
||||
'vname' => 'LBL_FOOTER_VATID',
|
||||
'len' => '255',
|
||||
),
|
||||
|
||||
'document_number_format_id' => array (
|
||||
'name' => 'document_number_format_id',
|
||||
'vname' => 'LBL_DOCUMENT_NUMBER_FORMAT_ID',
|
||||
'required' => true,
|
||||
'type' => 'enum',
|
||||
'options' => 'ecmdocumenttemplates_document_number_format_dom',
|
||||
'default' => 'YMDNR',
|
||||
),
|
||||
|
||||
'documents_per_day_id' => array (
|
||||
'name' => 'documents_per_day_id',
|
||||
'vname' => 'LBL_DOCUMENTS_PER_DAY_ID',
|
||||
'required' => true,
|
||||
'type' => 'enum',
|
||||
'options' => 'ecmdocumenttemplates_documents_per_day_dom',
|
||||
'default' => '3',
|
||||
),
|
||||
|
||||
'ecmlanguage' => array(
|
||||
'name' => 'ecmlanguage',
|
||||
'vname' => 'LBL_ECMLANGUAGE',
|
||||
'type' => 'enum',
|
||||
'options' => 'ecmlanguages_dom',
|
||||
'required' => true,
|
||||
'len' => 35,
|
||||
'massupdate' => false,
|
||||
),
|
||||
/*
|
||||
'document_number_letter' => array(
|
||||
'type' => 'varchar',
|
||||
'name' => 'document_number_letter',
|
||||
'vname' => 'LBL_DOCUMENT_NUMBER_LETTER',
|
||||
'len' => '1',
|
||||
'default' => 'F',
|
||||
'required' => true,
|
||||
),
|
||||
|
||||
'correct_number_letter' => array(
|
||||
'type' => 'varchar',
|
||||
'name' => 'correct_number_letter',
|
||||
'vname' => 'LBL_CORRECT_NUMBER_LETTER',
|
||||
'len' => '1',
|
||||
'default' => 'K',
|
||||
'required' => true,
|
||||
),
|
||||
*/
|
||||
'documents_per' => array (
|
||||
'type' => 'enum',
|
||||
'name' => 'documents_per',
|
||||
'options' => 'ecmdocumenttemplates_documents_per',
|
||||
'vname' => 'LBL_DOCUMENTS_PER',
|
||||
'default' => 'day',
|
||||
'required' => true,
|
||||
),
|
||||
|
||||
'footer_text' => array(
|
||||
'name' => 'footer_text',
|
||||
'vname' => 'LBL_FOOTER_TEXT',
|
||||
'type' => 'text',
|
||||
),
|
||||
|
||||
'header_text' => array(
|
||||
'name' => 'header_text',
|
||||
'vname' => 'LBL_HEADER_TEXT',
|
||||
'type' => 'text',
|
||||
),
|
||||
|
||||
'show_header_on_all_pages' => array (
|
||||
'massupdate' => false,
|
||||
'name' => 'show_header_on_all_pages',
|
||||
'vname' => 'LBL_SHOW_HEADER_ON_ALL_PAGES',
|
||||
'type' => 'bool',
|
||||
'default' => '0',
|
||||
),
|
||||
|
||||
'show_footer_on_all_pages' => array (
|
||||
'massupdate' => false,
|
||||
'name' => 'show_footer_on_all_pages',
|
||||
'vname' => 'LBL_SHOW_FOOTER_ON_ALL_PAGES',
|
||||
'type' => 'bool',
|
||||
'default' => '0',
|
||||
),
|
||||
|
||||
'change_all_old_records' => array (
|
||||
'massupdate' => false,
|
||||
'name' => 'change_all_old_records',
|
||||
'vname' => 'LBL_CHANGE_ALL_OLD_RECORDS',
|
||||
'type' => 'bool',
|
||||
'source' => 'non-db',
|
||||
'default' => '0',
|
||||
),
|
||||
'template_files_defs' => array(
|
||||
'name' => 'template_files_defs',
|
||||
'vname' => 'LBL_TEMPLATE_FILES_DEFS',
|
||||
'type' => 'text',
|
||||
),
|
||||
|
||||
//FOR SUBPANELS
|
||||
|
||||
|
||||
),
|
||||
|
||||
//INDICES SECTION
|
||||
'indices' => array (
|
||||
array('name' =>'ecmdocumenttemplatesspk', 'type' =>'primary', 'fields'=>array('id')),
|
||||
array('name' =>'idx_ecmdocumenttemplates_name', 'type' =>'index', 'fields'=>array('name'))
|
||||
)
|
||||
|
||||
//RELATIONSHIPS SECTION
|
||||
, 'relationships' => array (
|
||||
'ecmdocumenttemplates_assigned_user' => array(
|
||||
'lhs_module'=> 'Users', 'lhs_table'=> 'users', 'lhs_key' => 'id',
|
||||
'rhs_module'=> 'EcmDocumentTemplates', 'rhs_table'=> 'ecmdocumenttemplates', 'rhs_key' => 'assigned_user_id',
|
||||
'relationship_type'=>'one-to-many')
|
||||
|
||||
,'ecmdocumenttemplates_modified_user' => array(
|
||||
'lhs_module'=> 'Users', 'lhs_table'=> 'users', 'lhs_key' => 'id',
|
||||
'rhs_module'=> 'EcmDocumentTemplates', 'rhs_table'=> 'ecmdocumenttemplates', 'rhs_key' => 'modified_user_id',
|
||||
'relationship_type'=>'one-to-many')
|
||||
|
||||
,'ecmdocumenttemplates_created_by' => array(
|
||||
'lhs_module'=> 'Users', 'lhs_table'=> 'users', 'lhs_key' => 'id',
|
||||
'rhs_module'=> 'EcmDocumentTemplates', 'rhs_table'=> 'ecmdocumenttemplates', 'rhs_key' => 'created_by',
|
||||
'relationship_type'=>'one-to-many')
|
||||
|
||||
),
|
||||
|
||||
//THIS FLAG ENABLES OPTIMISTIC LOCKING FOR SAVES FROM EDITVIEW
|
||||
'optimistic_locking'=>true,
|
||||
|
||||
);
|
||||
?>
|
||||
104
custom/Extension/modules/EcmGroupSales/Ext/Menus/EcmGroupSales.php
Executable file
104
custom/Extension/modules/EcmGroupSales/Ext/Menus/EcmGroupSales.php
Executable file
@@ -0,0 +1,104 @@
|
||||
<?php
|
||||
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
|
||||
/*****************************************************************************
|
||||
|
||||
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
|
||||
|
||||
* Version 1.1 ("License"); You may not use this file except in compliance
|
||||
|
||||
* with the License. You may obtain a copy of the License at
|
||||
|
||||
* http://opensource.org/licenses/rpl.php. Software distributed under the
|
||||
|
||||
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
|
||||
|
||||
* either express or implied.
|
||||
|
||||
*
|
||||
|
||||
* You may:
|
||||
|
||||
* a) Use and distribute this code exactly as you received without payment or
|
||||
|
||||
* a royalty or other fee.
|
||||
|
||||
* b) Create extensions for this code, provided that you make the extensions
|
||||
|
||||
* publicly available and document your modifications clearly.
|
||||
|
||||
* c) Charge for a fee for warranty or support or for accepting liability
|
||||
|
||||
* obligations for your customers.
|
||||
|
||||
*
|
||||
|
||||
* You may NOT:
|
||||
|
||||
* a) Charge for the use of the original code or extensions, including in
|
||||
|
||||
* electronic distribution models, such as ASP (Application Service
|
||||
|
||||
* Provider).
|
||||
|
||||
* b) Charge for the original source code or your extensions other than a
|
||||
|
||||
* nominal fee to cover distribution costs where such distribution
|
||||
|
||||
* involves PHYSICAL media.
|
||||
|
||||
* c) Modify or delete any pre-existing copyright notices, change notices,
|
||||
|
||||
* or License text in the Licensed Software
|
||||
|
||||
* d) Assert any patent claims against the Licensor or Contributors, or
|
||||
|
||||
* which would in any way restrict the ability of any third party to use the
|
||||
|
||||
* Licensed Software.
|
||||
|
||||
*
|
||||
|
||||
* You must:
|
||||
|
||||
* a) Document any modifications you make to this code including the nature of
|
||||
|
||||
* the change, the authors of the change, and the date of the change.
|
||||
|
||||
* b) Make the source code for any extensions you deploy available via an
|
||||
|
||||
* Electronic Distribution Mechanism such as FTP or HTTP download.
|
||||
|
||||
* c) Notify the licensor of the availability of source code to your extensions
|
||||
|
||||
* and include instructions on how to acquire the source code and updates.
|
||||
|
||||
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
|
||||
|
||||
* reproduce, perform, modify, sublicense, and distribute your extensions.
|
||||
|
||||
*
|
||||
|
||||
* The Original Code is: CommuniCore
|
||||
|
||||
* Olavo Farias
|
||||
|
||||
* 2006-04-7 olavo.farias@gmail.com
|
||||
|
||||
*
|
||||
|
||||
* The Initial Developer of the Original Code is CommuniCore.
|
||||
|
||||
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
|
||||
|
||||
* All Rights Reserved.
|
||||
|
||||
********************************************************************************/
|
||||
|
||||
global $mod_strings;
|
||||
|
||||
// $module_menu [] = Array("index.php?module=EcmGroupSales&action=Settings&return_module=EcmGroupSales&return_action=DetailView", translate('LBL_SETTINGS_TITLE','EcmGroupSales'),"", 'EcmGroupSales');
|
||||
|
||||
?>
|
||||
|
||||
147
custom/Extension/modules/EcmGroupSales/Ext/Vardefs/vardefs.php
Executable file
147
custom/Extension/modules/EcmGroupSales/Ext/Vardefs/vardefs.php
Executable file
@@ -0,0 +1,147 @@
|
||||
<?php
|
||||
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
|
||||
/*****************************************************************************
|
||||
|
||||
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
|
||||
|
||||
* Version 1.1 ("License"); You may not use this file except in compliance
|
||||
|
||||
* with the License. You may obtain a copy of the License at
|
||||
|
||||
* http://opensource.org/licenses/rpl.php. Software distributed under the
|
||||
|
||||
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
|
||||
|
||||
* either express or implied.
|
||||
|
||||
*
|
||||
|
||||
* You may:
|
||||
|
||||
* a) Use and distribute this code exactly as you received without payment or
|
||||
|
||||
* a royalty or other fee.
|
||||
|
||||
* b) Create extensions for this code, provided that you make the extensions
|
||||
|
||||
* publicly available and document your modifications clearly.
|
||||
|
||||
* c) Charge for a fee for warranty or support or for accepting liability
|
||||
|
||||
* obligations for your customers.
|
||||
|
||||
*
|
||||
|
||||
* You may NOT:
|
||||
|
||||
* a) Charge for the use of the original code or extensions, including in
|
||||
|
||||
* electronic distribution models, such as ASP (Application Service
|
||||
|
||||
* Provider).
|
||||
|
||||
* b) Charge for the original source code or your extensions other than a
|
||||
|
||||
* nominal fee to cover distribution costs where such distribution
|
||||
|
||||
* involves PHYSICAL media.
|
||||
|
||||
* c) Modify or delete any pre-existing copyright notices, change notices,
|
||||
|
||||
* or License text in the Licensed Software
|
||||
|
||||
* d) Assert any patent claims against the Licensor or Contributors, or
|
||||
|
||||
* which would in any way restrict the ability of any third party to use the
|
||||
|
||||
* Licensed Software.
|
||||
|
||||
*
|
||||
|
||||
* You must:
|
||||
|
||||
* a) Document any modifications you make to this code including the nature of
|
||||
|
||||
* the change, the authors of the change, and the date of the change.
|
||||
|
||||
* b) Make the source code for any extensions you deploy available via an
|
||||
|
||||
* Electronic Distribution Mechanism such as FTP or HTTP download.
|
||||
|
||||
* c) Notify the licensor of the availability of source code to your extensions
|
||||
|
||||
* and include instructions on how to acquire the source code and updates.
|
||||
|
||||
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
|
||||
|
||||
* reproduce, perform, modify, sublicense, and distribute your extensions.
|
||||
|
||||
*
|
||||
|
||||
* The Original Code is: CommuniCore
|
||||
|
||||
* Olavo Farias
|
||||
|
||||
* 2006-04-7 olavo.farias@gmail.com
|
||||
|
||||
*
|
||||
|
||||
* The Initial Developer of the Original Code is CommuniCore.
|
||||
|
||||
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
|
||||
|
||||
* All Rights Reserved.
|
||||
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$dictionary['EcmGroupSale'] = array (
|
||||
|
||||
|
||||
|
||||
'table' => "ecmgroupsales",
|
||||
|
||||
'comment' => 'EcmGroupSales',
|
||||
|
||||
'duplicate_merge' => true,
|
||||
|
||||
'unified_search' => true,
|
||||
|
||||
|
||||
|
||||
//FIELDS SECTION
|
||||
|
||||
'fields' => array (
|
||||
|
||||
//STANDARD FIELDS SECTION
|
||||
|
||||
),
|
||||
|
||||
//INDICES SECTION
|
||||
|
||||
'indices' => array (
|
||||
|
||||
array('name' => 'ecmgroupsales'.'pk', 'type' => 'primary', 'fields' => array('id')),
|
||||
array('name' => 'idx_'.'ecmgroupsales'.'_name', 'type' => 'index', 'fields' => array('name'))
|
||||
|
||||
),
|
||||
|
||||
//RELATIONSHIPS SECTION
|
||||
|
||||
'relationships' => array (
|
||||
),
|
||||
|
||||
//THIS FLAG ENABLES OPTIMISTIC LOCKING FOR SAVES FROM EDITVIEW
|
||||
|
||||
'optimistic_locking' => true,
|
||||
);
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
298
custom/Extension/modules/EcmPaymentConditions/Ext/Vardefs/vardefs.php
Executable file
298
custom/Extension/modules/EcmPaymentConditions/Ext/Vardefs/vardefs.php
Executable file
@@ -0,0 +1,298 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*****************************************************************************
|
||||
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
|
||||
* Version 1.1 ("License"); You may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
* http://opensource.org/licenses/rpl.php. Software distributed under the
|
||||
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
|
||||
* either express or implied.
|
||||
*
|
||||
* You may:
|
||||
* a) Use and distribute this code exactly as you received without payment or
|
||||
* a royalty or other fee.
|
||||
* b) Create extensions for this code, provided that you make the extensions
|
||||
* publicly available and document your modifications clearly.
|
||||
* c) Charge for a fee for warranty or support or for accepting liability
|
||||
* obligations for your customers.
|
||||
*
|
||||
* You may NOT:
|
||||
* a) Charge for the use of the original code or extensions, including in
|
||||
* electronic distribution models, such as ASP (Application Service
|
||||
* Provider).
|
||||
* b) Charge for the original source code or your extensions other than a
|
||||
* nominal fee to cover distribution costs where such distribution
|
||||
* involves PHYSICAL media.
|
||||
* c) Modify or delete any pre-existing copyright notices, change notices,
|
||||
* or License text in the Licensed Software
|
||||
* d) Assert any patent claims against the Licensor or Contributors, or
|
||||
* which would in any way restrict the ability of any third party to use the
|
||||
* Licensed Software.
|
||||
*
|
||||
* You must:
|
||||
* a) Document any modifications you make to this code including the nature of
|
||||
* the change, the authors of the change, and the date of the change.
|
||||
* b) Make the source code for any extensions you deploy available via an
|
||||
* Electronic Distribution Mechanism such as FTP or HTTP download.
|
||||
* c) Notify the licensor of the availability of source code to your extensions
|
||||
* and include instructions on how to acquire the source code and updates.
|
||||
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
|
||||
* reproduce, perform, modify, sublicense, and distribute your extensions.
|
||||
*
|
||||
* The Original Code is: CommuniCore
|
||||
* Olavo Farias
|
||||
* 2006-04-7 olavo.farias@gmail.com
|
||||
*
|
||||
* The Initial Developer of the Original Code is CommuniCore.
|
||||
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
|
||||
* All Rights Reserved.
|
||||
********************************************************************************/
|
||||
$dictionary['EcmPaymentCondition'] = array(
|
||||
|
||||
'table' => 'ecmpaymentconditions',
|
||||
'comment' => 'EcmPaymentConditions',
|
||||
'duplicate_merge' => true,
|
||||
'unified_search' => true,
|
||||
|
||||
'fields' => array (
|
||||
|
||||
//STANDARD FIELDS SECTION
|
||||
'id' => array (
|
||||
'name' => 'id',
|
||||
'vname' => 'LBL_ID',
|
||||
'type' => 'id',
|
||||
'required' => true,
|
||||
'reportable' => false,
|
||||
'comment' => 'Unique identifier'
|
||||
),
|
||||
'name' => array (
|
||||
'name' => 'name',
|
||||
'vname' => 'LBL_NAME',
|
||||
'type' => 'name',
|
||||
'required' => true,
|
||||
'dbType' => 'varchar',
|
||||
'len' => 255,
|
||||
'unified_search' => true,
|
||||
'comment' => 'The short description of the record contents',
|
||||
'massupdate' => true,
|
||||
'merge_filter' => 'selected',
|
||||
),
|
||||
/*
|
||||
'description' => array (
|
||||
'type' => 'text',
|
||||
'name' => 'description',
|
||||
'vname' => 'LBL_DESCRIPTION',
|
||||
'comment' => 'Description',
|
||||
),
|
||||
*/
|
||||
'date_entered' => array (
|
||||
'name' => 'date_entered',
|
||||
'vname' => 'LBL_DATE_ENTERED',
|
||||
'type' => 'datetime',
|
||||
'required' => true,
|
||||
'comment' => 'Date record created'
|
||||
),
|
||||
'date_modified' => array (
|
||||
'name' => 'date_modified',
|
||||
'vname' => 'LBL_DATE_MODIFIED',
|
||||
'type' => 'datetime',
|
||||
'required' => true,
|
||||
'comment' => 'Date record last modified'
|
||||
),
|
||||
'modified_user_id' => array (
|
||||
'name' => 'modified_user_id',
|
||||
'rname' => 'user_name',
|
||||
'id_name' => 'modified_user_id',
|
||||
'vname' => 'LBL_MODIFIED',
|
||||
'type' => 'assigned_user_name',
|
||||
'table' => 'modified_user_id_users',
|
||||
'isnull' => 'false',
|
||||
'dbType' => 'varchar',
|
||||
'len' => 36,
|
||||
'required' => true,
|
||||
'reportable' => true,
|
||||
'comment' => 'User who last modified record'
|
||||
),
|
||||
'assigned_user_id' => array (
|
||||
'name' => 'assigned_user_id',
|
||||
'rname' => 'user_name',
|
||||
'id_name' => 'assigned_user_id',
|
||||
'vname' => 'LBL_ASSIGNED_TO_ID',
|
||||
'group' => 'assigned_user_name',
|
||||
'type' => 'relate',
|
||||
'table' => 'users',
|
||||
'reportable' => true,
|
||||
'Importable' => false,
|
||||
'isnull' => 'false',
|
||||
'dbType' => 'id',
|
||||
'audited' => true,
|
||||
'comment' => 'User ID assigned to record',
|
||||
'duplicate_merge' => 'disabled',
|
||||
),
|
||||
'assigned_user_name' => array (
|
||||
'name' => 'assigned_user_name',
|
||||
'vname' => 'LBL_ASSIGNED_TO',
|
||||
'type' => 'relate',
|
||||
'reportable' => false,
|
||||
'source' => 'non-db',
|
||||
'table' => 'users',
|
||||
'id_name' => 'assigned_user_id',
|
||||
'module' => 'Users',
|
||||
'duplicate_merge' => 'disabled',
|
||||
),
|
||||
'created_by' => array (
|
||||
'name' => 'created_by',
|
||||
'rname' => 'user_name',
|
||||
'id_name' => 'created_by',
|
||||
'vname' => 'LBL_CREATED',
|
||||
'type' => 'assigned_user_name',
|
||||
'table' => 'created_by_users',
|
||||
'isnull' => 'false',
|
||||
'dbType' => 'varchar',
|
||||
'len' => 36,
|
||||
'comment' => 'User that created the record'
|
||||
),
|
||||
'created_by_link' => array (
|
||||
'name' => 'created_by_link',
|
||||
'type' => 'link',
|
||||
'relationship' => 'ecmquestions'.'_created_by',
|
||||
'vname' => 'LBL_CREATED_BY_USER',
|
||||
'link_type' => 'one',
|
||||
'module' => 'Users',
|
||||
'bean_name' => 'User',
|
||||
'source' => 'non-db',
|
||||
),
|
||||
'modified_user_link' => array (
|
||||
'name' => 'modified_user_link',
|
||||
'type' => 'link',
|
||||
'relationship' => 'ecmquestions'.'_modified_user',
|
||||
'vname' => 'LBL_MODIFIED_BY_USER',
|
||||
'link_type' => 'one',
|
||||
'module' => 'Users',
|
||||
'bean_name' => 'User',
|
||||
'source' => 'non-db',
|
||||
),
|
||||
'assigned_user_link' => array (
|
||||
'name' => 'assigned_user_link',
|
||||
'type' => 'link',
|
||||
'relationship' => 'ecmquestions'.'_assigned_user',
|
||||
'vname' => 'LBL_ASSIGNED_TO_USER',
|
||||
'link_type' => 'one',
|
||||
'module' => 'Users',
|
||||
'bean_name' => 'User',
|
||||
'source' => 'non-db',
|
||||
'duplicate_merge' => 'enabled',
|
||||
'rname' => 'user_name',
|
||||
'id_name' => 'assigned_user_id',
|
||||
'table' => 'users',
|
||||
),
|
||||
'deleted' => array (
|
||||
'name' => 'deleted',
|
||||
'vname' => 'LBL_DELETED_BY',
|
||||
'type' => 'bool',
|
||||
'required' => true,
|
||||
'reportable' => false,
|
||||
'comment' => 'Record deletion indicator'
|
||||
),
|
||||
|
||||
'days' => array (
|
||||
'name' => 'days',
|
||||
'vname' => 'LBL_DAYS',
|
||||
'type' => 'int',
|
||||
'len' => 4,
|
||||
'required' => true,
|
||||
),
|
||||
|
||||
'discount' => array (
|
||||
'name' => 'discount',
|
||||
'vname' => 'LBL_DISCOUNT',
|
||||
'type' => 'decimal',
|
||||
'len' => '15,2',
|
||||
'default' => 0,
|
||||
'required' => true,
|
||||
),
|
||||
|
||||
'discount_days' => array (
|
||||
'name' => 'discount_days',
|
||||
'vname' => 'LBL_DISCOUNT_DAYS',
|
||||
'type' => 'int',
|
||||
'len' => 4,
|
||||
'required' => true,
|
||||
),
|
||||
|
||||
'payment_method' => array (
|
||||
'name' => 'payment_method',
|
||||
'vname' => 'LBL_PAYMENT_METHOD',
|
||||
'type' => 'enum',
|
||||
'len' => '25',
|
||||
'options' => 'ecmpaymentconditions_payment_method_dom',
|
||||
'required' => true,
|
||||
),
|
||||
|
||||
'weight_from' => array (
|
||||
'name' => 'weight_from',
|
||||
'vname' => 'LBL_WEIGHT_FROM',
|
||||
'type' => 'decimal',
|
||||
'len' => '15,2',
|
||||
'default' => 0,
|
||||
'required' => true,
|
||||
),
|
||||
|
||||
'weight_to' => array (
|
||||
'name' => 'weight_to',
|
||||
'vname' => 'LBL_WEIGHT_TO',
|
||||
'type' => 'decimal',
|
||||
'len' => '15,2',
|
||||
'default' => 0,
|
||||
'required' => true,
|
||||
),
|
||||
|
||||
'price' => array (
|
||||
'name' => 'price',
|
||||
'vname' => 'LBL_PRICE',
|
||||
'type' => 'decimal',
|
||||
'len' => '15,2',
|
||||
'default' => 0,
|
||||
'required' => true,
|
||||
),
|
||||
|
||||
'translations' => array (
|
||||
'name' => 'translations',
|
||||
'vname' => 'LBL_TRANSLATIONS',
|
||||
'type' => 'text',
|
||||
),
|
||||
|
||||
//NEW FIELDS SECTION
|
||||
|
||||
//FOR SUBPANELS
|
||||
|
||||
),
|
||||
|
||||
//INDICES SECTION
|
||||
'indices' => array (
|
||||
array('name' =>'ecmpaymentconditionsspk', 'type' =>'primary', 'fields'=>array('id')),
|
||||
array('name' =>'idx_ecmpaymentconditions_name', 'type' =>'index', 'fields'=>array('name'))
|
||||
)
|
||||
|
||||
//RELATIONSHIPS SECTION
|
||||
, 'relationships' => array (
|
||||
'ecmpaymentconditions_assigned_user' => array(
|
||||
'lhs_module'=> 'Users', 'lhs_table'=> 'users', 'lhs_key' => 'id',
|
||||
'rhs_module'=> 'EcmPaymentConditions', 'rhs_table'=> 'ecmpaymentconditions', 'rhs_key' => 'assigned_user_id',
|
||||
'relationship_type'=>'one-to-many')
|
||||
|
||||
,'ecmpaymentconditions_modified_user' => array(
|
||||
'lhs_module'=> 'Users', 'lhs_table'=> 'users', 'lhs_key' => 'id',
|
||||
'rhs_module'=> 'EcmPaymentConditions', 'rhs_table'=> 'ecmpaymentconditions', 'rhs_key' => 'modified_user_id',
|
||||
'relationship_type'=>'one-to-many')
|
||||
|
||||
,'ecmpaymentconditions_created_by' => array(
|
||||
'lhs_module'=> 'Users', 'lhs_table'=> 'users', 'lhs_key' => 'id',
|
||||
'rhs_module'=> 'EcmPaymentConditions', 'rhs_table'=> 'ecmpaymentconditions', 'rhs_key' => 'created_by',
|
||||
'relationship_type'=>'one-to-many')
|
||||
|
||||
),
|
||||
//THIS FLAG ENABLES OPTIMISTIC LOCKING FOR SAVES FROM EDITVIEW
|
||||
'optimistic_locking'=>true,
|
||||
);
|
||||
?>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
//auto-generated file DO NOT EDIT
|
||||
$layout_defs['EcmProducts']['subpanel_setup']['ecmquotes']['override_subpanel_name'] = 'EcmProductdefault';
|
||||
?>
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_FROM_ACCOUNTS_TITLE'] = 'Klienci';
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_FROM_ACCOUNTS_TITLE'] = 'Klienci';
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_1_FROM_ACCOUNTS_TITLE'] = 'Klienci';
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_FROM_ACCOUNTS_TITLE'] = 'Klienci';
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_FROM_ACCOUNTS_TITLE'] = 'Klienci';
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_1_FROM_ACCOUNTS_TITLE'] = 'Klienci';
|
||||
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
// created: 2011-10-04 11:58:18
|
||||
$dictionary['EcmQuote']['fields']['currency_id']['default']='PLN';
|
||||
$dictionary['EcmQuote']['fields']['currency_id']['len']=100;
|
||||
|
||||
?>
|
||||
207
custom/Extension/modules/EcmTexts/Ext/Vardefs/vardefs.php
Executable file
207
custom/Extension/modules/EcmTexts/Ext/Vardefs/vardefs.php
Executable file
@@ -0,0 +1,207 @@
|
||||
<?php
|
||||
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
|
||||
/*****************************************************************************
|
||||
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
|
||||
* Version 1.1 ("License"); You may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
* http://opensource.org/licenses/rpl.php. Software distributed under the
|
||||
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
|
||||
* either express or implied.
|
||||
*
|
||||
* You may:
|
||||
* a) Use and distribute this code exactly as you received without payment or
|
||||
* a royalty or other fee.
|
||||
* b) Create extensions for this code, provided that you make the extensions
|
||||
* publicly available and document your modifications clearly.
|
||||
* c) Charge for a fee for warranty or support or for accepting liability
|
||||
* obligations for your customers.
|
||||
*
|
||||
* You may NOT:
|
||||
* a) Charge for the use of the original code or extensions, including in
|
||||
* electronic distribution models, such as ASP (Application Service
|
||||
* Provider).
|
||||
* b) Charge for the original source code or your extensions other than a
|
||||
* nominal fee to cover distribution costs where such distribution
|
||||
* involves PHYSICAL media.
|
||||
* c) Modify or delete any pre-existing copyright notices, change notices,
|
||||
* or License text in the Licensed Software
|
||||
* d) Assert any patent claims against the Licensor or Contributors, or
|
||||
* which would in any way restrict the ability of any third party to use the
|
||||
* Licensed Software.
|
||||
*
|
||||
* You must:
|
||||
* a) Document any modifications you make to this code including the nature of
|
||||
* the change, the authors of the change, and the date of the change.
|
||||
* b) Make the source code for any extensions you deploy available via an
|
||||
* Electronic Distribution Mechanism such as FTP or HTTP download.
|
||||
* c) Notify the licensor of the availability of source code to your extensions
|
||||
* and include instructions on how to acquire the source code and updates.
|
||||
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
|
||||
* reproduce, perform, modify, sublicense, and distribute your extensions.
|
||||
*
|
||||
* The Original Code is: CommuniCore
|
||||
* Olavo Farias
|
||||
* 2006-04-7 olavo.farias@gmail.com
|
||||
*
|
||||
* The Initial Developer of the Original Code is CommuniCore.
|
||||
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
|
||||
* All Rights Reserved.
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
$dictionary['EcmText'] = array (
|
||||
|
||||
'table' => "ecmtexts",
|
||||
'comment' => 'EcmTexts',
|
||||
'duplicate_merge' => true,
|
||||
'unified_search' => true,
|
||||
|
||||
|
||||
//FIELDS SECTION
|
||||
|
||||
'fields' => array (
|
||||
|
||||
//STANDARD FIELDS SECTION
|
||||
|
||||
'id' => array (
|
||||
'name' => 'id',
|
||||
'vname' => 'LBL_ID',
|
||||
'type' => 'id',
|
||||
'required' => true,
|
||||
'reportable' => false,
|
||||
'comment' => 'Unique identifier'
|
||||
),
|
||||
|
||||
'name' => array (
|
||||
'name' => 'name',
|
||||
'vname' => 'LBL_NAME',
|
||||
'type' => 'name',
|
||||
'required' => true,
|
||||
'dbType' => 'varchar',
|
||||
'len' => 255,
|
||||
'unified_search' => true,
|
||||
'comment' => 'The short description of the record contents',
|
||||
'massupdate' => true,
|
||||
'merge_filter' => 'selected',
|
||||
),
|
||||
|
||||
'date_entered' => array (
|
||||
'name' => 'date_entered',
|
||||
'vname' => 'LBL_DATE_ENTERED',
|
||||
'type' => 'datetime',
|
||||
'required' => true,
|
||||
'comment' => 'Date record created'
|
||||
),
|
||||
|
||||
'date_modified' => array (
|
||||
'name' => 'date_modified',
|
||||
'vname' => 'LBL_DATE_MODIFIED',
|
||||
'type' => 'datetime',
|
||||
'required' => true,
|
||||
'comment' => 'Date record last modified'
|
||||
),
|
||||
|
||||
'modified_user_id' => array (
|
||||
'name' => 'modified_user_id',
|
||||
'rname' => 'user_name',
|
||||
'id_name' => 'modified_user_id',
|
||||
'vname' => 'LBL_MODIFIED',
|
||||
'type' => 'assigned_user_name',
|
||||
'table' => 'modified_user_id_users',
|
||||
'isnull' => 'false',
|
||||
'dbType' => 'varchar',
|
||||
'len' => 36,
|
||||
'required' => true,
|
||||
'reportable' => true,
|
||||
'comment' => 'User who last modified record'
|
||||
),
|
||||
|
||||
'created_by' => array (
|
||||
'name' => 'created_by',
|
||||
'rname' => 'user_name',
|
||||
'id_name' => 'created_by',
|
||||
'vname' => 'LBL_CREATED',
|
||||
'type' => 'assigned_user_name',
|
||||
'table' => 'created_by_users',
|
||||
'isnull' => 'false',
|
||||
'dbType' => 'varchar',
|
||||
'len' => 36,
|
||||
'comment' => 'User that created the record'
|
||||
),
|
||||
|
||||
'created_by_link' => array (
|
||||
'name' => 'created_by_link',
|
||||
'type' => 'link',
|
||||
'relationship' => 'ecmquotes'.'_created_by',
|
||||
'vname' => 'LBL_CREATED_BY_USER',
|
||||
'link_type' => 'one',
|
||||
'module' => 'Users',
|
||||
'bean_name' => 'User',
|
||||
'source' => 'non-db',
|
||||
),
|
||||
|
||||
'modified_user_link' => array (
|
||||
'name' => 'modified_user_link',
|
||||
'type' => 'link',
|
||||
'relationship' => 'ecmquotes'.'_modified_user',
|
||||
'vname' => 'LBL_MODIFIED_BY_USER',
|
||||
'link_type' => 'one',
|
||||
'module' => 'Users',
|
||||
'bean_name' => 'User',
|
||||
'source' => 'non-db',
|
||||
),
|
||||
|
||||
'deleted' => array (
|
||||
'name' => 'deleted',
|
||||
'vname' => 'LBL_DELETED_BY',
|
||||
'type' => 'bool',
|
||||
'required' => true,
|
||||
'reportable' => false,
|
||||
'comment' => 'Record deletion indicator'
|
||||
),
|
||||
|
||||
'bean_id' =>
|
||||
array (
|
||||
'name' => 'bean_id',
|
||||
'vname' => 'LBL_BEAN_ID',
|
||||
'dbType' => 'id',
|
||||
),
|
||||
|
||||
'ecmlanguage' =>
|
||||
array(
|
||||
'name' => 'ecmlanguage',
|
||||
'vname' => 'LBL_ECMLANGUAGE',
|
||||
'type' => 'enum',
|
||||
'options' => 'ecmlanguages_dom',
|
||||
'required' => true,
|
||||
'len' => 35
|
||||
),
|
||||
|
||||
'data' => array (
|
||||
'name' => 'data',
|
||||
'vname' => 'LBL_DATA',
|
||||
'type' => 'text',
|
||||
),
|
||||
|
||||
//FOR SUBPANELS
|
||||
|
||||
),
|
||||
|
||||
//INDICES SECTION
|
||||
'indices' => array (
|
||||
array('name' => 'ecmtexts'.'pk', 'type' => 'primary', 'fields' => array('id')),
|
||||
array('name' => 'idx_'.'ecmtexts'.'_name', 'type' => 'index', 'fields' => array('name'))
|
||||
),
|
||||
|
||||
//RELATIONSHIPS SECTION
|
||||
'relationships' => array (
|
||||
),
|
||||
|
||||
//THIS FLAG ENABLES OPTIMISTIC LOCKING FOR SAVES FROM EDITVIEW
|
||||
'optimistic_locking' => true,
|
||||
);
|
||||
|
||||
?>
|
||||
|
||||
8
custom/Extension/modules/Emails/Ext/Vardefs/ecmquotes_emails.php
Executable file
8
custom/Extension/modules/Emails/Ext/Vardefs/ecmquotes_emails.php
Executable file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
$dictionary['Email']['fields']['ecmquotes'] = array (
|
||||
'name' => 'ecmquotes',
|
||||
'type' => 'link',
|
||||
'relationship' => 'ecmquotes_emails',
|
||||
'source' =>'non-db',
|
||||
);
|
||||
?>
|
||||
5
custom/Extension/modules/Meetings/Ext/Vardefs/sugarfield_name.php
Executable file
5
custom/Extension/modules/Meetings/Ext/Vardefs/sugarfield_name.php
Executable file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
// created: 2011-10-04 14:12:12
|
||||
$dictionary['Meeting']['fields']['name']['required']=false;
|
||||
|
||||
?>
|
||||
8
custom/Extension/modules/Notes/Ext/Vardefs/ecmquotes_notes.php
Executable file
8
custom/Extension/modules/Notes/Ext/Vardefs/ecmquotes_notes.php
Executable file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
$dictionary['Note']['fields']['ecmquotes'] = array (
|
||||
'name' => 'ecmquotes',
|
||||
'type' => 'link',
|
||||
'relationship' => 'ecmquotes_notes',
|
||||
'source' =>'non-db',
|
||||
);
|
||||
?>
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_TASKS_FROM_ACCOUNTS_TITLE'] = 'Kontrahenci';
|
||||
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_TASKS_FROM_ACCOUNTS_TITLE'] = 'Kontrahenci';
|
||||
30
custom/Extension/modules/Tasks/Ext/Vardefs/accounts_tasks_Tasks.php
Executable file
30
custom/Extension/modules/Tasks/Ext/Vardefs/accounts_tasks_Tasks.php
Executable file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
// created: 2013-12-19 08:57:38
|
||||
$dictionary["Task"]["fields"]["accounts_tasks"] = array (
|
||||
'name' => 'accounts_tasks',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_tasks',
|
||||
'source' => 'non-db',
|
||||
'vname' => 'LBL_ACCOUNTS_TASKS_FROM_ACCOUNTS_TITLE',
|
||||
);
|
||||
$dictionary["Task"]["fields"]["accounts_tasks_name"] = array (
|
||||
'name' => 'accounts_tasks_name',
|
||||
'type' => 'relate',
|
||||
'source' => 'non-db',
|
||||
'vname' => 'LBL_ACCOUNTS_TASKS_FROM_ACCOUNTS_TITLE',
|
||||
'save' => true,
|
||||
'id_name' => 'accounts_t0769ccounts_ida',
|
||||
'link' => 'accounts_tasks',
|
||||
'table' => 'accounts',
|
||||
'module' => 'Accounts',
|
||||
'rname' => 'name',
|
||||
);
|
||||
$dictionary["Task"]["fields"]["accounts_t0769ccounts_ida"] = array (
|
||||
'name' => 'accounts_t0769ccounts_ida',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_tasks',
|
||||
'source' => 'non-db',
|
||||
'reportable' => false,
|
||||
'side' => 'right',
|
||||
'vname' => 'LBL_ACCOUNTS_TASKS_FROM_TASKS_TITLE',
|
||||
);
|
||||
5
custom/Extension/modules/Tasks/Ext/Vardefs/sugarfield_description.php
Executable file
5
custom/Extension/modules/Tasks/Ext/Vardefs/sugarfield_description.php
Executable file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
// created: 2012-04-23 13:52:09
|
||||
$dictionary['Task']['fields']['description']['required']=true;
|
||||
|
||||
?>
|
||||
5
custom/Extension/modules/Tasks/Ext/Vardefs/sugarfield_name.php
Executable file
5
custom/Extension/modules/Tasks/Ext/Vardefs/sugarfield_name.php
Executable file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
// created: 2012-04-23 13:50:59
|
||||
$dictionary['Task']['fields']['name']['required']=false;
|
||||
|
||||
?>
|
||||
6
custom/Extension/modules/relationships/language/Accounts.php
Executable file
6
custom/Extension/modules/relationships/language/Accounts.php
Executable file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_FROM_ECMQUOTES_TITLE'] = 'Oferty';
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_1_FROM_ECMQUOTES_TITLE'] = 'Oferty';
|
||||
$mod_strings['LBL_ACCOUNTS_DOCUMENTS_FROM_DOCUMENTS_TITLE'] = 'Dokumenty';
|
||||
$mod_strings['LBL_ACCOUNTS_TASKS_FROM_TASKS_TITLE'] = 'Zadania';
|
||||
3
custom/Extension/modules/relationships/language/Documents.php
Executable file
3
custom/Extension/modules/relationships/language/Documents.php
Executable file
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_DOCUMENTS_FROM_ACCOUNTS_TITLE'] = 'Kontrahenci';
|
||||
4
custom/Extension/modules/relationships/language/EcmQuotes.php
Executable file
4
custom/Extension/modules/relationships/language/EcmQuotes.php
Executable file
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_FROM_ACCOUNTS_TITLE'] = 'Klienci';
|
||||
$mod_strings['LBL_ACCOUNTS_ECMQUOTES_1_FROM_ACCOUNTS_TITLE'] = 'Klienci';
|
||||
3
custom/Extension/modules/relationships/language/Tasks.php
Executable file
3
custom/Extension/modules/relationships/language/Tasks.php
Executable file
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
//THIS FILE IS AUTO GENERATED, DO NOT MODIFY
|
||||
$mod_strings['LBL_ACCOUNTS_TASKS_FROM_ACCOUNTS_TITLE'] = 'Kontrahenci';
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
// created: 2013-12-19 08:56:45
|
||||
$layout_defs["Accounts"]["subpanel_setup"]["accounts_documents"] = array (
|
||||
'order' => 100,
|
||||
'module' => 'Documents',
|
||||
'subpanel_name' => 'default',
|
||||
'sort_order' => 'asc',
|
||||
'sort_by' => 'id',
|
||||
'title_key' => 'LBL_ACCOUNTS_DOCUMENTS_FROM_DOCUMENTS_TITLE',
|
||||
'get_subpanel_data' => 'accounts_documents',
|
||||
'top_buttons' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'widget_class' => 'SubPanelTopButtonQuickCreate',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'widget_class' => 'SubPanelTopSelectButton',
|
||||
'mode' => 'MultiSelect',
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
// created: 2011-10-06 14:08:31
|
||||
$layout_defs["Accounts"]["subpanel_setup"]["accounts_ecmquotes_1"] = array (
|
||||
'order' => 100,
|
||||
'module' => 'EcmQuotes',
|
||||
'subpanel_name' => 'default',
|
||||
'sort_order' => 'asc',
|
||||
'sort_by' => 'id',
|
||||
'title_key' => 'LBL_ACCOUNTS_ECMQUOTES_1_FROM_ECMQUOTES_TITLE',
|
||||
'get_subpanel_data' => 'accounts_ecmquotes_1',
|
||||
'top_buttons' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'widget_class' => 'SubPanelTopButtonQuickCreate',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'widget_class' => 'SubPanelTopSelectButton',
|
||||
'mode' => 'MultiSelect',
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
// created: 2011-10-06 14:08:22
|
||||
$layout_defs["Accounts"]["subpanel_setup"]["accounts_ecmquotes"] = array (
|
||||
'order' => 100,
|
||||
'module' => 'EcmQuotes',
|
||||
'subpanel_name' => 'default',
|
||||
'sort_order' => 'asc',
|
||||
'sort_by' => 'id',
|
||||
'title_key' => 'LBL_ACCOUNTS_ECMQUOTES_FROM_ECMQUOTES_TITLE',
|
||||
'get_subpanel_data' => 'accounts_ecmquotes',
|
||||
'top_buttons' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'widget_class' => 'SubPanelTopButtonQuickCreate',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'widget_class' => 'SubPanelTopSelectButton',
|
||||
'mode' => 'MultiSelect',
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
// created: 2013-12-19 08:57:38
|
||||
$layout_defs["Accounts"]["subpanel_setup"]["accounts_tasks"] = array (
|
||||
'order' => 100,
|
||||
'module' => 'Tasks',
|
||||
'subpanel_name' => 'default',
|
||||
'sort_order' => 'asc',
|
||||
'sort_by' => 'id',
|
||||
'title_key' => 'LBL_ACCOUNTS_TASKS_FROM_TASKS_TITLE',
|
||||
'get_subpanel_data' => 'accounts_tasks',
|
||||
'top_buttons' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'widget_class' => 'SubPanelTopButtonQuickCreate',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'widget_class' => 'SubPanelTopSelectButton',
|
||||
'mode' => 'MultiSelect',
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -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',
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
?>
|
||||
@@ -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',
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
?>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
// created: 2013-12-19 08:56:45
|
||||
$dictionary["Account"]["fields"]["accounts_documents"] = array (
|
||||
'name' => 'accounts_documents',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_documents',
|
||||
'source' => 'non-db',
|
||||
'side' => 'right',
|
||||
'vname' => 'LBL_ACCOUNTS_DOCUMENTS_FROM_DOCUMENTS_TITLE',
|
||||
);
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
// created: 2013-12-19 08:56:45
|
||||
$dictionary["Document"]["fields"]["accounts_documents"] = array (
|
||||
'name' => 'accounts_documents',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_documents',
|
||||
'source' => 'non-db',
|
||||
'vname' => 'LBL_ACCOUNTS_DOCUMENTS_FROM_ACCOUNTS_TITLE',
|
||||
);
|
||||
$dictionary["Document"]["fields"]["accounts_documents_name"] = array (
|
||||
'name' => 'accounts_documents_name',
|
||||
'type' => 'relate',
|
||||
'source' => 'non-db',
|
||||
'vname' => 'LBL_ACCOUNTS_DOCUMENTS_FROM_ACCOUNTS_TITLE',
|
||||
'save' => true,
|
||||
'id_name' => 'accounts_d13e2ccounts_ida',
|
||||
'link' => 'accounts_documents',
|
||||
'table' => 'accounts',
|
||||
'module' => 'Accounts',
|
||||
'rname' => 'name',
|
||||
);
|
||||
$dictionary["Document"]["fields"]["accounts_d13e2ccounts_ida"] = array (
|
||||
'name' => 'accounts_d13e2ccounts_ida',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_documents',
|
||||
'source' => 'non-db',
|
||||
'reportable' => false,
|
||||
'side' => 'right',
|
||||
'vname' => 'LBL_ACCOUNTS_DOCUMENTS_FROM_DOCUMENTS_TITLE',
|
||||
);
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
// created: 2011-10-06 14:08:31
|
||||
$dictionary["Account"]["fields"]["accounts_ecmquotes_1"] = array (
|
||||
'name' => 'accounts_ecmquotes_1',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_ecmquotes_1',
|
||||
'source' => 'non-db',
|
||||
'side' => 'right',
|
||||
'vname' => 'LBL_ACCOUNTS_ECMQUOTES_1_FROM_ECMQUOTES_TITLE',
|
||||
);
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
// created: 2011-10-06 14:08:31
|
||||
$dictionary["EcmQuote"]["fields"]["accounts_ecmquotes_1"] = array (
|
||||
'name' => 'accounts_ecmquotes_1',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_ecmquotes_1',
|
||||
'source' => 'non-db',
|
||||
'vname' => 'LBL_ACCOUNTS_ECMQUOTES_1_FROM_ACCOUNTS_TITLE',
|
||||
);
|
||||
$dictionary["EcmQuote"]["fields"]["accounts_ecmquotes_1_name"] = array (
|
||||
'name' => 'accounts_ecmquotes_1_name',
|
||||
'type' => 'relate',
|
||||
'source' => 'non-db',
|
||||
'vname' => 'LBL_ACCOUNTS_ECMQUOTES_1_FROM_ACCOUNTS_TITLE',
|
||||
'save' => true,
|
||||
'id_name' => 'accounts_eef45ccounts_ida',
|
||||
'link' => 'accounts_ecmquotes_1',
|
||||
'table' => 'accounts',
|
||||
'module' => 'Accounts',
|
||||
'rname' => 'name',
|
||||
);
|
||||
$dictionary["EcmQuote"]["fields"]["accounts_eef45ccounts_ida"] = array (
|
||||
'name' => 'accounts_eef45ccounts_ida',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_ecmquotes_1',
|
||||
'source' => 'non-db',
|
||||
'reportable' => false,
|
||||
'side' => 'right',
|
||||
'vname' => 'LBL_ACCOUNTS_ECMQUOTES_1_FROM_ECMQUOTES_TITLE',
|
||||
);
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
// created: 2011-10-06 14:08:22
|
||||
$dictionary["Account"]["fields"]["accounts_ecmquotes"] = array (
|
||||
'name' => 'accounts_ecmquotes',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_ecmquotes',
|
||||
'source' => 'non-db',
|
||||
'side' => 'right',
|
||||
'vname' => 'LBL_ACCOUNTS_ECMQUOTES_FROM_ECMQUOTES_TITLE',
|
||||
);
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
// created: 2011-10-06 14:08:22
|
||||
$dictionary["EcmQuote"]["fields"]["accounts_ecmquotes"] = array (
|
||||
'name' => 'accounts_ecmquotes',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_ecmquotes',
|
||||
'source' => 'non-db',
|
||||
'vname' => 'LBL_ACCOUNTS_ECMQUOTES_FROM_ACCOUNTS_TITLE',
|
||||
);
|
||||
$dictionary["EcmQuote"]["fields"]["accounts_ecmquotes_name"] = array (
|
||||
'name' => 'accounts_ecmquotes_name',
|
||||
'type' => 'relate',
|
||||
'source' => 'non-db',
|
||||
'vname' => 'LBL_ACCOUNTS_ECMQUOTES_FROM_ACCOUNTS_TITLE',
|
||||
'save' => true,
|
||||
'id_name' => 'accounts_e8f57ccounts_ida',
|
||||
'link' => 'accounts_ecmquotes',
|
||||
'table' => 'accounts',
|
||||
'module' => 'Accounts',
|
||||
'rname' => 'name',
|
||||
);
|
||||
$dictionary["EcmQuote"]["fields"]["accounts_e8f57ccounts_ida"] = array (
|
||||
'name' => 'accounts_e8f57ccounts_ida',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_ecmquotes',
|
||||
'source' => 'non-db',
|
||||
'reportable' => false,
|
||||
'side' => 'right',
|
||||
'vname' => 'LBL_ACCOUNTS_ECMQUOTES_FROM_ECMQUOTES_TITLE',
|
||||
);
|
||||
10
custom/Extension/modules/relationships/vardefs/accounts_tasks_Accounts.php
Executable file
10
custom/Extension/modules/relationships/vardefs/accounts_tasks_Accounts.php
Executable file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
// created: 2013-12-19 08:57:38
|
||||
$dictionary["Account"]["fields"]["accounts_tasks"] = array (
|
||||
'name' => 'accounts_tasks',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_tasks',
|
||||
'source' => 'non-db',
|
||||
'side' => 'right',
|
||||
'vname' => 'LBL_ACCOUNTS_TASKS_FROM_TASKS_TITLE',
|
||||
);
|
||||
30
custom/Extension/modules/relationships/vardefs/accounts_tasks_Tasks.php
Executable file
30
custom/Extension/modules/relationships/vardefs/accounts_tasks_Tasks.php
Executable file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
// created: 2013-12-19 08:57:38
|
||||
$dictionary["Task"]["fields"]["accounts_tasks"] = array (
|
||||
'name' => 'accounts_tasks',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_tasks',
|
||||
'source' => 'non-db',
|
||||
'vname' => 'LBL_ACCOUNTS_TASKS_FROM_ACCOUNTS_TITLE',
|
||||
);
|
||||
$dictionary["Task"]["fields"]["accounts_tasks_name"] = array (
|
||||
'name' => 'accounts_tasks_name',
|
||||
'type' => 'relate',
|
||||
'source' => 'non-db',
|
||||
'vname' => 'LBL_ACCOUNTS_TASKS_FROM_ACCOUNTS_TITLE',
|
||||
'save' => true,
|
||||
'id_name' => 'accounts_t0769ccounts_ida',
|
||||
'link' => 'accounts_tasks',
|
||||
'table' => 'accounts',
|
||||
'module' => 'Accounts',
|
||||
'rname' => 'name',
|
||||
);
|
||||
$dictionary["Task"]["fields"]["accounts_t0769ccounts_ida"] = array (
|
||||
'name' => 'accounts_t0769ccounts_ida',
|
||||
'type' => 'link',
|
||||
'relationship' => 'accounts_tasks',
|
||||
'source' => 'non-db',
|
||||
'reportable' => false,
|
||||
'side' => 'right',
|
||||
'vname' => 'LBL_ACCOUNTS_TASKS_FROM_TASKS_TITLE',
|
||||
);
|
||||
Reference in New Issue
Block a user