There is a difference between using the delete link on the right side of the grid (edit mode) and the delete link on the left side of the grid (action link). This is what I do:
Step 1: pressing delete link in edit mode on the right side of the grid in order to delete a line item record (result: Ok)
Step 2: starting automatically 'before delete timing' trigger which delete another record in the grid by using deleterecord api function (result: Ok)
After step 2 something unexepected happens: a new record with the data of the deleted record (step 2) has been created. I don't have an event or trigger for new record creation. How is this possible? When I use the delete link on the left side of the grid (action link), everything works fine for step 1 and step 2 and no new record has been created.