Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Error

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Everyone,

i need help on this error i don't know what am missing. see below snapshot of error

6013.snapshot.PNG

*This post is locked for comments

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 60,054 Super User 2024 Season 2 on at
    RE: Error

    You need to write it under OnAction trigger of Action

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error

    yes I want it to change the status when onClick.  Yes it is written on validate Trigger

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 60,054 Super User 2024 Season 2 on at
    RE: Error

    So you want to change the status when you click on that actions?

    but it seems you have written above code in Status-Onvalidate trigger?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error

    The shortlist is Ribbon button that is linked to the recruitment page

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error

    the recruitment is not a  variable i added it for you to understand that is the recruitment status am trying to change

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 60,054 Super User 2024 Season 2 on at
    RE: Error

    Where is recruitment.Modify statement?

    if you are in same table then why did you tool recruitment as a variable?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error

    Below are the recent codes, the source table is Recruitment

    IF Shortlist."Current Status" = Shortlist."Current Status" :: Shortlisted THEN BEGIN

    //EXIT(TRUE);

               Recruitment.Status := Recruitment.Status :: Shortlisted;

           //CurrPage.SAVERECORD;

           MESSAGE('%',Status);

              CurrPage.UPDATE(FALSE);

           END ;

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 60,054 Super User 2024 Season 2 on at
    RE: Error

    Can you show us the latest code?

    you are in which page and what is the source table of the page?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error

    i did that Mohana but that didn't change the status

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 60,054 Super User 2024 Season 2 on at
    RE: Error

    it seems you are updating recruitment record variable so please use recruitment.Modify above message code.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans