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

Community site session details

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

External Doc. Number validation causing issues with deletion

(0) ShareShare
ReportReport
Posted on by 8
In the Purchase and Payables setup, we have External Doc. No. Mandatory enabled.
 
When you open a new invoice and attempt to exit out without finishing, we get an error message that the vendor invoice number needs to be populated and it won't let you exit until you populate the field. If you need to later delete that invoice, whether it was submitted for approval or not, that vendor invoice number can't be removed because you will receive the validation error message again. This means it hits the posted invoice table with that same invoice number and later cause a validation issue. 
 
So now we have the issue where when you attempt to re-enter the invoice, you have to enter in some kind of designation that classifies it as unique (-A). This is an issue for the Vendors because they are questioning why that is necessary and this is also becoming an issue as we attempt to clean up after a hectic go live. The auditors are also having an issue with this. 
 
Has anyone else experienced this?
Is there a way to cut off that validation when you are deleting an invoice? Is there a way to only have the validation triggered when submiting an invoice for approval or when posting an invoice? 
I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at
    External Doc. Number validation causing issues with deletion
    Do you have any customizations in your system?
    The behavior you describe is not standard Business Central behavior.
    The check for external document number should happen on posting / approval.
  • Verified answer
    YUN ZHU Profile Picture
    95,307 Super User 2025 Season 2 on at
    External Doc. Number validation causing issues with deletion
    Hi, I also think it's a customization issue.
    The standard will only be judged at the time of posting. You can try again after uninstalling the extension in Sandbox.
    Standard Error:
     
    Hope this helps.
    Thanks
    ZHU
  • GF-13011853-0 Profile Picture
    8 on at
    External Doc. Number validation causing issues with deletion
    There are multiple extensions that have been added, I will get our new developer to vet this issue. Thank you for your replies

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 3,377

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,696 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,512 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans