Dynamics 365 Finance & Operations integration

Modified on Thu, 5 Nov at 12:08 PM

How the integration works

The Dynamic365 integration sends customers, projects and finalized invoices from Project Flow to Microsoft Dynamics 365 Finance & Operations, as soon as they are created or finalized.

Custom connection. The integration sends the data to a service that must be set up in your Dynamics 365 by your Dynamics partner, and the connection to your Dynamics environment is set up by Milient. Contact Project Flow before you turn it on. For Dynamics 365 Business Central, see the Business Central integration instead.

WhatWhen
CustomersWhen a customer is created or saved, and with each invoice
ProjectsWhen a project is created or saved, and with each invoice
Invoices and credit notes, with PDFWhen the invoice is finalized
  • One direction. Data goes from Project Flow to Dynamics 365. Nothing comes back, for example payments.
  • Everything is sent. While the integration is enabled, customers, projects and invoices are all sent. There are no switches to turn off one of them.



Set up the integration

  1. Go to Setup → Settings → Integrations (Oppsett → Innstillinger → Integrasjoner). You need administrator access.
  2. Click + Create integration and choose Dynamic365.
  3. Fill in the fields below, tick Enabled and save.
Field (EN / NB)Description
Application key / ApplikasjonsnøkkelThe application key (client secret) from your Dynamics 365 provider. Required.
CounterPart: define tag group / Motpartkonto: angi tagg-gruppeA customer tag group whose tags hold the counterpart account. Add the counterpart account as the code on each tag, and give each customer a tag from the group. Required.
Project department / ProsjektavdelingThe department on the invoice: Do not include department (default), Use accounting department, Use department from invoice, Use invoice tag group, Use department from project or Use project tag group.
Co-worker department / MedarbeideravdelingThe department on the invoice lines: Do not include department (default), Use department from co-worker or Use co-worker tag group.
Include PDF attachments in invoice PDF exportInclude the invoice's attachments in the PDF that is sent.
Co-workers to notify / Emails to notifyWho gets an e-mail when something can't be transferred.
  • No test on save. Project Flow doesn't contact Dynamics 365 when you save. The first transfer shows whether it works.
  • Project Flow plan. The integration isn't available on the Start plan.



What is sent

DataFields
CustomerCustomer number, name, organization number, e-mail, phone, currency, status, and the main address (or the invoice address)
ProjectProject number, name, customer number and status
InvoiceInvoice number, customer, project, currency, invoice date, due date, invoice text, KID, total excluding VAT and VAT, department, counterpart account, the invoice PDF, and for credit notes the credited invoice number
Invoice linesAccount number, VAT % and the account's Accounting VAT code, line text, amount excluding VAT and VAT, department. Quantity and unit price aren't sent.
  • Rounding is sent as its own line on the rounding account.
  • Lines without amount are left out.
  • Department on the lines. With a co-worker department option, a line gets the department of the co-workers on it, if they all have the same; otherwise the invoice's department.


Send again

If something wasn't transferred, correct the problem and send it again from Setup → Tools (Oppsett → Verktøy) → Export customers, Export projects or Export invoices (at most 300 invoices at a time). Only send invoices that are missing, so you don't get duplicates in Dynamics 365.



Check the log

Go to Company → Logs. Each transfer is logged:

MessageMeaning
"Successfully exported invoice …"Transferred.
"Failed to export … : Unauthorized"Project Flow couldn't log in to Dynamics 365. Check the Application key, for example if it has expired. If it is correct, contact Project Flow support.
"Failed to export … : Failed to download invoice pdf"The invoice PDF couldn't be created. Send the invoice again.
"Failed to export … : Unknown error"Dynamics 365 rejected the data. Contact Project Flow support.

E-mail. The people to notify get an e-mail titled "Error: Export to Dynamic failed", listing what couldn't be transferred.



Q&A

Q: Can I use this integration with any Dynamics 365?

A: No. It needs a matching service in your Dynamics 365 Finance & Operations, and a connection set up by Milient. Contact Project Flow.

Q: We use Dynamics 365 Business Central.

A: This integration isn't for Business Central. Contact Project Flow about the Business Central integration.

Q: The application key has expired.

A: Get a new key from your Dynamics 365 provider, paste it in the integration and save. Then send the missing data again from Setup → Tools.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article