Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Managing Versions of checkBox

Posted on by 1,835

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

  • Suggested answer
    Alexander Ermakov Profile Picture
    Alexander Ermakov 28,094 on at
    RE: Managing Versions of checkBox

    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).

  • Binesh Profile Picture
    Binesh 7,885 on at
    RE: Managing Versions of checkBox

    Create new token with new requirement,

    what you need exactly, just put like:

  • manish.yadav Profile Picture
    manish.yadav 1,835 on at
    RE: Managing Versions of checkBox

    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

  • Verified answer
    Binesh Profile Picture
    Binesh 7,885 on at
    RE: Managing Versions of checkBox

    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;

  • Rabin Profile Picture
    Rabin 2,976 on at
    RE: Managing Versions of checkBox

    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...

  • Binesh Profile Picture
    Binesh 7,885 on at
    RE: Managing Versions of checkBox

    Can you elaborate more about your query.

    it's not clear.

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans