
Enterprise data & analytics
Inventory Analytics with Databricks and dbt
A consistent view of inventory across plants helps a global supply-chain organization understand stock positions, movements and slow-moving or at-risk stock. PROVADIT designed, built and validated the inventory and write-off data layer in Databricks and dbt. It has been in production since 2023 and continues to be extended.
Explore the case- Industry
- Enterprise data & analytics
- Our role
- Requirements, model design, implementation and validation within a wider delivery engagement
- Focus & technology
- Databricks · dbt · Data Modeling · Data Transformation
- Scope
- Inventory and write-off data layer · Cross-plant reporting and ongoing extension
Client anonymized.
The starting point
How can inventory data support a consistent view across plants?
The global supply-chain organization of a large international enterprise needs to see where stock sits, what is moving or standing still, and how materials flow between plants and suppliers. Valuation and write-off analysis form the financial interface: stock quantities, location, movement and condition need to be connected to a price basis and rules for valuation adjustments.
The client had relied for years on inventory and write-off reporting on its group-wide SAP Business Warehouse platform. PROVADIT rebuilt the underlying data and reporting logic in Databricks and dbt, translating established business rules and validating the results against legacy reporting by source system. Preserving the meaning of those reports was a central part of the work.
Multiple ERP source systems serve multiple plants, with different local plant and company-code conventions and master-data attributes. Reconciling these differences while retaining useful local detail was another central challenge. The work starts with the meaning of the data and carries that meaning into models and transformations.
Our contribution
PROVADIT’s contribution
We started with the supply-chain questions and translated them into requirements, data models and business rules. PROVADIT built the transformations in Databricks and dbt, from source data through staging to business-ready datasets. Three examples show how this work connects logistics questions with the data needed to answer them.
Historical positions and stock in transit
To reconcile inventory, teams need to examine past stock positions and include stock between locations. PROVADIT designed point-in-time stock views and a goods-in-transit model so these questions are represented in the data layer. Historical positions support comparison over time; transit stock complements the view of inventory held at plants.
Connect local detail with the global view
Plants and source systems use different plant and company-code conventions. We built local-to-global mappings to make those conventions interpretable across sources while preserving plant-specific detail. Local teams and the global organization can use the same inventory foundation at the level of detail their reporting requires.
Define the price basis
Inventory quantities need a price basis before they can support valuation and write-off analysis. PROVADIT implemented a global-first, local-fallback rule: use the global price when it exists and the plant-level price when it does not. This explicit priority makes price selection understandable and connects the logistics position to its financial interpretation.
Inside the work
Four connected views of inventory.
The four views below bring together the data domains needed for inventory and write-off analysis. Shared dimensions give stock and movement records their business context, while price inputs support their financial interpretation. Inventory forecast and projection are also within scope, extending the view beyond historical stock positions.
Movements and stock
Material movements explain stock activity; point-in-time stock views support questions about past inventory positions. Goods-in-transit adds stock between locations to the picture alongside stock at plants.
Batches and master data
Batch, product and reference data give stock and movement records their business meaning. Master-data standardization helps interpret inputs consistently across sources, while derived master data provides additional attributes used by the reporting models.
Classification and shared dimensions
Plant and company-code mappings reconcile local conventions for cross-plant reporting. Shared business attributes and inventory rules support consistent classification, including slow-moving stock, while retaining plant-specific detail.
Valuation
Price inputs connect the physical stock view with its financial meaning. Slow-moving stock rules, valuation adjustments and revaluation support write-off analysis and reconciliation with finance.
Deliverables
The work delivered. The decisions it supports.
The delivered layer gives the global supply-chain organization a cross-plant foundation for reports, dashboards and related processes. PROVADIT validated the rebuilt logic against legacy SAP BW reporting by source system, connecting the technical transformations with the established business interpretation of inventory and write-off data.
- Implemented inventory and write-off models, business rules and reconciled dimensions in Databricks and dbt.
- Incremental refreshes, dbt tests and data-quality checks on critical joins, with refresh design focused on keeping reported data current and consistent.
- Documented requirements and evolving model documentation that explain business rules and design decisions beyond individual contributors.
Engagement context
PROVADIT’s contribution is the inventory and write-off data layer within the client’s wider supply-chain, planning and enterprise-platform transformation. The broader program and the applications and dashboards consuming this foundation have their own scope and delivery responsibilities.
A separate Agentic AI case study explains our development and documentation work within the client’s enterprise AI environment.
What this illustrates
A useful inventory model starts with agreed business definitions. Consistent mappings, an explicit price priority and validation against established reporting carry those definitions into a data layer that can evolve with the supply-chain questions it supports.
Related expertise
Explore all project examplesBuild on clear inventory data definitions.
Discuss your inventory and valuation requirements, source systems and data-platform plans with our team.
Talk to our team