Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Validation rule - Microsoft Dynamics NAV 2013 R1

Posted on by Microsoft Employee

I would like to set a validation rule on the requisition lines to validate the account no. field IF the TYPE field is populated.  So on the requisition, if the TYPE field is populated with G/L Account then the user must enter a valid account no. in the No. field.  IF the TYPE field on the requisition line is "blank" then the user does not need to enter an account no.  Is this possible using the Validation rule functionality?  We are using NAV 2013 R1.

*This post is locked for comments

  • Suggested answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: Validation rule - Microsoft Dynamics NAV 2013 R1

    Hi,

    This is a part of Standard Navision functionality and you can found it in Sales Order ,Purchase Order and almost everywhere.

    In Sales Line you can check field Type and No and see how it is programmed.

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Validation rule - Microsoft Dynamics NAV 2013 R1

    You already have that functionality by standard, i am not sure what validation you are mentioning. When you setup a table relation on the field and if you specify ValidateTableRelation/TestTableRelation Property to yes, which is by default true it will apply that logic.

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans