Salesforce and Microsoft Dynamics NAV Integration
Some businesses run far more than sales in Salesforce. When Salesforce has been customised into the place where orders, batches and stock are managed day to day, and Microsoft Dynamics NAV (Navision) holds the finance, production and inventory records, the same information ends up typed into both. This page explains how we connected the two in two phases, based on a project for a European manufacturer that makes its products through contract manufacturers.
Where they started
Orders were prepared and approved in Salesforce, then keyed into NAV by hand. Staff then created the matching production and purchase orders in NAV, and customer service typed those back into Salesforce so the sales team could see them. When finished goods came back from the contract manufacturer, the deliveries and the materials used were recorded twice again. Every step meant more retyping and more chances for the two systems to disagree.
Phase one: orders
- Approved orders into NAV. Once an order has been through approval in Salesforce, a user marks it as ready for integration. That is the signal for the integration to create the sales order in NAV.
- Production and purchase orders back to Salesforce. NAV automatically raises the matching production order and purchase order, and their details are sent back to Salesforce, so sales staff see the whole picture without asking anyone.
Phase two: production and stock
- Goods received from the contract manufacturer. When finished goods are delivered, the quantity is checked against the batch record in Salesforce and then posted in NAV against the production order, to the right location.
- Materials consumed. The materials used for each batch, based on the bill of materials, are posted in NAV as consumption with full batch tracking, and the Salesforce record is closed.
- Stock with batch details. NAV stock is sent to Salesforce every 15 minutes, including location, batch number, expiry date and batch status, after a one-off initial load. New items are added simply by ticking a box in NAV.
What takes the real work
Letting people decide when to send. Nothing goes to NAV just because a record changed in Salesforce. Each process starts only when a user completes a guided step in Salesforce that checks the data first, such as whether the quantity posted matches the stock available, and then ticks a trigger. The integration picks up only those records. It keeps half-finished or unapproved work out of the finance system.
Feedback from NAV, not silence. Every posting goes into NAV through a codeunit, written by the business’s NAV team, that returns a success or error code. The result is recorded and emailed to a nominated group, so if NAV rejects a posting, someone knows straight away and knows why. A plain file import cannot do that, which is why we avoid it with NAV wherever we can.
Batch tracking end to end. For a manufacturer, knowing which batch went where matters. Batch numbers, expiry dates and batch status travel with every consumption and every stock update, so both systems agree on exactly what is available and how long it is good for.
Doing it in phases. Orders were automated first, with production and stock following once phase one was settled. Each phase was small enough to test properly and gave the business something useful straight away, rather than one long project with nothing working until the end.
What was deliberately left out
- Changes to documents after they have been sent
- Historical data, as the integration started from go-live
- Writing the NAV codeunits, which the business’s NAV team did
- VAT calculations and rounding differences
What it typically costs
Phase one was scoped at 5 days and phase two at 6 days, each including testing, go-live and documentation. As a guide:
- Orders only: typically 5 to 7 days, roughly £5,500 to £8,000 + VAT
- Orders, production and stock: typically 10 to 13 days, roughly £11,000 to £14,500 + VAT
These figures are our consultancy only. The BPA Platform licence is separate, and any codeunit work by your NAV partner is quoted by them. The ranges are indicative: every project starts with scoping, and you get a day-by-day estimate before any build work begins.
Questions we get asked
Our Salesforce is heavily customised. Is that a problem?
No. In this project, the customised Salesforce objects were the whole point. What matters is agreeing which records and fields are sent, and when, which we map with you at scoping.
Do we need dedicated user accounts?
Yes. We ask for a dedicated Salesforce user and a dedicated NAV user for the integration, so its activity is easy to see and never tied to a person who might leave.
We run Business Central, not NAV.
The same approach applies, usually with less custom work on the ERP side. See also our Dynamics NAV and Shopify integration guide, and our CRM integration services.
Talk to us
If your team is retyping orders or stock between Salesforce and Dynamics NAV, get in touch and tell us what each system is used for today. Or get an indicative quote in a few minutes.