Skip to main content

Why No. Series Break After Upgrading to Business Central 27 (And How to Fix It)

Hi All,

During this weekend we did multiple customers upgrade to Business Central 27 Cloud customers.

They did basic testing and expected upgrade to go smoother, but an unexpected issue was found after upgrade to Business Central 27.

Impact:

  • Business Central On-Prem
  • Business Central SaaS
In this article we will discuss, how to solve it before Microsoft fix the code for the upgraded environments.
Business Central 27 enforces No. Series validation during insert, causing errors where BC 26 allowed missing setup.

Introduction

Upgrades are supposed to improve stability—not break working systems.

Yet many teams upgrading from Business Central 26 to 27 suddenly face No. Series errors on master 

records that previously worked fine.

This is not accidental. It’s a behavioral change with real upgrade consequences.

Why Do No. Series Fail After Upgrade?

What Changed in BC 27?

Business Central 27 validates No. Series earlier and more strictly.
Implicit numbering paths that existed in BC 26 no longer pass validation.

Why BC 26 Did Not Fail

  • Deferred validation

  • Implicit assignment

  • Lenient insert logic


Which Records Are Affected?

  • Master entities without explicit No. Series

  • Custom tables relying on default behavior

  • Legacy extensions written against older assumptions


Step-by-Step Fix

  1. Audit all master entities

  2. Validate setup tables

  3. Refactor insert logic

  4. Enforce No. Series assignment before insert

  5. Retest upgrade scenarios




Code Changed Done by Microsoft

BC 26 Code

if NoSeriesCode <> '' then
                TestManualInternal(NoSeriesCode, StrSubstNo(CannotAssignManuallyErr, NoSeries.FieldCaption("Manual Nos."), NoSeries.TableCaption(), NoSeries.Code));

BC 27 Code

TestManualInternal(NoSeriesCode, StrSubstNo(CannotAssignManuallyErr, NoSeries.FieldCaption("Manual Nos."), NoSeries.TableCaption(), NoSeries.Code));


How to Fix with Setup 

  • Navigate to Setup.
  • Create a new series and assign to setup.
  • Make sure New Series have only Manual No Enabled (other details keep standard)

Common Mistakes

  • Blaming users instead of setup

  • Patching with hardcoded values

  • Ignoring extension insert triggers

  • Skipping regression testing


When NOT to Apply This Fix

  • Manual numbering designs

  • External numbering integrations

  • Tables intentionally without No. Series


FAQ

Is this expected behavior?
Yes, but the upgrade impact was poorly communicated.

Should Microsoft have handled this better?
Yes—backward compatibility should have been managed.

What is the error message? The No. Series does not exist. Identification fields and values: Code=''.

What is AL Call Stack for error message?

  • "No. Series - Impl."(CodeUnit 304).TestManualInternal
  • "No. Series - Impl."(CodeUnit 304).TestManual
  • "No. Series"(CodeUnit 310).TestManual
  • Item (Table 27)."No. - OnValidate"(Trigger)

Conclusion

Business Central 27 improves data integrity—but at the cost of upgrade surprises.
Fix the setup, fix the code, and never assume old behavior survives new versions.




Regards,
Saurav Dhyani

Comments

Popular posts from this blog

Dynamics NAV - All that you need to know about MenuSuites.

Hi Readers, This article is based on a request from a blog reader who wanted to understand about MenuSuite in Dynamics NAV. If you have started working with Business central with AL Code then it does not apply to those releases but if you are interested go ahead. Let's start with Future - In Latest and greatest version of product MenuSuite are obsolete and no longer used. So this article applies if you want to learn about C/AL MenuSuite.

How to Set Up NavUserPassword Authentication in Business Central.

Hi Readers, In this article we will discuss steps to Setup NAVUserPassword in Business Central on-prem. NavUserPassword is an authentication method that's handled by Business Central Server, but isn't based on Windows users or Active Directory. Each user is set up with a username and password that's configured inside Business Central only. The user is prompted for username/password credentials when they start the client. #msdyn365bc, #credentialtype

Microsoft Dynamics NAV 2016 - How to Configure Phone Client.

Hi All, In this article we will discuss how we can connect Microsoft Dynamics NAV 2016 with New Client Launched i.e. Phone Client. This Article Contain Steps for a Android Phone as I have Only Android Phone. I am doing it having all tiers on my windows 8 machine, steps remain same for multiple servers but issues might be different. What we Need (Other what we discuss in this article) -  The Service Tier should be on Public IP . Some of the Data-card does not Provide you Public IP. check it for sure.