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 :
Microsoft Dynamics NAV (Archived)

Managing Versions of checkBox

(1) ShareShare
ReportReport
Posted on by 1,893

Dear All,

Is there any way to manage the versions of the check box field..How many times it is checked then unchecked.

Manish

*This post is locked for comments

I have the same question (0)
  • Binesh Profile Picture
    7,887 on at

    Can you elaborate more about your query.

    it's not clear.

  • Rabin Profile Picture
    2,976 on at

    Hi Manish,

    You can code in onValidate() function of boolean...

    Each time some one clicks it , increase the Count and store... You can also use a Code value... like

    counterVar := 'C-00001;

    Incstr(counterVar);

    You can further breakdown it into Check and uncheck... if checked then IncStr(counterTrueVar) else IncStr(CounterFalseVar)...

    Hope i understand your question...

  • Verified answer
    Binesh Profile Picture
    7,887 on at

    Hello manish,

    your code is like

    IF ProdOrder."Released For Commercial" =TRUE THEN ////added by manish

    ProdOrder.VersionNo:=ProdOrder.VersionNo+1;

    Revised code:

    IF ProdOrder."Released For Commercial" = TRUE THEN BEGIN

      ProdOrder.VersionNo += 1;

      ProdOrder.Modify;

    END;

    // if you have any code in onmodify trigger and you want to run that code then you can write ProdOrder.Modify(TRUE);

    instead of ProdOrder.Modify;

  • manish.yadav Profile Picture
    1,893 on at

    Sir, I want to add the version date also...how can i set here.

    I want to show the last modified version date also.

    manish

  • Binesh Profile Picture
    7,887 on at

    Create new token with new requirement,

    what you need exactly, just put like:

  • Suggested answer
    Alexander Ermakov Profile Picture
    28,096 on at

    You can use the standard Change Log Entry for that purpose, and then analyze the changes made by certain users (msdn.microsoft.com/.../hh169208(v=nav.70).aspx).

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans