Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Answered

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 ?

Categories:
  • 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,861 Moderator 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans