hi all.
i have a problem with sugar nuSoap.
i can't do any query on 'get_entry_list'. i already checked the permission, and but it still not working.
there are no any error message, and no any responds. i don't know why..
if i list the it not using query, it's working fine.
This is not working with query string:
This is working without query string:PHP Code:$fields = array('id','user_name','phone_fax');
$sql = "users.user_name like '%a%'";
$param = array(
'session'=>$this->con['id'],
'module_name'=>'Users',
'query'=>$sql,
'order_by'=>'',
'offset'=>0,
'select_fields'=>$fields,
'max_results'=>$count,
'deleted'=>0);
$result = $this->call('get_entry_list',$param);
any body ever get this problem. ?? please help me..PHP Code:$fields = array('id','user_name','phone_fax');
$sql = "";
$param = array(
'session'=>$this->con['id'],
'module_name'=>'Users',
'query'=>$sql,
'order_by'=>'',
'offset'=>0,
'select_fields'=>$fields,
'max_results'=>$count,
'deleted'=>0);
$result = $this->call('get_entry_list',$param);
thanks before.
best regards,
lauren


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks