How to Recover Deleted Entries Using SugarCRM SOAP Web Service

By
69 views

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