How to Recover Deleted Entries Using SugarCRM SOAP Web Service


To recover deleted entries in SugarCRM Soap Web Service, go to “’sugar_root’/include/database/DBManager.php” and carry out following steps:

Comment the following lines of code:

(1)$where .= ” AND deleted=0″;

(2)return “SELECT * FROM “.$bean->getTableName().” $where AND deleted=0″;

(3)if($fieldDef[‘name’] == ‘deleted’ && empty($bean->deleted)) continue;

Add the following line of code:

return “SELECT * FROM “.$bean->getTableName().” $where”;

Need Help? Get Free Consultation

Please leave this field empty.

Get in touch

Please leave this field empty.

Contact Information

Latest Tweets