A bundle is a sellable kit: a product variant made up of other variants, called parts. It holds no stock of its own; Qoblex works out how many bundles you have at each location from its parts. A part can itself be a bundle, so you can build kits out of smaller kits.
This article shows you how to create a bundle, how Qoblex calculates its stock and cost, how bundles inside bundles work, the rules checked when you save, and how to dismantle a bundle. A bundle cannot be manufactured; an item you produce or disassemble must be a Bill of Material.
Before you start
- Create the part products and their variants first, so you can search for them when you build the bundle.
- Save the product before you add a bundle to it.
- On a product with variants, add at least one option before you choose Add Bundle. Otherwise Qoblex shows Please add at least one option before adding a bundle variation.
- If the product has variants, decide the option values (size, colour, and so on) for the bundle variant. Qoblex requires every option value to be filled in.
- The variant you convert must use Standard inventory tracking.
- The variant you convert must have no stock in any location. Bring it to zero everywhere first.
Create (or edit) a bundle
Where you start depends on whether the product has variants:
| Product | How to open the bundle editor |
|---|---|
| A product with a single variant | In the Bundles (Kits) section, choose Convert to Bundle. |
| A product with variants, adding a new bundle variant | In the variants toolbar, choose Add Bundle. |
| A product with variants, converting an existing variant | Tick the checkbox of exactly one variant, open Actions, and choose Convert to bundle. |
The bundle editor opens on the Settings tab, showing the note This is a bundle product. Then:
- Under Add product variations which will be part of this bundle, choose Add line to create a part line.
- Type the part’s product name or SKU into the Enter product name or SKU box and pick the matching variant from the suggestions. Bundles appear in the suggestions too; see Bundles inside bundles.
- Enter the amount needed in the Quantity in Bundle column. Each new line starts at 1.
- Repeat for every part. Each line shows the part’s SKU, In stock, Allocated, Incoming, and Cost.
- If the product has variants, fill in every option value at the top of the Settings tab.
- Choose Save & Close.
To edit a bundle later, choose Edit Bundle on a single-variant product, or open the bundle’s row in the variants list. A part can be a plain variant, another bundle, or a Bill of Material. A Bill of Material inside a bundle is treated like any stocked item: Qoblex uses its available stock.
How Qoblex works out a bundle’s stock, cost and weight
On the Inventory tab, the heading reads Bundle stock levels are defined by the availability of the bundle parts at each location, and you cannot type a stock level. A warning icon marks any location whose In stock is 0 (In stock includes stock already allocated), with the tooltip One or more bundle parts isn’t available in this location.
For each location, Qoblex takes each part’s available stock and divides it by the Quantity in Bundle. The lowest result is the number of bundles available there. For a bundle counted in Each, Qoblex rounds down to whole bundles.
- A part that does not track inventory counts as unlimited, and its stock columns show N/A.
- A bundle tracks inventory when at least one of its parts does.
- A bundle can oversell only when all of its parts are allowed to oversell.
Qoblex recalculates a bundle whenever a part’s stock changes or its parts are edited.
A bundle’s moving average cost is the sum of each part’s moving average cost times its quantity in the bundle. Its weight is worked out the same way from the parts’ weights.
Only the parts are recorded in your inventory ledger. When you ship a bundle, its cost of goods sold is the cost of the parts shipped.
Bundles inside bundles
To put one bundle inside another, pick it on a part line like any other variant. For example, a Gift Box can contain 2 × Mug Kit plus 1 × Tea Tin, where the Mug Kit is itself a bundle of 1 mug and 2 coasters.
How deep bundles can go
Qoblex counts levels from the topmost bundle down to its deepest part. In the example above, Gift Box → Mug Kit → mug is two levels. A recipe can go at most 10 levels deep. Bill of Material levels count too, when a Bill of Material sits inside a bundle.
Qoblex also refuses a loop: a bundle cannot contain itself, directly or through any bundle inside it. If Kit A contains Kit B, Kit B cannot contain Kit A. Both rules are checked when you choose Save & Close; see the messages below.
How stock is worked out
Qoblex works out every level from the parts beneath it. Say one location has 10 mugs, 30 coasters and 6 tea tins available:
| Bundle | Calculation | Available |
|---|---|---|
| Mug Kit (1 mug + 2 coasters) | lowest of 10 ÷ 1 and 30 ÷ 2 | 10 |
| Gift Box (2 Mug Kits + 1 Tea Tin, so 2 mugs, 4 coasters and 1 tea tin) | lowest of 10 ÷ 2, 30 ÷ 4 and 6 ÷ 1 | 5 |
Both bundles draw on the same mugs and coasters. Selling a Gift Box uses 2 mugs and 4 coasters, so the Mug Kit’s availability drops too. When a part’s stock changes, Qoblex recalculates every bundle above it.
How cost is worked out
Cost rolls up the same way, from the bottom. In the example, the Mug Kit’s moving average cost is the mug’s cost plus twice the coaster’s cost. The Gift Box’s cost is twice the Mug Kit’s cost plus the tea tin’s cost. When a part’s cost changes, every bundle above it is updated.
Rules Qoblex enforces before saving
When you choose Save & Close, Qoblex checks the bundle and lists any problem in a red pane at the bottom of the editor. The editor stays open and nothing is saved until every message is resolved.
| Message | What to do |
|---|---|
| A bundle must have at least one bundle part | Add at least one part line. |
| Line N : empty. Please remove this line or enter a product name | Pick a part on that line, or delete the line. |
| Line N : unknown product name. Please remove this line or enter a product name | The typed name did not match a product. Pick a variant from the suggestions. |
| Line N : quantity undefined. Please remove this line or enter a valid quantity | Enter a quantity that is a number and not zero. |
| Please enter a valid value for [option] | Fill in that option value for the bundle variant. |
| Variant: [option values] already exists | Another variant of the product already uses those option values. Change them. |
| A bundle must be set to ‘Standard’ inventory tracking. Only bundle parts can be batch tracked. | Bundles must use Standard tracking; only the parts can be batch or serial tracked. |
Some rules can only be checked once the editor sends the bundle to Qoblex. These messages appear in the same red pane:
| Message | What to do |
|---|---|
| Circular variant components are not allowed. | A part leads back to this bundle, or a line picks the bundle itself. Remove that line. |
| Variant components cannot be nested more than 10 levels deep. | The recipe, counted from the topmost bundle down, would go past 10 levels. Use a shallower bundle as the part. |
| Cannot change this variant to a bundle. Make sure to reset stock level to zero in all locations then convert it to bundle. | Bring the variant’s stock to zero in every location, then convert it. |
Changing a bundle that is on open sales orders
You can change a bundle’s parts while sale orders have it allocated. After you save, Qoblex refreshes the allocations of those orders in the background, using the new recipe. This also covers orders that hold a bundle containing the one you changed.
When a bundle is locked from editing
When you open a bundle, Qoblex checks where it is used. The part lines, Add line, and Dismantle are locked only when the bundle is on an approved purchase order that is not yet closed. You cannot add a bundle to a purchase order, so this applies only to a purchase order that already lists the bundle.
While the bundle is locked, a warning pane at the top of the editor reads This bundle cannot be deleted or dismantled as it is being used in: and lists the documents that use it under Sale Orders:, Purchase Orders:, Production Orders: and Bundles:, with a link to each.
A bundle that is only allocated on sale orders, or only used inside another bundle, is not locked. You can still edit its parts and dismantle it, but you cannot delete the variant. Qoblex refuses with Delete operation not allowed and lists where it is used.
Dismantle a bundle
Use Dismantle to turn a bundle back into an ordinary variant.
- Open the bundle in its editor.
- Choose Dismantle.
- Confirm at the prompt (Are you sure you want to dismantle this bundle?).
Qoblex then removes every part line, clears the bundle status, sets the variant’s stock to zero in every location, saves, and closes the editor.
If the dismantled item sits inside other bundles, those bundles count it as an ordinary part. They show no availability from it once Qoblex next recalculates them, for example when another part’s stock changes.
Other tabs in the editor
The bundle editor shares its tabs with the variant editor. Use them the same way, subject to the rules above.
- Inventory: a bundle’s stock per location is calculated from its parts, not entered. Qoblex resets the Inventory tracking policy from the parts each time the bundle is saved, so your choice there does not stick. Continue selling when out of stock takes effect only when every part also allows overselling.
- Images: pick a variant image from the product’s images.
- Price Lists: set or remove the variant’s price on each price list.
- View History: saves the current changes and opens the variant’s transaction history.