AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • In-Person Gatherings
    • Power BI Workshop
    • Podcast
    • Rolodex
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Everything Else
Tracking Purchase O...
 
Notifications
Clear all

Questions Tracking Purchase Order Changes in Acumatica

 
Everything Else
Last Post by Tim Rodman 5 years ago
4 Posts
3 Users
0 Reactions
4,362 Views
RSS
Tim Rodman
Posts: 3204
 Tim Rodman
Admin
Topic starter
November 10, 2020 9:00 pm
(@timrodman)
Famed Member
Joined: 11 years ago

What if you want to track changes that were made to a Purchase Order in Acumatica?

Specifically, let’s say that you want to track the following on a Purchase Order Line:

  1. When a line is added.
  2. When line is removed.
  3. When the Inventory ID is changed.
  4. When the Unit Cost is changed.
  5. When the Order Qty. is changed.
  6. Who made a change and when?

 

First, make sure that you have Field-Level Audit enabled on the Enable/Disable Features (CS100000) screen:

image

 

Next, on the Purchase Orders (PO301000) screen, go to TOOLS -> Audit History…

image

 

Then click ENABLE FIELD LEVEL AUDIT on this pop-up window:

image

 

Only check off the fields that you want to audit. You don’t want too many fields checked off or it can slow down the screen. It’s A LOT of clicking to uncheck the Active checkbox for all of the fields, so I use SPACEBAR -> DOWN ARROW -> SPACEBAR -> DOWN ARROW over and over again. It’s still really tedious, but it’s faster than using the mouse. You can filter on the Active column for True to show only the fields you have enabled for field-level audit to make sure that you didn’t miss anything that should be unchecked.

For some reason, in the environment that I tried this in (Acumatica 2020 R2 - 20.202.0043), I had to make a field Active in the Header of the Purchase Order in order for Acumatica to track changes to the Lines of the Purchase Order. So I made the Description field active as my “token” Header field.

Here are some screenshots of my Audit (SM205510) screen. Note that I’m filtered on Active=True to only show fields that are enabled for field-level auditing:

image
image

 

Now let’s see how our field-level audit setup behaves on the Purchase Orders (PO301000) screen. Let’s use this Purchase Order as an example.

image

 

Does it track when a line is added? Let’s add a second line to the Purchase Order and then go to TOOLS -> Audit History… again. This time, rather than taking us to the Audit (SM205510) screen, it takes us to the Audit History screen (since we already have things setup) to show us the changes that are being tracked. Since this is a new line, all it tracks is a green record which means that something was added.

image
image

 

Does it track when the Inventory ID, Unit Cost, or Order Qty. are changed? Let’s change the Inventory ID on the Purchase Order, enter an Order Qty. of 1, and a Unit Cost of 50, then go to TOOLS -> Audit History… again. This time the audit history tracks two lines: the red line shows the old values on the line and the green line shows the new values on the line.

image
image

 

Does it track when a line is removed? Let’s delete the line we just added, then go to TOOLS -> Audit History… again. This time, all it tracks is a red record (rather than the green record that we got when we added the line). This is how we know that the line was deleted.

image
image

 

Note in the previous screenshot that the Created and Last Modified information is displayed on the top. Who made each change (User) and when (Date/Time) are tracked for each Audit History record. Just click the arrow to the left of Changes: to see the details of each change.

Not bad huh?


3 Replies
Posts: 4
 KarenO
November 10, 2020 11:07 pm
(@kareno)
Active Member
Joined: 6 years ago

Good stuff! Thank you, Tim!


Reply
Kurt Bauer
Posts: 45
 Kurt Bauer
November 12, 2020 12:02 pm
(@kurtybauer)
Trusted Member
Joined: 6 years ago
Posted by: @timrodman

You don’t want too many fields checked off or it can slow down the screen

Tim,

Do you know if there are any metrics or articles from Acumatica that discuss potential performance issues with too many fields enabled?  We have several clients that have lots of fields enabled on many screens and I'd like to start reducing the number of fields.

Also, another reason you might want to add to your post for not enabling too many fields is the Audit History table can become very large.  We have a client who has a 40GB AuditHistory table because they having been auditing a lot of data over the past 5 years.  The only way to remove records is to delete directly from the database.

Thanks,
Kurt Bauer


Reply
Tim Rodman
 Tim Rodman
Admin
(@timrodman)
Joined: 11 years ago

Famed Member
Posts: 3204
January 25, 2021 1:11 am
Reply toKurt BauerKurt Bauer

@kurtybauer Great point about the AuditHistory table size. I haven't seen any articles from Acumatica about performance, would be a good question for Acumatica Support. I personally would like to know more about what actually tracks the changes. I assume it happens in IIS, but I'm not sure.


Reply
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,532 Topics
  • 11 K Posts
  • 49 Online
  • 2,420 Members
Our newest member: Katerina Pawlowski
Latest Post: Can't export GI's to excel that contain the FATrans DAC after upgrade to 2025 R1 in less than 25 min
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

 No online members at the moment

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×