Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Regarding NAV classic client.

(0) ShareShare
ReportReport
Posted on by 475

Hi guys ,

I want to capture the error while we get from transfering the data from one form to another and also the error must get recorded in a particular table.We also want the process to continue even if the error occurs  while transmitting the data.

*This post is locked for comments

  • Suggested answer
    Dilanka H. Profile Picture
    116 on at
    RE: Regarding NAV classic client.

    Hi bharathkarunakaran,

    If that's the case the best approach is using EVALUATE() function to validate (not the standard NAV Validate function though) different type of variable data (with different datatypes). Binesh has suggested the best way to do so.

  • Suggested answer
    Alexander Ermakov Profile Picture
    28,094 on at
    RE: Regarding NAV classic client.

    This also might be helpful: dynamicsuser.net/.../passing-values-between-forms-in-nav-5-0

  • bharathkarunakaran Profile Picture
    475 on at
    RE: Regarding NAV classic client.

    Can you explain this concept still elaborately since i am a fresher i cant able to do it..

    With Regards

    bharath.k

  • bharathkarunakaran Profile Picture
    475 on at
    RE: Regarding NAV classic client.

    Hi Dilanka Hewage ,

    Thanks for your reply Its an action button in this scenario.

    thanks

  • Suggested answer
    RockwithNav Profile Picture
    6,562 on at
    RE: Regarding NAV classic client.

    Try What Binesh Suggested, It will solve your case.

  • Suggested answer
    Binesh Profile Picture
    7,885 on at
    RE: Regarding NAV classic client.

    Hello,

    After transferring statement you have to write code for evaluating the TEXT Value into Integer.

    IF NOT EVALUATE(YourTable.IntegerColumn,'122717') THEN BEGIN

        //YourTable.IntegerColumn := 0;
       //Write here code for inserting this record in error table.
    END;

  • Dilanka H. Profile Picture
    116 on at
    RE: Regarding NAV classic client.

    Hi Bharathkarunakaran,

    I need something to get clear with. What exactly do you mean by the word "transfer" here? Are you referring to an Action called "Transfer" on the NAV Classic Form? If so you may have to design it in a customized way.

    May I suggest to have a look on this and you may get an idea.

    https://community.dynamics.com/nav/w/designpatterns/243.activity-log 

    If this is not what you are referring could you please be more specific?

  • bharathkarunakaran Profile Picture
    475 on at
    RE: Regarding NAV classic client.

    I would like the form to be running  uninterrupted even if the error occurs...and also i want the error message to be stored in a separate table ..

  • bharathkarunakaran Profile Picture
    475 on at
    RE: Regarding NAV classic client.

    Screenshot-_2800_44_2900_.pngScreenshot-_2800_44_2900_.png

  • ShanAbeywicrema Profile Picture
    944 on at
    RE: Regarding NAV classic client.

    Can you please paste you code here if possible

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,869 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,733 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans