web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

External Document Number in Sales Order -General Tab

(0) ShareShare
ReportReport
Posted on by 25

HI,

Is there an easy way to display a warning if the same External Document Number is entered twice in the Sales Order General Tab for different Sales Orders? 

Currently it seems the same External Document Number can be entered multiple times without any warnings or issues.

(Also, does it track the External Document Number by Individual Customer / differentiate between customers for the Sales Order?)

I am brand new to Business Central, and we are trying to avoid having our CSRs entering the same order twice independent from each other. They are in different locations, but there is only one e-mail inbox for orders that can be accessed by everyone.

Any help/advice would be appreciated.

Thank you so much!!1

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,111 Moderator on at

    I am sorry. There is no such functionality in the standard system. It would require a small customization to cover that requirement.

    It is there for vendor invoice number but not for external document no.

    You can also submit it as an idea on experience.dynamics.com/.../ and Microsoft will review it.

  • Suggested answer
    Dallefeld Profile Picture
    211 User Group Leader on at

    Inge has answered you correctly, you will need a customization.

  • Suggested answer
    YUN ZHU Profile Picture
    95,741 Super User 2025 Season 2 on at

    Hi, yes this need a small customization.

    Just a simple example, hope helps.

    pastedimage1650329627526v1.png

    pastedimage1650329637951v2.png

    pastedimage1650329651009v3.png

    Thanks.

    ZHU

  • Suggested answer
    Suresh Kulla Profile Picture
    50,245 Super User 2025 Season 2 on at

    A small correction in the above code, you also need to apply the filter on the No. field so that it will not search for the current order

    After the Document Type filter add the below line

    SalesHeader.SetFilter("No.",'<>%1',Rec."No.");

  • Ariane_25 Profile Picture
    25 on at

    Thank you so very much everyone! You are awesome!

  • Verified answer
    Ariane_25 Profile Picture
    25 on at

    Thank you so much, everyone! You are awesome!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,066

#2
YUN ZHU Profile Picture

YUN ZHU 658 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 595

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans