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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Autopopulating fields on Page ID 124

(0) ShareShare
ReportReport
Posted on by

Still cutting my NAV dev chops reading Packt books rapidly. 

I've got a client that would like to have some fields on Page ID 124 (Comment sheet) auto populate. 

The desire is for new comment lines to have the current date and user fill in the Fields Date and Creator

 

I'm beginning the process by looking at Field properties of other fields that already auto populate.

I'd appreciate any insight and or shoves in the right direction.

2604.e.PNG

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Mohana Yadav Profile Picture
    61,005 Super User 2025 Season 2 on at

    check OnNewRecord trigger of page

  • Suggested answer
    Amol Salvi Profile Picture
    18,698 on at

    Do you mean to say it should insert values when user insert new record in comment or use will enter ?

  • Community Member Profile Picture
    on at

    Thanks Mohana!

    On Page ID 124 under the OnNewRecord trigger I added the following:

       Date := TODAY;

       Creator := DELCHR(USERID, '<', 'DomainName')

  • Suggested answer
    Mohana Yadav Profile Picture
    61,005 Super User 2025 Season 2 on at

    Perfect Rob..

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans