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

Announcements

No record found.

News and Announcements icon
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
    IB-29041624-0 Profile Picture
    1,177 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
    233 User Group Leader on at

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

  • Suggested answer
    YUN ZHU Profile Picture
    100,465 Super User 2026 Season 1 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,278 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,072 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,129 Super User 2026 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 650 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans