Lot Consumption in Sales
When a sale is recorded, Partsemble consumes finished good lots using FIFO — the same method used when builds consume component lots. This connects your sales directly to the specific production batches that fulfilled them, giving you accurate cost-of-goods-sold figures and full traceability from sale back to production.

To see a line's lots, open the sale from Sales → Sales History and click the line, or tab to its product name and press Enter. The line opens on Lot Consumptions: each lot's number, the quantity taken from it and its unit cost. Click a lot number to open that lot.
How FIFO Consumption Works in Sales
For each line item on a sale, Partsemble looks at the finished good's available lots in order from oldest to newest (by receipt or build date) and consumes quantity until the sale line is fulfilled.
Example: Suppose Porch & Floor Enamel, Harbor Grey, 1 gal has three build lots, named LOT-A to LOT-C here for illustration, and you sell 6 cans:
| Lot | Available Qty | Unit Cost |
|---|---|---|
| LOT-A | 3 | $44.00 |
| LOT-B | 5 | $46.00 |
| LOT-C | 4 | $47.00 |
Partsemble consumes all 3 from LOT-A ($44.00 each), then 3 from LOT-B ($46.00 each), totaling 6 units. LOT-B keeps 2, and LOT-C is untouched.
The cost for this sale line is (3 × $44.00) + (3 × $46.00) = $132.00 + $138.00 = $270.00, giving a unit cost of $45.00 per can.
What Gets Created
Each lot consumed by a sale line produces a lot consumption record that tracks the lot, quantity consumed, and cost per unit. These records drive the sale's cost calculations and are also used to reverse consumption if the sale is later voided.
A Sale stock transaction is created for each sale line, appearing on the product's Transactions tab.
Lot Statuses After Consumption
When a lot's available quantity reaches zero, it's considered fully consumed. Lots with remaining quantity stay active and available for future sales or other consumption. Partially consumed lots show their reduced available quantity across the system.
Traceability
The lot consumption records create a direct link between a sale and the production lots that fulfilled it. From any sale, you can see which lots were consumed. From any lot, its Sales tab shows which sales consumed it. This forward and backward traceability is useful for quality investigations — if a customer reports an issue, you can trace the sale back to the exact production batches involved.
When Stock Is Insufficient
If there aren't enough lots to fulfill a sale line, Partsemble doesn't block the sale. Instead, it consumes whatever lots are available and flags the shortfall as a stock shortage. The shortage quantity is costed at the product's weighted average cost rather than a specific lot cost. See Stock Shortages for details.
When a line has no lot records at all, opening it shows one sentence in place of the table: No lots available for this product. Cost was calculated using the product’s average unit cost. when the line hit a stock shortage, or No lot consumption records for this line. when it didn't, as on a voided sale. A line that was partly covered by lots shows its lots and, under them, Partial stock shortage — some quantity was costed using the product's average cost because no lots were available.
Manual Sales and Synced Sales
Both manual sales and synced sales use the same FIFO lot consumption process. There's no difference in how lots are consumed — the only difference is how the sale entered Partsemble.