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

Per Series BOM Quantities for packaging - Best way to handle?

(5) ShareShare
ReportReport
Posted on by 65
What's the best way to handle BOM quantities for packaging the work on a per series basis?  Example - In the BOM of a part I want to account for the consumption of a pallet.  I would like the consumption of the pallet to work as follows.  For 1 to 20 parts I want to consume 1 pallet.  For 21 to 40 I want to consume 2 pallets etc.   So, if I have a production order for 25 parts then I would consume 2 pallets.  If I have a production order for 15 parts, then I would only consume 1 pallet. 
 
Thanks,
Kai
I have the same question (0)
  • Suggested answer
    Mansi Soni Profile Picture
    9,156 Super User 2026 Season 1 on at
    Hello @Kai Stankey,

    In standard Business Central, BOMs only support per-unit or fixed consumption, so they can’t directly handle tiered logic defined by you. If you want to automize this, you need a small customization that calculates pallets by rounding up the production order quantity.

    Hope this answer will help you!

    Regards,
    Mansi Soni
  • Suggested answer
    Sumit Singh Profile Picture
    11,790 Super User 2026 Season 1 on at
    Hi Kai, 
     
    Agreed with Mansi's approach as it's not achievable using Standard functionality. 
     
    Just suggesting one of the Custom approach:- 
     
    Customization Approach
    Step 1: Define the Packaging Rule
    Create a setup table or configuration where you define:
    • Item No. (finished good)
    • Packaging Item No. (e.g., pallet)
    • Units per Packaging (e.g., 20 units per pallet)
    This allows flexibility across different items.
    Step 2: Extend BOM Explosion Logic
    Modify or extend the logic that explodes the BOM during production order creation:
    • Detect if the item has a packaging rule.
    • Calculate the required quantity of packaging item:
    • PackagingQty := RoundUp(ProductionOrder.Quantity / UnitsPerPackaging, 1);
    Step 3: Inject Packaging Item into Component List
    Use an event subscriber or codeunit to:
    • Add the packaging item as a component line in the production order.
    • Set the calculated quantity.
    • Ensure it’s marked as non-backflushed if you want manual consumption.
    Step 4: Handle Posting and Consumption
    Ensure that during consumption posting, the packaging item is:
    • Properly consumed.
    • Tracked in inventory.
    • Costed correctly (if applicable).

    Note: This answer is based on my understanding, with Microsoft Copilot helping me organize and polish the wording.
    Mark the Boolean true “Does this answer your Question” if this is Helpful.

     
  • Suggested answer
    YUN ZHU Profile Picture
    100,212 Super User 2026 Season 1 on at
    Or you can create multiple Boms or Items, such as 1~20, 21~40, and then fix the quantity in each. This does not require customization, but requires users to select different Bom or item based on the actual production quantity.
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    DAnny3211 Profile Picture
    11,421 Super User 2026 Season 1 on at

    Hi Kai,

     

    To handle BOM quantities for packaging on a per series basis, like your pallet example, the best approach is to use a custom calculation logic in the production process, since standard BOM lines in Business Central don’t support conditional or tiered consumption out of the box.

     

    Here’s a recommended strategy:

     

    1. Use Routing or Production Journal Extensions: You can extend the production order posting logic to calculate packaging consumption dynamically based on the total quantity. For example, use a formula like ROUNDUP(Quantity / 20) to determine the number of pallets.


    2. Create a Custom Component Line Type: Add a packaging item (e.g., pallet) to the BOM with a placeholder quantity, and override it during production order creation or posting using your logic.


    3. Leverage Production Order Events: Use events like OnBeforeCalculateComponents or OnBeforePostConsumption to inject your custom quantity logic.


    4. Alternative: Use a Planning Worksheet or Requisition Logic: If you prefer not to modify production posting, you can calculate packaging needs separately and create consumption entries manually or via a planning tool.



    5.  
     

    This method ensures flexibility and accuracy without hardcoding fixed quantities into the BOM.

     

    Thanks and best regards,

    Daniele

    Note: This response was prepared with support from Copilot to ensure clarity and completeness.

  • Suggested answer
    Sohail Ahmed Profile Picture
    11,173 Super User 2026 Season 1 on at

    Creating multiple BOM versions or separate items to represent each packaging tier (e.g. 1–20 parts = 1 pallet, 21–40 parts = 2 pallets, etc.). Each version would have the pallet quantity fixed, and the user would select the appropriate BOM or item based on the production order quantity.

     

    ✅ Mark this answer as verified if it helps you.

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

#2
YUN ZHU Profile Picture

YUN ZHU 994 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 664 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans