Skip to main content
Question

Creating generic Inguiry from Audit History

  • February 23, 2026
  • 2 replies
  • 46 views

Forum|alt.badge.img

Does anyone perhaps have an idea how to set up a Generic Inquiry that would be sent automatically on a daily basis to specific recipients via email and would include information about Sales Orders—specifically when the ship date was changed, what the previous ship date was, what the updated ship date is, and who made the change?

Please note that Audit History is enabled for Sales Orders.

2 replies

Naveen Boga
Captain II
Forum|alt.badge.img+20
  • Captain II
  • February 23, 2026

Hi ​@aspindler  Based on my understanding, a standard Generic Inquiry may not be able to display detailed audit information such as who modified the record, which specific fields were modified, and when those changes were made.

To achieve this requirement, we would likely need to develop a custom inquiry at the code level. This would involve retrieving data from the relevant audit or change history tables and structuring it appropriately to display:

  • The user who made the modification

  • The date and time of the modification

  • The specific fields that were changed

  • The old and new values (if required)

A custom development approach would give us more flexibility and allow us to present the information in a structured and user-friendly format.


lauraj46
Captain II
Forum|alt.badge.img+9
  • Captain II
  • February 23, 2026

Hi ​@aspindler ,

As ​@Naveen Boga says, the AuditHistory table is structured in a way that is not very convenient for reporting in this way.

Alternatively, I suggest using a Business Event to monitor the Ship Days and send a notification in real time.

1. Create a generic inquiry based on SOLine. Be sure to include all key fields as well as ShipDate and LastModifiedUser.

2. Create a business event based on the GI and select the trigger condition 'Field Changed' for the ShipDate. Be sure that the ShipDate field is listed on the Tracked fields tab.

3. Create an Email Notification subscription on the business event.  In the email notification you can insert the Previous and new values of the ShipDate along with other fields in your email message.

Hope this helps!

Laura