test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://<sugarinstance>/rest/v10/Accounts/filter/? | |
filter[1][date_entered][$dateBetween][]=2014-05-24 | |
&filter[1][date_entered][$dateBetween][]=2014-05-27 | |
&fields=id,no_cliente_c | |
&filter[0][$or][][no_cliente_c]=1563 | |
&filter[0][$or][][no_cliente_c]=1280 | |
&filter[0][$or][][no_cliente_c]=1443 | |
&filter[0][$or][][no_cliente_c]=3078 | |
&filter[0][$or][][no_cliente_c]=10266 | |
&filter[0][$or][][no_cliente_c]=1654 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
extendsFrom: 'RecordView', | |
initialize: function (options) { | |
this._super('initialize', arguments); | |
debugger; | |
this.model.on("change:solucion_c",this.calculate, this); | |
}, | |
calculate:function() { | |
var solucion_c = this.model.get('solucion_c'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$viewdefs['Accounts']['base']['layout']['nrfm'] = array( | |
'type' => 'simple', | |
'components' => array( | |
array( | |
'view' => 'nrfm', | |
), | |
), | |
); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$dictionary['Account']['visibility'] = array( | |
"OwnedByTeamField" => true, | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$viewdefs['Leads']['base']['view']['record'] = array( | |
'buttons' => array( | |
. | |
. | |
. | |
), | |
'panels' => array( | |
. | |
. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Your installation or use of this SugarCRM file is subject to the applicable | |
* terms available at | |
* http://support.sugarcrm.com/06_Customer_Center/10_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. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
getRecordsRecursive: function(moduleName, filters, offset, collectionBuffer, callback){ | |
var self = this; | |
if(offset > -1){ | |
var collection = App.data.createBeanCollection(moduleName); | |
var req = collection.fetch({"filter": filters, "offset": offset}); | |
req.xhr.success(function(data){ | |
if(data.records){ | |
collectionBuffer.add(data.records); | |
self.getRecordsRecursive(moduleName, filters, data.offset, collectionBuffer, callback); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
showPreview: function(moduleName, modelId){ | |
var bean = App.data.createBean(moduleName, {id:modelId}); | |
bean.fetch(); | |
App.events.trigger('preview:render', bean); | |
} | |
}) |
OlderNewer