I am new to joomla. I have created a component using component creator. I've a form in admin side storing the details of a location, when the detail is saved I need to get the last insert id of this table to insert in another table with some extra details.
I would like to know how to get the inserted id and where the submit action goes.