Skip to main content

Executing Builds

Executing a build is the moment production happens in Partsemble. Components are consumed, the finished good is produced, costs are calculated, and everything is recorded. This article covers what happens during execution and what to expect.

The Execution Flow​

A quick build, run from the Build dialog, goes through all four steps below. A planned build has no preview step: Execute runs it at once (see Executing a Planned Build). Validation, execution and what happens after are the same for both.

1. Preview​

The Build dialog's preview for 2 × Porch & Floor Enamel, Harbor Grey, 1 gal in Larkspur Coatings Co.: each component with per-unit, consume, unit cost, line cost and stock after, Harbor Grey Tint Blend marked Nested BOM, Pour Spout Insert and Anti-Slip Grit Additive greyed out as not included, the Labor & Overhead lines, and ← Back, Save as Planned and the orange Confirm Build at the foot

Before anything changes, the Build dialog shows you a preview of the build:

  • Each component that will be consumed, with the quantity and current unit cost
  • Optional components, greyed out when they're left out of the build (the Build dialog adds (not included) beside the name)
  • Cost lines from the BOM (labor, overhead, etc.)
  • The total build cost
  • The resulting unit cost of the finished good

Review this carefully. The preview reflects current stock and prices. A component that has its own BOM is marked Nested BOM. In the Build dialog, Confirm Build runs the build, Save as Planned puts it in the queue instead, and ← Back returns to the quantity.

2. Validation​

Partsemble checks several things before allowing execution:

  • BOM is active — the BOM must be in Active status. Archived or draft BOMs can't be used for builds.
  • Sufficient component stock — every component in the build must have enough stock on hand to cover the build quantity: each required component, and each optional component someone has included. Optional components are left out of a build unless someone includes them on a planned build's page; one that is left out isn't checked. A quick build always leaves them out.
  • Build limit — your plan's monthly build limit is checked. If you've reached your limit, you'll see an upgrade prompt.
  • Assignment requirement — if build assignment is enabled (Pro plan and above) and this is a planned build, it must be assigned to a team member.

3. Execution​

When you confirm, Partsemble executes the build in a single atomic transaction:

Component consumption — stock on hand decreases for each component. If lot tracking is enabled (Advanced plan), specific lots are consumed using FIFO order.

Finished good production — stock on hand increases for the output product, and its unit cost is recalculated using weighted average costing. If QA review is enabled, this step is deferred until the build is approved.

Cost recording — the total cost is captured as the sum of all consumed component costs plus cost lines. Each component's cost is locked in at the current weighted average price at execution time.

Stock transactions — an immutable ledger entry is created for every inventory movement (one per consumed component, one for the produced finished good).

If anything fails, the entire transaction is rolled back. Your inventory stays exactly as it was.

4. Post-execution​

The Build dialog's Build Complete step in Larkspur Coatings Co.: "Build complete! Produced 2 × Porch & Floor Enamel, Harbor Grey, 1 gal" and "Total cost: $90.26 · 4 components consumed", with Close, Build More and the orange View Build Details

In the Build dialog, the last step, Build Complete, says what was produced, the total cost and how many components were consumed: for the two gallons previewed above, "Produced 2 × Porch & Floor Enamel, Harbor Grey, 1 gal" and "Total cost: $90.26 · 4 components consumed". View Build Details opens the build's page, Build More starts the dialog again for the same BOM, and Close returns you to the page you were on.

After execution:

  • If QA review is enabled, the build enters Executed — Pending QA status and waits for approval
  • If QA review is not enabled, the build moves to Pending Export and is ready for accounting export
  • If auto-export is configured, the export happens immediately
  • Build point checks run — if any component's stock dropped below a build point, Partsemble may create auto-generated planned builds

Executing a Planned Build​

A planned build runs as soon as you click Execute on its row in the Build Queue, or Execute Now on its own page. There is no preview or confirmation step, so check the build first: its page lists the planned build lines (which may have been edited from BOM defaults) with each line's stock, and Stock Status reads Ready to build or Insufficient stock, with the shortages listed under it.

Partsemble checks component stock again when the build runs. Execute and Execute Now are greyed out while stock is short or, with build assignment on, while the build has no assignee, and if stock ran out in the meantime, the build doesn't run and a message names the short components. For example, Larkspur's planned build of 10 × Barn Red Oil Stain, 1 gal shows Insufficient stock with "Tint Paste, Oxide Red: need 1,600, have 90", and its Execute is greyed out until the tint paste is restocked.

Lot Tracking During Builds​

On the Advanced plan with lot tracking enabled, Partsemble consumes component lots using FIFO (first in, first out). The oldest lots are consumed first. Each lot consumption is tracked individually, so you have full traceability from finished good back to the specific incoming lots that went into it.

If a planned build has pre-assigned lot allocations (set during planning), those assignments are used at execution time.

What If a Build Fails?​

If validation fails (insufficient stock, BOM archived, etc.), Partsemble shows an error message explaining the issue. Nothing is consumed. Fix the issue and try again.

Common reasons for failure:

  • A component ran out of stock between preview and execution (another build consumed it)
  • The BOM was archived or a new version was created
  • You've reached your plan's monthly build limit