how to retrieve a delete_ from table (deleted records)

here is the code

delete_ from xyz

where abc. field1 = xyz.field1;

but I want to retrieve these records some where. please suggest some alternatives.

is triggers availabe on dynammics ax and will that be a good option to solve this problem

if yes how to use a trigger to a table or some place when a delete operation is performed

Thanks all in advance

What does this mean?

The delete method on table will be called, unless you intentionally skip this. You will not be having much impact by using a set based delete which executes the delete method.

So the better option is to perform the what ever operation before set based delete.