Service Cases That Trigger Quality Inspections: Connecting Customer Service to Quality Orders in Finance and Operations

The flow from complaint to quality order and back, which of dual-write, virtual entities and business events fits, and who builds the Customer Engagement side when your team works in X++.

The pattern is simple to describe. An agent logs a complaint as a case in Dynamics 365 Customer Service, and when the case needs an inspection, the case raises a request that creates a quality order in Finance and Operations for the item, batch or serial number concerned. When the quality order is validated, the result and any non-conformance are written back to the case so the agent can answer the customer. For this flow, virtual entities or a small custom service create the quality order, and a business event returns the result; dual-write suits shared master data, not this. Solzet builds the Customer Engagement side and the link for teams who work only in X++.

What should happen between the case and the quality order?

Agree the business flow before choosing the technology. The steps below are the usual shape; the exact trigger and fields are decisions for the quality and service owners together.

  • The agent logs the case with the product, the customer, the order or invoice, and the batch or serial number where the item is tracked.
  • A case category or a decision by the agent marks the case as needing an inspection, which raises a quality request rather than an email to the quality team.
  • Finance and Operations creates a quality order for the item and batch, with the test group the quality team has defined for complaints, and returns its number to the case.
  • The quality team runs the tests and validates the quality order in Supply Chain Management as they do today.
  • The result, pass or fail, and any non-conformance raised are written back to the case, and the case moves on to replacement, credit or closure.

Dual-write, virtual entities or business events: which fits this flow?

Each mechanism exists for a different job. The general comparison is in dual-write vs virtual entities, explained; for a case that creates a quality order and waits for its result, the fit is as follows.

MechanismWhat it doesFit for case to quality order
Dual-writeNear real-time, two-way copy of tables between Dataverse and Finance and OperationsPoor. It mirrors shared master data such as customers and products; using it to fire a transaction ties the case to table sync and its error handling
Virtual entitiesFinance and Operations data entities exposed in Dataverse and read or written in placeGood for creating the request and for showing the live quality order status on the case form, where the data entity exposes the fields needed
Custom service or data entityAn X++ service or entity that accepts a request and creates the quality order with your rulesGood when creation needs logic, such as choosing the test group or reference, that the standard entity does not cover
Business eventsFinance and Operations publishes an event when something happens, to Power Automate, Azure Service Bus or DataverseBest for the return leg: an event on validation carries the result back to the case without polling

What is the recommended design?

Create through a virtual entity or a small custom service, return through a business event, and keep dual-write for the master data both sides already share. In practice: a Power Automate flow or a Dataverse plugin, triggered when the case is marked for inspection, calls the virtual entity or custom service to create the quality order and stores its number on the case. A business event raised when the quality order is validated, plus any non-conformance created against it, is caught by a flow that updates the case and notifies the owner.

Give the request its own table in Dataverse with a status, so a failed call is visible on the case and can be retried, and so one case can raise more than one inspection. Customers and products should already be shared between the two sides, by dual-write or by your existing integration, so the request can refer to them without mapping.

What are the common mistakes in this integration?

Most of them come from building only one side well. The integration sits between two teams, and each assumes the other will handle the edge cases.

  • No batch or serial number on the case, so the quality order cannot target the right stock.
  • Quality orders created by email or by hand, so nothing links the result back to the case.
  • Polling Finance and Operations for status every few minutes instead of using a business event.
  • Silent failures: the call fails, the case shows nothing, and the customer waits.
  • Legal entity not resolved, so the quality order is created in the wrong company.
  • Security on the integration account broader than the flow needs.

Our team knows X++ but not Customer Engagement: who builds the other side?

This is a common position for Finance and Operations vendors and partners, and it is where the integration usually stalls: the X++ side is ready, and nobody on the team can build the Customer Service configuration, the Dataverse request table, the flow or plugin and the case form changes. Solzet works on both sides of the stack and builds that part, plus the link itself, either for the end customer or white-label for your team, while your developers keep ownership of the X++ service and the quality setup. Arrangements for working under a partner brand are on Dynamics 365 subcontracting.

How does Solzet deliver the case to quality order link?

Solzet agrees the flow with the service and quality owners, configures Customer Service for the inspection request, builds the Dataverse request table, the plugin or flow and the case form, builds or reviews the X++ service or data entity, wires the business event for the result, and tests the whole loop with failure cases. The broader integration service is on CRM and ERP integration, with Customer Service and Supply Chain Management on their own pages. If the service desk would be better without Microsoft licensing, we build a custom CRM connected to Finance and Operations instead. 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 Dynamics 365 Customer Service case create a quality order in Finance and Operations?

Yes. A plugin or Power Automate flow on the case calls a virtual entity or a custom X++ service in Finance and Operations that creates the quality order for the item and batch, and stores the quality order number on the case.

Should we use dual-write to create quality orders from cases?

Usually not. Dual-write mirrors shared tables such as customers and products in near real time. Creating a quality order is a transaction with a result to return, which fits a virtual entity or custom service for the create and a business event for the result.

How does the quality result get back to the case?

Through a business event raised in Finance and Operations when the quality order is validated, or when a non-conformance is created. A flow catches the event, updates the case with the result and notifies the case owner, with no polling.

What data does the case need for the quality order?

The item, the customer, the sales order or invoice, the legal entity and, where the item is tracked, the batch or serial number. Customers and products should already be shared between Dataverse and Finance and Operations so the request can refer to them directly.

Can virtual entities show the quality order status on the case?

Yes, where the data entity exposes the fields you need. A virtual entity reads the quality order in place from Finance and Operations, so the case form can show live status without copying data into Dataverse.

Can Solzet build only the Customer Engagement side for our X++ team?

Yes. Solzet builds the Customer Service configuration, the Dataverse request table, the plugin or flow, the case form and the link, for the end customer or white-label for your team, while your developers keep the X++ service and quality setup.

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.