HI all,

I am New in sugar CRM in my scenario when opportunities is created then there are some data is insert into some tables like opportunities,accounts_opportunities etc. I want to know that from which code these querys are Executed.

as i know that following code run (saves) insert into quey in crm.

$this->db->query($query, true); //its in save function


when i echo $query; and die(); it then opportunities insert into query is display but I want to know where accounts_opportunities data is inserted in to database.



Thanks in advance...