web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Get date time stamp of Sales Line, LineStatus field data update.

(0) ShareShare
ReportReport
Posted on by 77

I am working on a customization of an SSRS Report. The main data of my report is retrieved from SalesLine, one of the fields I have, I want to populate it with the dateTime stamp of whenever the data updates/changes of the Line Status field in SalesLine.

So, I wanted to ask if there is some sort of history maintaining table where this specific case is maintained, or a workaround to get this data.

I do have a solution in mind, but it is pretty extensive, to fetch all related records to each Line Status. for example, if it was updated to Invoiced, then I fetch the related invoiced line table (custInvoiceTrans), and use its createdDateTime as my field, but as I said, this is very extensive as there are many processes like these.

Kindly Help.

 

Categories:
  • Anton Venter Profile Picture
    21,242 Super User 2026 Season 2 on at

    @SA-15031413-0 

    As far as I know, there is not out of the box solution for this. Do only want the last change or all changes? Assuming all changes, a simple solution could be to create a custom table and keep the history of the status changes in there. This is with the assumption that you can hook into the update for all or most status changes.

  • Suggested answer
    Aayush Tiwari Profile Picture
    443 on at

    Hello @SA-15031413-0 

     

    If you want to keep the change tracking for sales line, you can enable database log for the same table for your selective feilds.

    But as the sales line is a transactional data, their are some things that you have to keep in mind as the quantum of data of sales line based on which you have to define database clean up log as well so that the database log doesn't get to big in context of space.

     

    Regards

    Aayush Tiwari  

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 528 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 424 Super User 2026 Season 2

#3
CU10121822-0 Profile Picture

CU10121822-0 374

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans