Skip to main content

Batch job History Cleanup by code in Axapta, Batch log cleanup

Following two line code can help you for Batch jobs log cleanup. If you delete from table manually then it will take longer time but by using delete_from command you can do it quickly.

Delete cascade will also work using delete_from query.

 BatchJobHistory BatchJobHistory;  
   delete_from BatchJobHistory ;  

Comments