Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

display message when particular lookup record selected in Nav 2017.

Posted on by 200

In sales order page, if I select a lookup record(bin code) in salesline, a message should be displayed. This applies if a field is checked in the bincode page. As I am new to this please guide me in c/al coding. Thanks in advance.

*This post is locked for comments

  • Suggested answer
    Binesh Profile Picture
    Binesh 7,885 on at
    RE: display message when particular lookup record selected in Nav 2017.

    Hello,

    Design the Table 37 sales Line and go to Bin Code OnLookUp Trigger and write the below code:

    //>>Sbinesh 09.19.17

    IF NOT CONFIRM('This applies if a field is checked in the bincode page',FALSE) THEN

       EXIT;

    //<<Sbinesh 09.19.17

    See below screenshot for better understanding.

    2553.2.png

    2553.2.png

  • ManishS Profile Picture
    ManishS 6,578 on at
    RE: display message when particular lookup record selected in Nav 2017.

    message('You have selected bin %1',Record.Bin);

  • RE: display message when particular lookup record selected in Nav 2017.

    ok thanks. can u assist me in the code? because I am new to this.

  • Suggested answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: display message when particular lookup record selected in Nav 2017.

    You need to write a code on OnLookup trigger for displaying the message

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