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...
Suggested Answer

External Document Number Changing from Sale Order to Invoice

(0) ShareShare
ReportReport
Posted on by 86

Hi All,

I realise this is a bit of an open ended question but I've been struggling with this issue for a while now so thought I'd put it to the community for some advice.

We have an ecommerce platform which inserts sales orders into Business Central and populates the External Document Number. I have a copy of what was inserted at the time the sales order was created. It appears that at the invoicing step the external document number changes to a previously used external document number by that customer, I cannot confirm 100% that it's at the invoice step but I fixed a number of them and the next day they had reverted back and the only thing that happened was that they were invoiced. I can compare the external document number that was inserted versus what is on the sales order and accompanying invoice and in many situations they are different, it appears that this has been happening to sales orders/invoices since the early days of our Business Central Instance.

Our Microsoft partner assures me that this field is not referenced in any of our customisations. How would I go about finding the issue? Are there any logs in BC that can be searched to see what is happening to a sales order/invoice as it is acted on? Or is this perhaps a known bug in Business Central (I would find this hard to believe)?

Any advice would be helpful.

Cheers,

Gareth

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    Are you able to reproduce this issue in standard Business Central when not using the eCommerce Platform but using for example Postman to insert sales orders, etc.

    The partner could opt to debug the scenario and see what is causing this issue to occur.

    Thank you.

  • Suggested answer
    DAnny3211 Profile Picture
    11,397 on at

    hi

    look this

    learn.microsoft.com/.../purchasing-ext-doc-no

    DAniele

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,126

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 744 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 674 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans