Skip to main content
Solved

Audit Trail Reports and GIs

  • September 13, 2022
  • 5 replies
  • 992 views

Forum|alt.badge.img+5

Hello,

I want to write reports and/or GIs to show audit trail history.

Specifically, I want to show value changes, the field name, what the value was before and the new value and the user who performed the change.

I would also like to be able to report lines that were deleted.

Specifically, this is for projects, but the question is applicable in general.

What table and fields would I use?

I see an AuditHistory DAC, but it does not have USER, BEFORE VALUE, AFTER VALUE.

And the ModifiedFields entry seems like an unusable jumble of stuff.

Best answer by BenjaminCrisman

Hi @ltussing03 Along with what Manikanta has mentioned these fields record the changes, not necessarily what the values were beforehand, but this would be captured in the initial creation of a record as long as auditing was turned on.

Once the audit is turned on you can filter the results of AuditHistory for the record(s) needing to view and then see what the value was beforehand which would be captured prior in the audit as well as the newer records in the table which would show what the value had change to.

This is after creating an SO, then adding the Description of TEST, then changing that to TEST UPDATE:

The before and after values are both visible

Also, to download files Right Click > Save Link As...

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

5 replies

Manikanta Dhulipudi
Captain II
Forum|alt.badge.img+13

Hello @ltussing03  I have a generic inquiry which shows the last modification on the report with the date and user name.

It might help you up to some extent.

Thank you


Forum|alt.badge.img+5
  • Author
  • Captain II
  • 290 replies
  • September 13, 2022

Thanks!

I don’t seem to be able to download the file from here.

It just opens the file.

I’d like to be able to import it so I can view it through the Acumatica interface.

Any thoughts?

Thanks again!


Manikanta Dhulipudi
Captain II
Forum|alt.badge.img+13
ltussing03 wrote:

Thanks!

I don’t seem to be able to download the file from here.

It just opens the file.

I’d like to be able to import it so I can view it through the Acumatica interface.

Any thoughts?

Thanks again!

Check here ReportMods.xml


BenjaminCrisman
Acumatica Employee
Forum|alt.badge.img+4
  • Acumatica Support Team
  • 701 replies
  • Answer
  • September 13, 2022

Hi @ltussing03 Along with what Manikanta has mentioned these fields record the changes, not necessarily what the values were beforehand, but this would be captured in the initial creation of a record as long as auditing was turned on.

Once the audit is turned on you can filter the results of AuditHistory for the record(s) needing to view and then see what the value was beforehand which would be captured prior in the audit as well as the newer records in the table which would show what the value had change to.

This is after creating an SO, then adding the Description of TEST, then changing that to TEST UPDATE:

The before and after values are both visible

Also, to download files Right Click > Save Link As...


Forum|alt.badge.img+5
  • Author
  • Captain II
  • 290 replies
  • September 13, 2022

Thanks!


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