/
var
/
www
/
html
/
sugardemo
/
modules
/
ExpressionEngine
/
Upload File
HOME
<?php /* * Your installation or use of this SugarCRM file is subject to the applicable * terms available at * http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/. * If you do not agree to all of the applicable terms or do not have the * authority to bind the entity as an authorized representative, then do not * install or use this SugarCRM file. * * Copyright (C) SugarCRM Inc. All rights reserved. */ $dictionary['Formula'] = [ 'table' => 'formulas', 'comment' => 'Stored formulas that can be re-used ansd referenced in SugarLogic', 'fields' => [ 'target_module' => [ 'name' => 'target_module', 'vname' => 'LBL_TARGET_MODULE', 'type' => 'varchar', 'len' => '255', 'comment' => 'The target module for this formula', 'required' => true, ], 'formula' => [ 'name' => 'formula', 'vname' => 'LBL_FORMULA', 'type' => 'varchar', 'len' => '255', 'required' => true, ], 'return_type' => [ 'name' => 'return_type', 'vname' => 'LBL_RETURN_TYPE', 'type' => 'varchar', 'len' => '255', 'required' => true, ], ], ]; VardefManager::createVardef('ExpressionEngine', 'Formula', ['default', 'basic']);