Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Modified By

Posted on by Microsoft Employee

Hello,

I know in a previous version we were able to show a field "Last Modified By" on a page.

Can someone guide me on how to design this for the customer card for instance?

Thank you

*This post is locked for comments

  • Suggested answer
    Binesh Profile Picture
    Binesh 7,885 on at
    RE: Modified By

    Hello TraciB,

    Do Some changes:
    Step 1:Add one field in customer table
    Field No. Field Name      Data Type Length Description
    50000     Modified By     Code         50
    And set the property Editable = No

    setp 2: write the code in OnModify and OnRename Trigger for populate Field Modified By
    "Modified By" := USERID;
    See the bellow screenshot.

    0820.res.png
    Step 3: Add this field in customer Card and Customer list based on your requirements.

  • Suggested answer
    RE: Modified By

    Hi,

    Agreed with Alexander.

    You customization must look something like:

    7633.123.PNG

    Hope it helps.

  • Suggested answer
    Alexander Ermakov Profile Picture
    Alexander Ermakov 28,094 on at
    RE: Modified By

    In standard version, there is a field "Last Date Modified" (Field 54) of Customer table. If this is not visible on the corresponding customer page, you can add it to the page through Development Environment.

    If you are interested to learn who was the person that modified the card, you need either to use standard change log and setup it for modification of Customer table (this will not allow you to see the modifier on the card itself, but you at least can search in the log entries if you will have such a need); or, you can make a small modification and add a custom field and fill it with the user's ID by OnModify triggers.

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Modified By

    I don't think we have Modified by we have Last Date Modified , to add modified by check this blog you can do the same for any table

    www.navisionworld.com/.../how-to-find-out-who-createdmodified.html

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,135 Super User 2024 Season 2 on at
    RE: Modified By

    please check if the field is already available in table

    if yes then please add to page.

    if not available then you need to add and write code for the same

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans