To delete all the transaction inside a company in the ax 2009 follow up below steps:
1- go to AOT
2- open the classes
3- search on SysDatabaseTransDelete class
4- right click on the this class
5- choose open
6- click yes on the message box appear to you
7- info will appear to you "operation completed"