Skip to main content
Solved

Need help in executing truncate query for table AUScheduleExecution

  • 13 June 2022
  • 1 reply
  • 108 views

Forum|alt.badge.img

Hello, need your help in executing below query through customization package in live. Is it safe to execute below query. we found over 2+ Lakhs records in this table and we think they are not useful for us. 

 

TRUNCATE TABLE AUScheduleExecution

Best answer by hkabiri

@ckwiat46 It is not recommended to perform such update or Deletion Script using customization project as the query may not finish before the Timeout expired and leave it with inconsistent data.

If you have direct access to DB, you can run the script directly on DB or use Automation Schedule History Screen (ScreenId=SM205035), select the schedule you need to delete and Hit Delete All. On this screen you have the option to filter the history by Date as well.

 

View original
Did this topic help you find an answer to your question?

1 reply

hkabiri
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Support Team
  • 195 replies
  • Answer
  • June 13, 2022

@ckwiat46 It is not recommended to perform such update or Deletion Script using customization project as the query may not finish before the Timeout expired and leave it with inconsistent data.

If you have direct access to DB, you can run the script directly on DB or use Automation Schedule History Screen (ScreenId=SM205035), select the schedule you need to delete and Hit Delete All. On this screen you have the option to filter the history by Date as well.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings