Sansar Global is a Singapore-based FMCG trading group. It moves branded consumer goods, from personal care and health and beauty to food and beverage, between international markets on thin margins and fast deal cycles, across several group companies. ATS built the data foundation and the AI agent that runs on it, and works as Sansar Global's in-house CTO team.
New orders, stock and invoices ready to query within the hour.
Reports, apps and the AI agent share one semantic layer.
In the web app and on WhatsApp.
Runs in their own Azure and GitHub, no vendor lock-in.
The challenge
The business ran on Microsoft Dynamics 365, but its data was hard to use.
- Data locked in the ERP. Dynamics 365 holds every order, shipment and invoice, but it is built to process transactions, not to answer questions about stock, margin or cash.
- Spreadsheets and manual extracts. Questions about what to sell, what is ageing and what to buy meant exporting data and working it by hand, so answers were slow and went stale.
- AI without lock-in. Leadership wanted AI on their own data, without being tied to one vendor, and an independent technical voice on their side.


Illustrative photos (Unsplash). Click to enlarge.
What we built
The data foundation
- Automated feed from the ERP. Dynamics 365 data flows into Microsoft Fabric automatically and is ready to query within the hour.
- Layered, tested and version-controlled. Bronze, Silver and Gold layers built in dbt, with cleaning and business logic written as tested code.
- One definition of the business. A semantic layer defines products, customers, margin and stock once. Reports, apps, the AI agent and outside analytics tools all read the same definitions.
- Checked against the business. Every layer was validated against the finance team's own numbers, and the business rules were agreed question by question with the people who use them.
Every tool reads through the same semantic layer, so a margin figure means the same thing wherever it appears.
The AI agent on their own data
- Answers in plain language across sales, inventory, finance and operations, from live data. For example, which products to push this week, weighing expiry, sales speed and margin.
- Documents on demand: offer sheets and product catalogues at a target margin, as PDF or Excel.
- Built-in controls: role-based access, row-level security for finance data, budget caps and cost dashboards.
Independent technology advice
Sansar Global's leadership asked ATS to sit on their side of the table as their in-house CTO team: join vendor conversations, test proposals against the alternatives, check delivery against what was agreed, and write every major decision down. Systems run in the client's own cloud and code, with partners connected by API, so there is no lock-in to any one vendor.
How we worked
- Understand the business. Working sessions with leadership and each function, from sales and procurement to finance, before designing anything.
- Build the foundation and the agent.
- Advise as the in-house CTO team, alongside the build.
Working on something similar?
We help trading and distribution businesses build the data foundation first, then the AI that works on it, with independent advice on every technology decision along the way.
Book a call [email protected]