01Dynamics 365 Sales → Business Central
Build this integration“When an opportunity is won in Dynamics 365 Sales, create the customer and sales order in Business Central and show shipment and invoice status on the opportunity.”
PartnerMCP will
- Read won opportunities (statecode = 1) through Dataverse change tracking.
- Find or create the Business Central customer, matched on a key PartnerMCP stores on both sides.
- Create the salesOrders record with salesOrderLines and the opportunity as external
Document Number. - Follow salesShipments and salesInvoices through Business Central webhooks, renewed before they expire.
- Write shipment and invoice status back to the opportunity.