How to Recover Deleted Entries Using SugarCRM SOAP Web Service

By
Last Modified Date

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”;

 

Rolustech is a SugarCRM Certified Developer & Partner Firm. We have helped more than 600 firms with various SugarCRM customization, migrations, and integrations. Contact us today for your FREE consultation session to discuss all your Sugar queries.

Need Help? Get Free Consultation


By clicking you agree to our Terms and Conditions

Send me news and updates

Get in touch


Contact Information