Integrating Dynamics 365 with 1C and Legacy Warehouse Software
Интеграция Dynamics 365 с 1С: queued, idempotent and reconciled exchange, how to triage a failing integration before quarter close, and when moving from 1C to Business Central removes the integration.
A reliable integration between Dynamics 365 and 1C has three properties: it is queued, so a message waits instead of being lost when either side is down; it is idempotent, so a retry never creates a second order or invoice; and it is reconciled, so counts and totals are compared daily and gaps are found before the auditors find them. 1C exposes data through its OData interface or HTTP services, Dynamics 365 through its APIs. If an integration is failing before quarter close, freeze changes, reconcile the period, correct by documented manual entry, and fix the cause after the close. If 1C itself is the problem, migrating to Business Central removes the integration.
Which Dynamics 365 and 1C combinations are we talking about?
Three are common. Dynamics 365 Sales or Customer Service as the CRM with 1C as the accounting system, where customers, products, prices, orders and invoice status move between them. Business Central or Finance and Operations as the group ERP with 1C still running statutory accounting in one country, where documents or balances flow up to the group. And a legacy warehouse system, often a local product or an in-house application, sitting beside either of them and exchanging stock, receipts and shipments.
The technical patterns below are the same in all three. If the CRM is a custom build rather than Dynamics 365, the custom CRM and 1C integration architecture covers the .NET side in detail.
Which exchange routes do Dynamics 365 and 1C offer?
On the 1C side, the platform can publish an OData REST interface over the configuration data, a 1C programmer can write HTTP services inside the configuration, or the two sides can exchange XML or JSON files on a schedule. On the Dynamics 365 side, Customer Engagement exposes the Dataverse Web API, Business Central exposes its standard and custom APIs, and Finance and Operations exposes data entities through OData and the data management framework for larger volumes.
Between them sits a small integration service that owns the queue, the mapping and the logging, typically built on Azure Functions, Logic Apps or Service Bus. Direct calls from a plug-in or a 1C module straight into the other system look simpler and are the usual reason an integration fails silently.
| Side | Route | Suits |
|---|---|---|
| 1C | OData REST interface published by the platform | Reading and writing catalogues and documents without custom 1C code |
| 1C | HTTP services written in the configuration | Business operations with validation, such as posting a document |
| 1C | Scheduled XML or JSON file exchange | Configurations where web publishing is not allowed, or bulk loads |
| Dynamics 365 Customer Engagement | Dataverse Web API | Accounts, contacts, products, orders and status updates |
| Business Central | Standard and custom APIs | Customers, items, prices, sales documents and posted entries |
| Finance and Operations | Data entities over OData, data management framework | Transactional messages through OData, volumes through data packages |
| Legacy warehouse software | Staging tables, files on SFTP, or its own API if it has one | Stock levels, receipts, shipments and adjustments |
What makes an exchange queued, idempotent and reconciled?
These three properties are what separate an integration you can trust at quarter close from one you check by hand.
- Queued: every change becomes a message in a queue with its own status, so if 1C, the warehouse system or Dynamics 365 is unavailable the message waits and is retried, rather than disappearing in a timeout.
- Idempotent: every message carries a stable identifier, and each side stores the other side key next to its own record. A retried message updates the record it already created instead of creating a duplicate order, customer or invoice.
- Ordered where it matters: an invoice is not sent before its customer exists, and a stock adjustment is not applied before the receipt it corrects.
- Logged: every message, payload and response is kept for a defined period, so a disputed document can be traced end to end.
- Reconciled: a daily job compares counts and totals per document type and period on both sides, and lists the differences for a named owner.
- Owned: one system is the master for each data set, such as customers in the CRM, prices and invoices in accounting, and stock in the warehouse system, so the two sides never edit the same field.
How do you triage a failing 1C integration before quarter close?
Protect the close first, fix the integration second. Rebuilding the integration in the last week of a quarter adds risk exactly when the figures matter most.
- Freeze changes to both the integration and the 1C exchange rules until the close is done.
- List what is failing: which message types, since when, and how many are stuck, rejected or missing.
- Reconcile the quarter: compare documents and totals per period between Dynamics 365, 1C and the warehouse system, and agree the list of differences with finance.
- Correct the differences by documented manual entry or a controlled reload, with each correction referenced to the failed message.
- Keep a log of every manual action so auditors can follow what was corrected and why.
- After the close, find the root cause: usually missing idempotency, a changed field in a 1C configuration update, an expired credential, or an unhandled error that stopped the queue.
- Then make the fix permanent: add the queue, keys and daily reconciliation that were missing, and test against a copy of the 1C database.
What does the 1C side need, and who does that work?
Solzet integrates with 1C; it does not implement, configure or administer 1C. Publishing the OData interface, writing HTTP services, adjusting exchange rules and creating the integration user are done by your 1C programmer or the 1C service provider you already work with. Our part is the Dynamics 365 side, the integration service and the interface contract between them: a written specification per data set with fields, keys, direction, triggers and error codes, test data and test cases, so the 1C side can build and verify its part independently before end-to-end tests together.
When does moving from 1C to Business Central remove the integration?
When 1C is kept only because it is already there. If changes depend on one programmer, if an owner or auditor needs group reporting in English, or if the company is adding legal entities and countries, an integration keeps two systems alive that the business would rather replace with one. Moving accounting from 1C to Business Central removes the exchange entirely, and connects Business Central to Dynamics 365 Customer Engagement through the Dataverse connection and virtual tables instead of a custom interface.
The move itself, from chart of accounts mapping to the read-only 1C archive, is described in the 1C to Business Central migration guide. Where the integration must run in the meantime, build it so the 1C adapter can be swapped for the Business Central APIs later.
Как надежно интегрировать Dynamics 365 с 1С?
Надежная интеграция Dynamics 365 с 1С строится на трех принципах. Обмен идет через очередь: если 1С или Dynamics 365 недоступны, сообщение ждет и отправляется повторно, а не теряется. Обмен идемпотентен: каждое сообщение имеет постоянный идентификатор, каждая сторона хранит ключ записи другой стороны, поэтому повторная отправка не создает второй заказ или счет. И обмен сверяется: ежедневно сравниваются количества и суммы документов по периодам, а расхождения получает ответственный сотрудник.
Со стороны 1С используются OData-интерфейс платформы, HTTP-сервисы в конфигурации или обмен файлами XML и JSON. Со стороны Dynamics 365 используются Dataverse Web API, API Business Central или сущности данных Finance and Operations. Между ними работает небольшой интеграционный сервис с очередью, сопоставлением полей и журналом сообщений. Работу внутри 1С выполняет ваш программист 1С или ваш поставщик услуг 1С; Solzet отвечает за сторону Dynamics 365, интеграционный сервис и спецификацию интерфейса.
Что делать, если интеграция с 1С сломалась перед закрытием квартала?
Сначала защитить закрытие периода, потом чинить интеграцию. Заморозьте изменения в интеграции и в правилах обмена 1С, составьте список сбойных типов сообщений, сверьте документы и суммы за квартал между Dynamics 365, 1С и складской системой, исправьте расхождения документированными ручными проводками или контролируемой повторной загрузкой и ведите журнал всех ручных действий для аудиторов. После закрытия найдите причину и добавьте то, чего не хватало: очередь, ключи и ежедневную сверку.
Если проблема в самой 1С, переход с 1С на Business Central убирает интеграцию полностью. Подробнее в руководстве по переходу с 1С на Business Central.
How does Solzet deliver a Dynamics 365 and 1C integration?
Solzet designs the interface contract with your 1C side, builds the integration service with its queue, keys, logging and daily reconciliation, configures or extends the Dynamics 365 side, whether that is Customer Engagement, Business Central or Finance and Operations, and runs end-to-end tests against a copy of your 1C database before go-live. For an integration that is already failing, we start with the triage above and a written assessment of what to fix and what to rebuild.
The wider service is on CRM and ERP integration. If you would rather not carry Microsoft licensing for the CRM, we also build custom CRM integrated with 1C. 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?
How do you integrate Dynamics 365 with 1C?
Through a small integration service between the 1C OData interface or HTTP services and the Dynamics 365 APIs, with a queue, stable keys on both sides so retries never create duplicates, a log of every message and a daily reconciliation of counts and totals.
Как интегрировать Dynamics 365 с 1С?
Через интеграционный сервис между OData-интерфейсом или HTTP-сервисами 1С и API Dynamics 365, с очередью сообщений, постоянными ключами на обеих сторонах, журналом и ежедневной сверкой количеств и сумм документов.
Why does our 1C integration create duplicate orders or invoices?
Because it is not idempotent: when a call times out and is retried, the receiving side cannot recognise the message and creates a new record. Give each message a stable identifier and store the other side key on each record, so a retry updates instead of creating.
What should we do if the 1C integration fails just before quarter close?
Freeze changes, list the failing message types, reconcile documents and totals for the quarter, correct differences by documented manual entry or controlled reload, keep a log for auditors, and fix the root cause after the close.
Does Solzet work inside 1C?
No. Solzet integrates with 1C but does not implement, configure or administer it. The 1C side, such as publishing OData or writing HTTP services, is done by your 1C programmer or 1C service provider, working to an interface specification Solzet writes.
How do you integrate Dynamics 365 with legacy warehouse software?
With the same queued, idempotent and reconciled pattern, using whatever the warehouse system offers: its API if it has one, otherwise staging tables or files on SFTP. Decide which system owns stock, and reconcile stock and movements daily.
When should we migrate from 1C to Business Central instead of integrating?
When 1C is the problem rather than the integration: changes depend on one programmer, group reporting is needed in English, or legal entities and countries are being added. Moving to Business Central removes the exchange and connects it to Customer Engagement through Dataverse.
Where should you go next?
CRM and ERP integration
One team for the CRM, the ERP and the integration between them.
1C to Business Central migration
What the move involves and who it suits.
Custom CRM and 1C integration
The .NET architecture when the CRM is a custom build.
Dynamics 365 Business Central
Implementation, AL extensions, integrations and support.
Rationalising point-to-point integrations
When several brittle interfaces should become one layer.
Custom CRM development
CRM without Microsoft licensing, integrated with 1C.
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.