Blog PlantSuite | MES and industrial IoT on the shop floor

Theoretical Write-Off (Backflushing) vs. Actual Consumption in MES

Written by PlantSuite | Dec 2, 2026, 1:24:41 PM

In the monthly accounting close of many pharmaceutical, biotechnology, and chemical companies, material reconciliation appears to operate with mathematical precision: if the Production Order closed with 1,000 kg of finished goods, the ERP system automatically performs a theoretical write-off (backflushing) based on the standard Bill of Materials (BOM)—deducting exactly 150 kg of active ingredient A, 50 kg of excipient B, and 800 kg of solvent C.

In Level 4 financial reports, the standard cost of the batch closes without a hitch.

However, when the controller’s office and logistics conduct the rotating physical inventory or the quarterly warehouse inventory, a recurring issue arises: severe discrepancies between physical and book balances, manual inventory adjustments, and unexplained losses of material yield.

This discrepancy is not the result of recording errors at the warehouse entrance or internal theft. It is the structural consequence of applying an accounting method designed for mechanical assembly lines (where each assembled car consumes exactly four wheels) to an environment governed by thermodynamics, chemistry, and fluid dynamics.

In process manufacturing, what the theoretical recipe predicts rarely corresponds to what the reactor actually consumes.

1. Why Backflushing Fails in the Physics of Process Industries

The BOM’s automatic write-down mechanism assumes that industrial transformation is linear and free of variable losses. In the day-to-day operations of a chemical, cosmetics, or biopharmaceutical plant, three physical phenomena invalidate this premise with every batch:

1. Dynamic compensation for content and moisture (Potency Adjustment)

Biological raw materials and pharmaceutical active ingredients undergo natural variations in potency and moisture content from batch to batch. If the theoretical formula calls for 10.00 kg of pure active ingredient, but the batch available in inventory has an analytical content of 96.5%, the operator must weigh and dispense 10.36 kg to achieve the specified concentration. If the ERP system only writes off the 10.00 kg specified in the standard BOM, 360 grams of an extremely valuable raw material disappear from the physical inventory without an accounting entry.

2. Transfer, scaling, and evaporation losses

During the transfer of viscous fluids between mixing tanks, piping lines, and sterilizing filters, part of the mass is retained on the vessel walls (operationalheel ) or in the filter housings. In exothermic reactions or drying stages, solvents suffer variable losses due to evaporation depending on ambient temperature and condenser efficiency. The theoretical yield ignores these yield fluctuations and assumes that 100% of the initial mass has become packaged product.

3. Additional consumption for ongoing specification correction

When in-process control detects that the mixture’s pH or viscosity is slightly outside the target range, engineering or operations makes corrective additions of acids, bases, or diluents to bring the batch into spec. Since these extra additions are not part of the static recipe recorded in the ERP, the material is withdrawn from intermediate inventory and consumed without a formal link to the production order.

2. The Impact on Controllership: The Hidden Cost of “Phantom Inventory”

Operating with a chronic discrepancy between system inventory and actual warehouse stock paralyzes the company’s financial and logistical efficiency:

  • Unexpected stockouts: The ERP’s MRP indicates there is a sufficient balance of a critical excipient to run the following week’s production run. When it comes time to pick the material, the warehouse clerk discovers that the drums are empty because actual consumption from previous orders was higher than the theoretical amount. The production line stops due to a lack of raw materials.
  • Distortion in the actual margin per SKU: Since process losses are posted quarterly as a “general inventory adjustment” in the factory’s cost center, management cannot see which specific products are consuming more raw materials than budgeted. Loss-making products continue to be sold at a fictitious margin.
  • Regulatory and traceability liabilities: In industries regulated by ANVISA or the FDA, not knowing exactly what fraction of each raw material batch went into which production batch—or being unable to account for the destination of partial weighing leftovers—compromises batch traceability during health inspections.

3. From Presumed Write-Off to Actual Recording: The MES (ISA-95) Architecture

Eliminating the accounting fiction of backflushing requires connecting physical operations on the shop floor to business accounting. This is the role of the MES (Manufacturing Execution System) layer, which acts as a bidirectional bridge in the ISA-95 standard between field equipment and the ERP.

Instead of assuming consumption at the end of the order, the MES captures the actual mass movement the moment it occurs:

1. Accurate recording of in-line weighing and dosing

Every withdrawal of raw material in the batching room (via integrated scales) and every automated transfer to the reactor (via Coriolis mass flow meters or load cells on the tanks) is recorded by the MES against the active Production Order number. The system records the gross weight, the container’s tare weight, and the actual net weight transferred, including content adjustments.

2. Tracking of partial returns and campaign leftovers

When a 25-kg drum or bag is opened to weigh 18 kg, the remaining 7 kg are neither lost nor written off entirely as scrap. MES generates a new serialized label for the residual balance, updates the container’s logistics location, and returns the exact balance available for use in future orders.

3. Accounting segregation of losses, samples, and purges

Samples taken for the Quality Control laboratory, losses from initial line purges, and residues retained in filters are recorded as specific events within the order in the MES. This allows engineering to distinguish between productive consumption incorporated into the product and operational process losses.

4. Consolidation and submission of actual consumption to the ERP

Upon completion of the batch, the MES transmits the actual list of materials consumed to the ERP, batch by batch, gram by gram. The inventory write-off in the corporate system accurately reflects what left the warehouse, ensuring that the actual cost of the order (actual cost) feeds into the income statement without the need for adjustment allocations at the end of the quarter.

4. Operational Comparison: Theoretical Write-Off (ERP) vs. Actual Consumption (MES)

Replacing automatic deductions with real-time tracking transforms the factory’s materials and cost management:

  • Calculation Basis for Write-Off:
    • Theoretical Write-Off (Backflushing): Static Bill of Materials (BOM) multiplied by the volume produced.
    • Actual Consumption via MES: Actual weight measured by in-line meters and validated by batch.
  • Handling of Composition Variations and Adjustments:
    • Theoretical Write-Off (Backflushing): Ignored by the system; these generate silent physical balance gaps.
    • Actual Consumption via MES: Calculated dynamically during weighing and allocated directly to the order.
  • Inventory Accuracy:
    • Theoretical Write-Off (Backflushing): Gradual deterioration over the course of the month, requiring inventory counts and accounting adjustments.
    • Actual Consumption via MES: Continuous synchronization between physical and system inventory in real time.
  • Yield Visibility:
    • Theoretical Write-Off (Backflushing): Hides losses due to transfer, evaporation, and reactor scaling.
    • Actual Consumption via MES: Reveals actual yield per batch, shift, and piece of equipment, enabling engineering action.

Conclusion: Industrial accounting must reflect the physics of the reactor

Accepting that the plant’s inventory only balances through periodic accounting adjustments means relinquishing financial control over the operation. In process industries, where raw materials account for the largest share of the cost of goods sold and chemical variability is part of the routine, theoretical write-offs based on static recipes create a smokescreen over the plant’s actual profitability.

By integrating the MES layer with weighing and process automation instruments, the industry eliminates phantom inventory, protects procurement planning against unexpected shortages, and provides the controller’s office with the financial reality of each batch produced.

Eliminate inventory distortions and accurately track actual consumption with PlantSuite

Does your plant still rely on theoretical write-offs in the ERP and suffer from recurring discrepancies between book inventory and the physical balance in the warehouse?

The PlantSuite MES platform integrates the shop floor with your ERP in accordance with the ISA-95 standard through the Weighing & Dispensing, Material Management, and Production Tracking modules. Capture actual consumption gram by gram, manage partial returns with full traceability, and ensure that the cost of each order accurately reflects what happened in the process.

👉 Talk to the experts at PlantSuite and find out how to improve inventory accuracy and cost control in your operation.