Skip to main content

Notifications

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

  • Verified answer
    Ariane_25 Profile Picture
    25 on at
    RE: External Document Number in Sales Order -General Tab

    Thank you so much, everyone! You are awesome!

  • Ariane_25 Profile Picture
    25 on at
    RE: External Document Number in Sales Order -General Tab

    Thank you so very much everyone! You are awesome!

  • Suggested answer
    Suresh Kulla Profile Picture
    47,789 on at
    RE: External Document Number in Sales Order -General Tab

    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.");

  • Suggested answer
    YUN ZHU Profile Picture
    83,305 Super User 2025 Season 1 on at
    RE: External Document Number in Sales Order -General Tab

    Hi, yes this need a small customization.

    Just a simple example, hope helps.

    pastedimage1650329627526v1.png

    pastedimage1650329637951v2.png

    pastedimage1650329651009v3.png

    Thanks.

    ZHU

  • Suggested answer
    Dallefeld Profile Picture
    175 User Group Leader on at
    RE: External Document Number in Sales Order -General Tab

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

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,025 Moderator on at
    RE: External Document Number in Sales Order -General Tab

    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.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,200

#2
YUN ZHU Profile Picture

YUN ZHU 1,006 Super User 2025 Season 1

#3
Mansi Soni Profile Picture

Mansi Soni 836

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans