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

Error when trying to certify a BOM

(2) ShareShare
ReportReport
Posted on by 454
We are getting this error we have never seen before when trying to certify a BOM and cannot figure out what it means. 
 
Does anyone know what the issue could be?

Error message: 
The maximum number of BOM levels, 50, was exceeded. The process stopped at item number , BOM header number 87387, BOM level 0.


AL call stack: 
"Calculate Low-Level Code"(CodeUnit 99000793).CalcDeeperLevel line 18 - Base Application by Microsoft
"Calculate Low-Level Code"(CodeUnit 99000793).CalcLevels line 59 - Base Application by Microsoft
"Production BOM-Check"(CodeUnit 99000769).Code line 8 - Base Application by Microsoft
"Production BOM-Check"(CodeUnit 99000769).OnRun(Trigger) line 2 - Base Application by Microsoft
"Production BOM Header"(Table 99000771)."Status - OnValidate"(Trigger) line 22 - Base Application by Microsoft
I have the same question (0)
  • Suggested answer
    Valentin Castravet Profile Picture
    32,689 Super User 2026 Season 1 on at
    The error indicates that your BOM exceeds the limit of 50 levels. Since 50 levels is unusually deep, there may be an issue with your BOM structure. I suggest reviewing your BOMs to identify any mistakes, for example, an item appearing as both a BOM and a component within the same BOM.
     
  • Brett F Profile Picture
    454 on at
    @Valentin Castravet Hi, thank you.  What are levels exactly? In this BOM that we are trying to certify, the component is the same item as the item being created. Is that not allowed?
  • Suggested answer
    Ramesh Kumar Profile Picture
    7,555 Super User 2026 Season 1 on at
    Hi,
     
    You need to review your BOM structure. Maximum BOM level allowed is 50. I hope below link can help you
     
     
    Thanks
    Ramesh
     
    If this was helpful, please check the "Does this answer your question?" box and mark it as verified.
  • Suggested answer
    Valentin Castravet Profile Picture
    32,689 Super User 2026 Season 1 on at
    Levels refer to the hierarchy of components in a BOM.
     
    For example, in the image below, the top-level or 1st level of the finished good item/BOM is the assembled bicycle. The bicycle's BOM includes two components (which is the 2nd level of the BOM): the frame (which itself is a separate BOM) and the wheel. The frame’s components, such as the hub and saddle, represent the third level of the BOM. 
      
    In your case, the system indicates that your BOM is more than 50 levels deep.
     
  • Suggested answer
    YUN ZHU Profile Picture
    100,974 Super User 2026 Season 1 on at
    Hi, hope the following helps.
     
    Thanks.
    ZHU
     
  • Suggested answer
    Jainam M. Kothari Profile Picture
    16,520 Super User 2026 Season 1 on at
    Hello,
     
    The error message "The maximum number of BOM levels, 50, was exceeded" in Business Central indicates that your Bill of Materials (BOM) structure is too deep, exceeding the system's limit of 50 levels. 
     
    This can happen if there are too many nested sub-BOMs or if there's a loop in the BOM structure where an item is referenced within its own BOM. 
     
    To resolve this, review your BOMs to identify and correct any excessive nesting or loops. Simplifying the BOM structure should help you certify it without exceeding the level limit.
  • Suggested answer
    Ben Baxter Profile Picture
    7,077 Super User 2026 Season 1 on at
    You cannot list your Finished Good in the BOM for that Finished Good.  It creates a circular loop and creates infinite levels to the BOM, which is why you hit the cap of 50.
     
    If you have a rework style order, you need to create the Production Order first, then add the Finished Good as a component on the Production Order.  You cannot do this from the BOM as it breaks the certification rules.
     
    Best Regards,
    Ben Baxter
    Accent Software Inc
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    22,424 Super User 2026 Season 1 on at
  • Vahid Ghafarpour Profile Picture
    12,262 on at
    If any of the responses helped resolve your issue, please take a moment to mark the best answer. This helps others in the community quickly find solutions to similar problems.

    To do this, simply click the "Does this answer your question?" button on the most helpful response and like the helpful posts. If your issue is still unresolved, feel free to provide more details so the community can assist further!

    Thanks for being an active part of the Dynamics 365 Community! 😊

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,086 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,290 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,218

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans