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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Created by, creationdate , changedby and changedtime property doesn't get updated.

(0) ShareShare
ReportReport
Posted on by 30

whenever we create or modify objects in AX AOT  table /classes/ Menu /Menu item , the Properties - created by, creationdate, changed by and changedtime doesn't get updated.

Any setup or configuration is missing, we don't have the TFS setup to check on when the objects are modified other than comparing the code within the layers. if in case the code is modified within the same layer in the class without any comments in place , finding difficult in tracing the changes on who modified and when it was last modified as the properties doesn't get updated, any way to trace this.

Thanks in Advance.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    I can see changes in SQL Server in the _model database perfectly fine, check there:

    USE [MicrosoftDynamicsAX_model];
    GO
    SELECT TOP 100 Name, ElementType, ModelElementData.ElementHandle, LayerId, ModelId, MODIFIEDBY, MODIFIEDDATETIME
      FROM [dbo].[ModelElementData]
      LEFT OUTER JOIN [dbo].[ModelElement] ON ModelElementData.ElementHandle = ModelElement.ElementHandle
      order by MODIFIEDDATETIME desc
    


    No changes are required, whenever you modify and save the AOT, the kernel should automatically do the timestamping. If it does not happen, maybe either your kernel, or the SQL stored procedures on your AX databases are broken.

    It is better to implement TFS though to track your changes for your environments, especially for Production.

  • Verified answer
    Martin Dráb Profile Picture
    239,932 Most Valuable Professional on at

    Can you tell us why you decide not using any kind of version control system? It's extremely inconvenient and risky, so I'm trying to understand what reasons people have to do that.

    You complain about difficulty of tracing what changes were done, when, by whom and why, so why don't you use the system designed for exactly this purpose? And you'll have the completely history, not just information about the last change, and you'll never lose any code.

  • rabud Profile Picture
    30 on at

    Thanks Vilmos for the response,

    i have a new menuitem in CUS layer , and when i open the properties from AOT , i see the createdby,date,changed are blank. i cannot figure out who created or when was the change made. so in this case the kernel or SQL stored procedure on AX Databases are broken ?

    2017_2D00_01_2D00_05_5F00_14_2D00_41_2D00_36.jpg

  • rabud Profile Picture
    30 on at

    Hi martin,

    the AX was implemented by some consulting and was not implemented, not when the system went for Auditing , there were all these questions as date was not registered. i do accept with you and we are in a plan to setup the version control system.

    was trying to check why the date was not registered for some objects and for some why its not getting updated when we make changes, any way to figure this out within AX or from the database queries.

    Thanks,

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Sanhthosh.Kumar.K Profile Picture

Sanhthosh.Kumar.K 2

#2
Raed Salah Bzour Profile Picture

Raed Salah Bzour 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans