Skip to main content
Question

GI to show most recent activity related to customer accounts

  • December 8, 2022
  • 6 replies
  • 511 views

Forum|alt.badge.img

Does anyone have a GI or thoughts on how to create a GI that will display the following:

  • Customer account ID
  • Default Salesperson assigned to the customer account
  • The most recent activity related to this customer account performed by this salesperson
  • The date of this activity

6 replies

Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • December 8, 2022

Hi @mikeho  Do you have Audit History is enabled for the Customers screen?

 

If yes, you can extract the data from the Audit History table to fetch the activity information.


BenjaminCrisman
Acumatica Employee
Forum|alt.badge.img+4
  • Acumatica Support Team
  • December 9, 2022

 @mikeho The activities may not stem from from the same source, so if you link Customer to CRActivity  (NoteID = RefNoteID) then you will only see the activities which were created off the customer record.

This shows that for me, only 2 of these activities were created off the customer record and so they would be the only ones to show up if I link CRActivity to Customer:

If the activities are from a different module then you’ll want to join to the specific module table, but if they come from multiple sources it could be a little more difficult though you can always fall back on what Naveen mentioned to use the Audit History.


Forum|alt.badge.img
  • Author
  • Semi-Pro II
  • February 2, 2023

@BenjaminCrisman or @Naveen Boga - yes, the activities could come from multiple modules, mainly either the Customers or Sales Orders modules. Knowing this, do you have any suggestions how to set up a GI that would produce:

  • Customer account ID
  • Default Salesperson assigned to the customer account
  • The most recent activity related to this customer account performed by this salesperson in the Sales Orders module and Customers modules
  • The date of these activities

Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • March 16, 2023

Hi @mikeho  were you able to find a solution? Thank you!


Forum|alt.badge.img
  • Author
  • Semi-Pro II
  • March 17, 2023

Hi @Chris Hackett - I did not. Still trying to figure this out.


Forum|alt.badge.img
  • Captain I
  • December 10, 2024

Hello ​@mikeho- did you ever figure this out? I am still working on the same issue to get the most recent activity on a GI. Thanks!