Hello,
I am in big trouble!! Please help me.
I wrote code in MyOpportunitiesDashlet.php file and over right the Process function as follows-
This working fine for admin but when I create new user and logged in with this user then this function wont work. For testing I put the die() in function then after the page goes well means Sugar not execute that file for new user!!!PHP Code:function process($lvsParams = array()) {
if(!empty($this->displayColumns)) {
$lvsParams = array(
'custom_select' => '',
'custom_from' => ' ',
'custom_where' => ' AND opportunities.id NOT IN (select opportunity_id from quotes where opportunity_id!="Null")',
'distinct' => true
);
}
parent::process($lvsParams);
Please Help me !!!
Thanks,
Pravin


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks