An Offline Field Sales App That Posts Orders to Dynamics NAV the Same Day
A Power Apps mobile app that works without signal, visit data structured for promotion reports, same-day order sync to Dynamics NAV 2017, and how a move to Business Central simplifies the link.
A field sales team that loses signal in shops can still capture visits and orders the same day with a Power Apps mobile app running offline on Dataverse. Reps record each visit as structured data, such as outlet, promotion, display compliance, shelf facings and photos, so promotion reports come from fields rather than free-text notes. Orders are saved on the device, sync when signal returns, and an integration service posts them to Dynamics NAV 2017 through its SOAP or OData web services, writing the NAV order number back to the app. Moving from NAV to Business Central online simplifies that link: standard APIs, Power Platform connectors and the Dataverse connection replace a custom bridge to an on-premises server.
What does a field sales app need to do when reps work without signal?
Let a rep do a full day of visits without ever waiting for a connection, and still get every order into the ERP that day. In practice that means the app has to open and work with no signal, hold the rep's outlets, products and recent orders on the device, capture visits and orders as records rather than notes, and send everything without loss or duplicates when signal returns. Sales operations then need to see what arrived, what reached NAV and what is stuck.
The hardest part is the last one. Offline apps lose data in specific, preventable ways: conflicts that overwrite, clock skew, queues discarded on reinstall, retries that duplicate. The durable pattern for that, with client-generated keys, idempotent upsert, conflict rules and a reconciliation view, is set out in our guide to stopping offline field data loss in Power Apps. This page applies it to field sales and adds the part that guide does not cover: the order path to Dynamics NAV.
- Works offline all day: outlet list, product catalogue, indicative prices and the last orders per outlet on the device.
- Visits as structured records, not free text, so promotion reports can be built from them.
- Orders with lines, captured offline, each with a unique key created on the device.
- Same-day posting to Dynamics NAV once the device syncs, with the NAV order number shown back to the rep.
- An exception view for sales operations: orders synced but rejected by NAV, and devices that have not synced.
Which Power Apps offline model fits a field sales team?
Two models run offline on Dataverse in the Power Apps mobile app, and both use a mobile offline profile that decides which tables and rows are copied to the device. Microsoft has been extending offline support steadily, so check the current Microsoft Learn pages on mobile offline before you design around a specific capability.
| Model | Fits when | Watch out for |
|---|---|---|
| Model-driven app with a mobile offline profile | Reps work through forms and views: outlet, visit, order, order lines. Quickest to build and maintain. | Less control over the screen flow; a fast order-entry grid may need a custom component. |
| Offline-first canvas app on Dataverse | Order entry has to be very fast on a phone, for example a product list with quantity steppers and barcode scanning. | Formulas or connectors that assume a live connection fail on the device and must be designed out. |
- Scope the offline profile tightly: the rep's own outlets, active products, price lists in force and a short history of orders, not the whole database.
- Product images and large price lists slow the first sync. Test the profile on a real device with realistic data before rollout.
- Whether a dedicated field app platform would be a better fit than Power Apps is compared in our field inspection app cost comparison.
How should visit data be structured so promotion reports work?
Decide the reports first, then give every question in them a field. A free-text visit note can say that the display was up and the shelf looked good, but nobody can count that across every outlet. A visit record with a few structured fields can be counted, compared by chain, region and week, and checked against what the promotion plan said should happen. Keep a short free-text note for what the fields do not cover, and make the structured fields quick to fill in on a phone: choices, numbers and a photo, not typing.
| Visit field | Type | What the report uses it for |
|---|---|---|
| Outlet and visit date | Lookup and date, set automatically | Visit frequency and coverage per rep, chain and region |
| Promotion | Lookup to the promotions active for that outlet | Which promotion the visit checked |
| Display in place | Yes, no, partly | Promotion compliance by chain and week |
| Shelf facings and price on shelf | Whole numbers and currency | Share of shelf and correct promotional price |
| Out of stock lines | Multi-select of the promoted products | Lost sales signals during the promotion |
| Competitor activity | Choice plus short note | Competing promotions seen in the outlet |
| Photo | Image or file column | Evidence of display for the trade marketing team |
| Order taken | Link to the order created on the visit | Conversion of visits into orders during the promotion |
How do orders get from an offline phone into Dynamics NAV 2017 the same day?
Through two hops that are designed separately. The first hop is the device to Dataverse: the order and its lines are saved on the phone with a unique key generated there, and the platform sync sends them when signal returns. The second hop is Dataverse to NAV: an integration service picks up each submitted order, creates the sales order in NAV, and writes the result back.
Dynamics NAV 2017 publishes pages and codeunits as SOAP web services, and pages and queries as OData web services, from its service tier. A Sales Order page published as a web service is the usual entry point, because it runs the same validation and defaulting as a user entering the order. Which OData version and authentication your installation exposes depends on how it was set up, so check the service tier configuration before designing the calls. Because NAV 2017 runs on your own servers, the cloud side reaches it either through the on-premises data gateway or through a small integration service inside your network that reads from Dataverse and calls NAV locally.
- The app order key travels into NAV, for example in the External Document No. field on the sales header, and the service checks for it before creating an order, so a retry never creates a second order.
- NAV calculates prices, discounts and credit checks on the order. The app shows indicative prices from a synced price list, and NAV stays the source of truth for the amount invoiced.
- The NAV order number and status are written back to the order in Dataverse and appear on the rep's phone after the next sync.
- Orders NAV rejects, such as a blocked customer or an item no longer sold, go to an exception view for sales operations with the error text, rather than failing silently.
- Run the posting continuously during the working day, not as one batch at night, so an order synced at noon is in NAV by early afternoon and warehouse picking can plan with it.
What master data has to flow from NAV to the app?
Only what a rep needs in the outlet, and only as often as it changes. Copying the whole item and customer base to every phone makes the first sync slow and the offline profile fragile. The direction is mostly one way, NAV to Dataverse, with orders and visits the only records flowing back.
| Data | Direction | Typical frequency |
|---|---|---|
| Customers and ship-to addresses | NAV to Dataverse | Several times a day, so a new outlet can be visited the day it is set up |
| Items and units of measure | NAV to Dataverse | Daily |
| Price lists and promotional prices | NAV to Dataverse | Daily, and before each promotion starts |
| Availability snapshot | NAV to Dataverse | Morning and midday, shown to reps as indicative |
| Last orders per outlet | NAV to Dataverse | Daily, for reorder suggestions |
| Sales orders | Dataverse to NAV, with order number and status back | Continuously during the day |
| Visits | Stay in Dataverse | Reported in Power BI; NAV does not need them |
What goes wrong with same-day order sync, and how do you prevent it?
Most failures sit at the boundaries between the two hops. On the device side, the causes and fixes are the ones in our offline data loss guide: queues lost on reinstall, retries that duplicate, conflicts that overwrite. On the NAV side, the failures are different and need their own controls.
| Failure | What prevents it |
|---|---|
| The same order created twice in NAV after a retry | The app order key checked against the External Document No. before the order is created |
| An order accepted in the app but rejected by NAV | An exception view with the NAV error, an owner in sales operations and a daily count of open exceptions |
| NAV service tier or gateway unavailable | Orders stay queued in Dataverse and post when it returns; an alert after a set time without a successful post |
| Price on the phone differs from the invoice | Prices shown as indicative, price lists refreshed before promotions, and the NAV price shown back with the order number |
| A rep has not synced for days | A device sync report per rep, reviewed by the sales manager |
How does moving from NAV to Business Central simplify the integration?
It removes the bridge to an on-premises server and replaces custom calls with standard ones. Business Central online exposes the standard API v2.0, including sales orders, customers and items, secured with Microsoft Entra ID, so an integration calls a documented REST endpoint instead of a page published as a web service on your own server. Power Automate and Power Apps have Business Central connectors, Business Central webhooks can tell the integration when records change, and the Dataverse connection can synchronise customers and items with Dataverse and expose Business Central data in Dataverse as virtual tables. Check the current Microsoft Learn pages for which tables each option covers.
Design the field app so that change is cheap. Keep the app, its offline profile and its data on Dataverse, and keep everything that talks to the ERP in one integration layer. When NAV is replaced, only that layer changes; reps keep the same app. The migration itself, from customisations to data and cutover, is covered in our NAV to Business Central migration checklist, and the service is migration to Business Central.
| Integration point | Dynamics NAV 2017 on premises | Business Central online |
|---|---|---|
| Creating sales orders | Sales Order page published as a SOAP or OData web service | Standard API v2.0 sales orders, or a custom API page in an AL extension |
| Reaching the ERP from the cloud | On-premises data gateway or an integration service in your network | Direct HTTPS with Microsoft Entra authentication |
| Master data to Dataverse | Custom extract and load | The Dataverse connection with coupling and synchronisation, or virtual tables |
| Knowing what changed | Polling | Webhooks, or delta reads on system fields |
| Low-code automation | Custom connector over the web services | Business Central connectors for Power Automate and Power Apps |
Should the field sales app be built on Power Apps or as a custom application?
Power Apps fits a business that already runs Microsoft 365, is comfortable with a per-user Power Apps licence for each rep and manager, and wants to move to Business Central, because the app, Dataverse and the Business Central connection then sit on one platform. A custom application fits a business that would rather not carry Microsoft licensing for its field team: an offline-capable React web app with its own local storage and sync, a Node.js or .NET service that posts orders to NAV or Business Central, and a PostgreSQL database the business owns. The custom route gives full control over the order screen and no per-user licence, in exchange for owning the sync engine, hosting and updates. The offline design rules are the same on both.
What does Solzet build for an offline field sales app connected to NAV or Business Central?
One team designs all three parts: the app, the integration and the ERP side. We agree the visit fields with sales and trade marketing, build the model-driven or offline-first canvas app on Dataverse with a scoped offline profile, build the integration service that posts orders to Dynamics NAV 2017 with the duplicate check and exception view, set up the master data feeds, and deliver the Power BI promotion report. We test on real devices in real dead spots before rollout. Our own senior consultants and developers do the work. When you are ready to leave NAV, the same team runs the migration to Business Central and moves the integration layer to the standard APIs and the Dataverse connection, which is our CRM and ERP integration service.
For a field team that would rather not carry Microsoft licensing, we build the app as a custom CRM. We recommend the right solution: Dynamics 365 (Customer Engagement, Business Central or Finance and Operations), Power Platform, or a custom-built CRM. One team for CRM, ERP and the integration between them.
What do people ask us?
Can a Power Apps field sales app work fully offline?
Yes. Model-driven apps and offline-first canvas apps on Dataverse run in the Power Apps mobile app with a mobile offline profile that copies the chosen tables and rows to the device. Reps capture visits and orders without signal and the app syncs when the connection returns. Scope the profile tightly and test on real devices.
How do orders from an offline app reach Dynamics NAV 2017?
The order syncs from the phone to Dataverse, then an integration service creates the sales order in NAV through a page published as a SOAP or OData web service, reached through the on-premises data gateway or a service inside your network. The NAV order number is written back to the app.
How do you stop an offline retry creating a duplicate order in NAV?
Give every order a unique key on the device, carry it into NAV, for example in the External Document No. field, and check for it before creating an order. A resend then finds the existing order instead of creating a second one.
Why record visits as structured fields instead of notes?
Because promotion reports need counts. Fields such as display in place, shelf facings, price on shelf, out of stock lines and a photo can be summarised by chain, region and week. Free-text notes cannot. Keep a short note for anything the fields do not cover.
Does moving from NAV to Business Central make the integration easier?
Yes. Business Central online offers the standard API v2.0 with Microsoft Entra authentication, Business Central connectors for Power Automate and Power Apps, webhooks, and the Dataverse connection with virtual tables, so there is no gateway to an on-premises server and fewer custom calls to maintain.
Should we build the field app now or wait until after the Business Central migration?
You can build it now if the app and its data live on Dataverse and everything that talks to the ERP sits in one integration layer. When NAV is replaced, only that layer changes and reps keep the same app.
Can the field sales app be built without Microsoft licensing?
Yes. A custom offline-capable React app with a Node.js or .NET service and a PostgreSQL database can post orders to NAV or Business Central without per-user Power Apps licences. The business then owns the sync engine, hosting and updates.
Where should you go next?
Stop losing offline field data in Power Apps
Client keys, idempotent upsert, conflict rules and a reconciliation view.
NAV to Business Central migration checklist
Customisations, data upgrade paths, integrations, testing and cutover.
Migration to Business Central
Moving from Dynamics NAV and other ERPs to Business Central online.
CRM and ERP integration
Dataverse, Customer Engagement and Business Central designed and connected by one team.
Custom CRM Development
Field and sales applications on React, Node.js, PostgreSQL and .NET without Microsoft licensing.
Which solution is right for your business?
Tell us what you need. A senior consultant replies within one business day with a recommendation (Customer Engagement, Business Central, Finance and Operations, Power Platform or a custom-built CRM), not a sales script.