Field Notes

The AX2012 Shadow Layer: Lessons on Margin Visibility in Commodity Trading

When margin data is trapped in AX2012 and supplemented by spreadsheets that lag the market, traders decide on stale numbers. Lessons on bridging that gap, drawn from hands-on experience.

|6 min read|Operational Integrity

The Setting

An international commodity trading operation running on Dynamics AX2012, with a growing margin visibility problem.

The Problem

Executives had zero real-time visibility into netback margins. The data existed — but it was trapped inside AX2012, fragmented across modules, and supplemented by manual spreadsheets that were consistently 48 hours behind the market.

In commodity trading, 48 hours is an eternity. Freight costs shift. Financing terms change. Terminal logistics fluctuate. Every contract was being evaluated on stale data, and traders had no way to input variables like freight, financing, and terminal logistics costs on the fly. Margin erosion could happen without anyone seeing it in time.

The Approach

The answer was a BI bridge built using SQL queries directly against the AX2012 database, SharePoint as the collaboration layer, and a custom Power App that gave traders the ability to input live variables — freight costs, financing terms, terminal logistics — against every active sales contract.

This wasn't a rip-and-replace. It was a surgical extraction of the data that mattered, combined with a user-facing tool that eliminated the spreadsheet layer entirely. The Power App fed directly into the BI layer, creating a single source of truth for margin visualization.

The Lesson

Margin visibility for every sales contract, without replacing the ERP. Traders could see netback margins with current freight, financing, and logistics variables instead of waiting on a spreadsheet cycle. The broader lesson: legacy systems rarely need to be ripped out to answer the questions leadership is asking. The data usually exists; it needs a reliable path to the people making decisions.

Is your data trapped in a legacy system? Let's build the bridge.

Ready to see what your operation is hiding?

Whether you need to map shadow processes, implement ERP guardrails, or automate your supply chain, we bring the operational expertise to deliver results.

Operational Integrity Guide

More from our knowledge base