Hi , I am passing id with a button and i had done it but i want add update query in suitecrm like $sql="UPDATE users SET status='Active' WHERE id='user_id'";
$db->query($sql);
but found error below error on this line $db->query($sql):
Fatal error : Uncaught Error: Call to a member function query() on null in C:\xampp\htdocs\SuiteCRM-7.12.7\custom\MyTimeEntryPoint.php:15