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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Need to create History form for service Orders

(0) ShareShare
ReportReport
Posted on by 207

Dear All Experts,

Good Day

I need to create a history form for each service orders.

 If user create a service order then this form saved a line for example:-

Line 1)  Service Order Id:- SRV-00001      History Type  :- Inserted          stage ID:-  Process              UserId: abc

 if another user modified this so new line will be added in this form as example:-

Line 2)  Service Order Id:- SRV-00001      History Type  :- Modified        stage ID:- Call Back               UserId: abc

Every time if any user come and change anything his record automatically generate in new line.

*This post is locked for comments

I have the same question (0)
  • DEEPAKNONU Profile Picture
    207 on at
    RE: Need to create History form for service Orders

    Rustem thanks, It helps me a lot to complete my task.

  • Verified answer
    Rustem Galiamov Profile Picture
    8,072 on at
    RE: Need to create History form for service Orders

    So, you can write your own logic using event handlers on Insert and Update methods.

    daxtechies.blogspot.com/.../how-to-use-event-handler-in-microsoft.html

    docs.microsoft.com/.../event-handler-nodes-in-the-aot

  • DEEPAKNONU Profile Picture
    207 on at
    RE: Need to create History form for service Orders

    Thanks for your valuable response. But as I told you I need more fields which is not available  in database logs.  

  • Suggested answer
    Rustem Galiamov Profile Picture
    8,072 on at
    RE: Need to create History form for service Orders

    Database log provide the functionality to log insert update and delete functionality on table as well as selected filed of a table.

    Database logging, although it can be valuable from a business perspective, can be expensive with regard to resource use and management.

    docs.microsoft.com/.../configure-and-manage-database-logging

  • guk1964 Profile Picture
    10,886 on at
    RE: Need to create History form for service Orders

    Don't use database log it will likely crash your system.

    In the AOS you can turn on the created by modified fields for particular transactions.

  • DEEPAKNONU Profile Picture
    207 on at
    RE: Need to create History form for service Orders

    Hey Rustem,

    Thanks for your response. But in data base log You have only created By record who create this but I need Create as well as modified by also.

  • Suggested answer
    Rustem Galiamov Profile Picture
    8,072 on at
    RE: Need to create History form for service Orders

    Hi DEEPAKNONU!

    Maybe database log functionality is better way instead of creating new form?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#1
Guy Terry Profile Picture

Guy Terry 2 Moderator

#1
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans