24 August 2026
Drone Stocktaking: Automating Volumetric Data into Sage ERP
This guide details how South African industrial firms can bridge the gap between drone photogrammetry and Sage ERP to automate bulk inventory management and eliminate manual data entry errors.
For any industrial operation managing bulk commodities in South Africa, from the coal terminals of Richards Bay to the manganese pits of the Northern Cape, the traditional stock take is a persistent headache. Usually, this involves a surveyor walking a dangerous, shifting stockpile with a handheld GPS rover or a total station, taking a series of points to estimate the volume. This process is inherently slow, risky, and prone to human error, often taking days to produce a result that is already out of date by the time it reaches the head office. In a high-stakes environment where inventory levels directly impact financial reporting and tax obligations to SARS, relying on manual calculations for multi-million-rand assets is no longer a viable strategy for modern operations leads. The objective is to move from manual estimation to a continuous, automated pipeline that links physical reality to your financial records in real-time.
Drone photogrammetry has emerged as the primary solution for capturing large-scale volumetric data, but the hardware is only half of the equation. To truly automate the stock take, a drone must fly a pre-programmed grid over the site, capturing high-resolution images with high overlap. These images are then processed into a three-dimensional point cloud or a digital twin of the stockpile. Through a process called ortho-rectification and the use of Ground Control Points (GCPs) or RTK-enabled drones, the software calculates the volume of each pile by comparing the current surface mesh against a baseline digital terrain model of the empty yard. This provides a precise cubic-meter measurement that is far more accurate than manual surveying. However, for most South African businesses, the data stops there, trapped in a PDF report or an isolated surveying software package that has no way of talking to the finance department.
This gap between the technical surveying data and the Sage ERP system is where most bulk commodity businesses lose their efficiency. When a surveyor delivers a spreadsheet of volumes, an inventory clerk must manually translate those cubic meters into tonnes using a density factor, and then manually input those figures into Sage as a stock adjustment. This manual step is the primary point of failure. It introduces transcription errors and delays, often meaning that the ERP's stock-on-hand never reflects the actual physical inventory accurately. To solve this, WriteNow Agency focuses on building custom middleware that acts as a bridge. This integration layer automatically pulls volumetric data from the photogrammetry platform, applies the necessary density calibrations based on moisture content and compaction rates, and prepares the data for ingestion into the Sage environment.
Integrating this data into Sage ERP requires a sophisticated understanding of the Sage 300 or Sage X3 API. The custom software must be designed to map the physical stockpile IDs to the corresponding inventory item numbers within Sage. When a drone survey is completed and the volumes are verified, the middleware initiates a Stock Adjustment transaction. This is not just a simple data push; it involves logic that checks the current ledger balance, calculates the variance between the ERP and the physical drone data, and posts a journal entry that updates the inventory levels while simultaneously logging the reason code for the adjustment. This creates a transparent audit trail that is invaluable for year-end audits, as every change in stock value is backed by a timestamped 3D model and a set of raw flight data.
One of the most critical variables in this automation pipeline is the conversion of volume to mass. In bulk commodity management, a cubic meter of iron ore or coal does not have a fixed weight; it fluctuates based on how tightly the material is packed and its current moisture levels. A robust integration must therefore allow for dynamic density factors. We design our systems to allow operations leads to input current moisture data or laboratory results into the middleware before the Sage update is triggered. This ensures that the financial valuation of the inventory is as accurate as possible, preventing the massive end-of-quarter write-downs that often plague the mining and agricultural sectors. By automating this calculation, you remove the 'guesswork' often found in manual spreadsheets where old or static density factors are frequently reused out of habit.
The operational benefits of this integration extend beyond just accurate accounting. Safety is significantly improved because surveyors are no longer required to climb unstable stockpiles or work in close proximity to heavy machinery like reclaimers and front-end loaders. From a management perspective, the frequency of stock takes can be increased from quarterly to weekly, or even daily, without a significant increase in cost. This high-frequency data allows for better supply chain planning, as procurement teams can see exactly how much buffer stock remains and when to schedule the next rail or road transport. In the South African context, where logistics and rail availability are often unpredictable, having precise, daily visibility into stockpile levels is a significant competitive advantage.
Implementing such a system requires a nuanced approach to data governance and security. The middleware must ensure that only authorized personnel can approve the final sync between the drone data and the ERP, providing a 'human in the loop' safety check. This prevents a faulty drone flight or an outlier in the photogrammetry processing from automatically corrupting the financial ledgers. Furthermore, the system must be resilient to the connectivity challenges often found in remote South African industrial sites. We build our integrations to handle asynchronous data transfers, ensuring that if the site’s internet connection drops, the data is queued and safely transmitted to the cloud-hosted or on-premise Sage instance once connectivity is restored. This robustness is what separates a fragile script from a production-ready enterprise solution.
From a regulatory standpoint, particularly concerning SARS and international accounting standards like IFRS, the move to automated drone stocktakes provides a level of defensibility that manual systems cannot match. When an auditor asks how a stockpile was valued, you can provide a digital archive of the 3D survey, the exact flight path taken, the density factors applied at that moment, and the direct link to the Sage transaction. This level of transparency reduces the risk of compliance failures and provides the board with confidence in the reported figures. It transforms the stock take from a dreaded annual event into a continuous, quiet background process that supports the business rather than disrupting it.
At WriteNow Agency, we specialise in building these exact types of high-stakes integrations for South African industrial leaders. We understand that software is only useful when it works within the messy, practical constraints of your physical operations. Our team can help you design and deploy a custom middleware solution that connects your drone surveying workflows directly to Sage, ensuring your inventory data is accurate, auditable, and automated. If you are tired of manual stock-take discrepancies and want to leverage drone technology for more than just pretty pictures, contact WriteNow Agency to discuss how we can integrate your volumetric data and streamline your bulk commodity management.