Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

External Doc No

Posted on by 467

In sales Order i have the external Doc No as mandatory field , but the customer need this filed not to be mandatory 

how i make the filed not mandatory ?

*This post is locked for comments

  • Bodhi Profile Picture
    Bodhi 554 on at
    RE: External Doc No

    make sure when to check  Requested Delivery Date, write code like TESTFIELD(Requested Delivery Date)

  • Suggested answer
    azelaya59 Profile Picture
    azelaya59 2,807 on at
    RE: External Doc No

    Samer

    This is true. If you need the actual validation, then do what Teddy H notes above.

  • Suggested answer
    TeddyH Profile Picture
    TeddyH 12,868 Super User 2024 Season 1 on at
    RE: External Doc No

    The ShowMandatory property only mark the field on the page with a red asterisk and does not enforce any validation.

    You still need to do dev to force the user to fill it in.

  • Suggested answer
    azelaya59 Profile Picture
    azelaya59 2,807 on at
    RE: External Doc No

    Samer

    Go to the Development client and change the attributes on the field:

    2019_2D00_03_2D00_28_5F00_1438_5F00_001.png

    Find the object

    2019_2D00_03_2D00_28_5F00_1438_5F00_001.png

    Identify the field

    2019_2D00_03_2D00_28_5F00_1437.png

    Change the "ShowMandatory" attribute to YES.

    Compile............

  • Samer Baskhayroun Profile Picture
    Samer Baskhayroun 467 on at
    RE: External Doc No

    thanks a lot , that solve the issue

    One more question how can i make the Requested Delivery Date Mandatory ?

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: External Doc No

    Samer Baskhayroun, if you go to "Sales & Receivable Setup", you can choose to make ext. doc. mandatory or not by checking/unchecking the box.  It is on the first, "General", FastTab, most likely mid-box on the left.  Hope this helps.

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans