Skip to main content
Question

Is it possible to Delete Audit History?

  • July 14, 2026
  • 15 replies
  • 148 views

Jupiter
Freshman I

Apologies if this is already covered, I did search and could not find what I am looking for.

 

Our five/six year old MYOB environment has a massive Audit history logs and I can’t find a way to delete on logs based on date and time?  Also, is this recorded for individual Tenants?

 

Can the Audit log cleaning be done via UI or I need some special access to Database?  We have a cloud implementation, is it possible to get access to the database directly?

15 replies

mohammadnawaz51
Varsity I
Forum|alt.badge.img+7

@Jupiter Hi You need to delete the audit history either from UI And DB,

https://www.youtube.com/watch?v=FhoHPt5g2bU


Forum|alt.badge.img+5

Hi ​@Jupiter 

There is No native purge by date; logs are tenant‑specific. in cloud you’ll need either an approved customization (e.g., AcuPurge like mention above) or vendor/DBA involvement direct DB access is generally not available to end customers.
Visit Link.


Jupiter
Freshman I
  • Author
  • Freshman I
  • July 14, 2026

@mohammadnawaz51 , ​@Abhishek Niikam thanks for a quick response.  I also found AcuPower, is there any preference between the two?  And are these paid subscription or how does it works?  You can tell I am in learning stages here because we got told by MYOB official support that is something we can manage ourself which I am finding is not true.


Dipak Nilkanth
Pro III
Forum|alt.badge.img+14

Hi ​@Jupiter,

The same idea has already been submitted in the Ideas section of the Acumatica Community. You can vote for it to help increase its visibility and priority.

If you have any other use cases or scenarios where this functionality would be beneficial, please add them to the idea.


https://community.acumatica.com/ideas/audit%2Dhistory%2Dpurge%2Dwith%2Dability%2Dto%2Dschedule%2D22853


mohammadnawaz51
Varsity I
Forum|alt.badge.img+7

@Jupiter You can work with ACUPOWER or work with the developer to truncate the data.


Jupiter
Freshman I
  • Author
  • Freshman I
  • July 14, 2026

Hi ​@Jupiter,

The same idea has already been submitted in the Ideas section of the Acumatica Community. You can vote for it to help increase its visibility and priority.

If you have any other use cases or scenarios where this functionality would be beneficial, please add them to the idea.


https://community.acumatica.com/ideas/audit%2Dhistory%2Dpurge%2Dwith%2Dability%2Dto%2Dschedule%2D22853

Thanks ​@Dipak Nilkanth , I can’t open that link it show 403.  Whom can I ask for access?


Jupiter
Freshman I
  • Author
  • Freshman I
  • July 14, 2026

@Jupiter You can work with ACUPOWER or work with the developer to truncate the data.

We have a full team of developers, is this something we can develop ourself without any further access from MYOB?  FYI - We already have customisation in our setup which is not accessible to us, only MYOB support has access to the code.


Dipak Nilkanth
Pro III
Forum|alt.badge.img+14

Hi ​@Jupiter,

The same idea has already been submitted in the Ideas section of the Acumatica Community. You can vote for it to help increase its visibility and priority.

If you have any other use cases or scenarios where this functionality would be beneficial, please add them to the idea.


https://community.acumatica.com/ideas/audit%2Dhistory%2Dpurge%2Dwith%2Dability%2Dto%2Dschedule%2D22853

Thanks ​@Dipak Nilkanth , I can’t open that link it show 403.  Whom can I ask for access?

 

@Chris Hackett, can you please help ​@Jupiter on this?


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • July 14, 2026

Hi ​@Dipak Nilkanth - I responded to ​@Jupiter in PM that they are in the community as a registered guest. That role doesn’t have the access rights needed. Acumatica Portal controls that access through what’s entered in their business account in Acumatica CRM. They would need to work with the account administrator to get the proper user role access setup there.


Jupiter
Freshman I
  • Author
  • Freshman I
  • July 15, 2026

Hi ​@Dipak Nilkanth - I responded to ​@Jupiter in PM that they are in the community as a registered guest. That role doesn’t have the access rights needed. Acumatica Portal controls that access through what’s entered in their business account in Acumatica CRM. They would need to work with the account administrator to get the proper user role access setup there.

@Chris Hackett I check with our account manager and they say the ’Guest’ access should be fine to access that URL.  Can I confirm that URL actually is working and if you can share a screenshot?


  • Freshman I
  • July 15, 2026

@Jupiter You can work with ACUPOWER or work with the developer to truncate the data.

We have a full team of developers, is this something we can develop ourself without any further access from MYOB?  FYI - We already have customisation in our setup which is not accessible to us, only MYOB support has access to the code.

No need to pay anyone. Create a customization to attach an SQL audit record delete script. Use AI if you don't know how to write the script.


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • July 15, 2026

@Jupiter  - The link you are referencing goes to an Idea. Ideas, KBs, and other areas are only open to the customer or partner role, not guest. Yes, the link works fine.


Jupiter
Freshman I
  • Author
  • Freshman I
  • July 24, 2026

@Jupiter You can work with ACUPOWER or work with the developer to truncate the data.

We have a full team of developers, is this something we can develop ourself without any further access from MYOB?  FYI - We already have customisation in our setup which is not accessible to us, only MYOB support has access to the code.

No need to pay anyone. Create a customization to attach an SQL audit record delete script. Use AI if you don't know how to write the script.

Thank you Naveen for the direction here, is there any guides written on this that I can refer too.


  • Freshman I
  • July 24, 2026

@Jupiter You can work with ACUPOWER or work with the developer to truncate the data.

We have a full team of developers, is this something we can develop ourself without any further access from MYOB?  FYI - We already have customisation in our setup which is not accessible to us, only MYOB support has access to the code.

No need to pay anyone. Create a customization to attach an SQL audit record delete script. Use AI if you don't know how to write the script.

Thank you Naveen for the direction here, is there any guides written on this that I can refer too.


Hi ​@Jupiter , there isn't one single official Acumatica guide for this specific use case since audit purging isn't a native feature, but here's the general approach:

1. Look at Acumatica's "Customization Projects" framework and the "Automation Steps" / Business Events documentation in the Acumatica Open University these show how to trigger custom code (including SQL) on a schedule.
2. You can create an Automation Schedule that calls a custom Business Logic (BLC) method, and inside that method execute a parameterized SQL DELETE against the audit history table filtered by date, using PXDatabase.Execute or a stored procedure call rather than raw ad-hoc SQL.
3. Always test in a sandbox/snapshot copy first, take a full backup before running any delete, and keep the date-range filter conservative audit tables can have foreign key relationships depending on your version.
4. If your dev team isn't familiar with Acumatica's customization APIs, Acumatica's "Customization and Development" training on Acumatica Open University (openu.acumatica.com) is the best starting point.

 


  • Freshman I
  • July 24, 2026

Hi,

I just responded to your request. If you are still running into issues, feel free to send me your specific requirements. I would be happy to put together a sample script and send it over to you.

Best regards,
Naveen