How to add approval workflows to Microsoft Dynamics GP
Build a workflow in Portal that starts on an event, such as a new draft order, and add an Approval step. Approvers decide in one queue, and only approved work goes on to Dynamics GP as a GP SOP sales order written through eConnect.
About Microsoft Dynamics GP.
Microsoft Dynamics GP, long known as Great Plains, is a business management system for small and mid-sized organizations, covering financials, receivables and payables, sales order processing, purchasing and inventory. It is installed on your own Windows servers, with each company in its own Microsoft SQL Server database.
The current version, 18.x, follows Microsoft's Modern Lifecycle Policy: you stay current by taking at least one of the three updates Microsoft ships each year, typically in June, October and December. GP 2016 and GP 2018 are still on the Fixed Lifecycle Policy, with extended support ending July 14, 2026 and January 11, 2028.
Microsoft ends GP support for product enhancements, tax updates and technical support on December 31, 2029, with security updates until April 30, 2031, and encourages customers to move to Dynamics 365 Business Central.
Portal by Webisoft is a B2B portal for Microsoft Dynamics GP: customer self-service and team apps on live Dynamics GP data.
Why connecting to Dynamics GP is hard.
GP has little built in for routing a sales order to a manager, and approvers who never open GP are left out.
Support ends on December 31, 2029
Microsoft will stop product enhancements, tax updates and technical support for GP at the end of 2029, and security patches end on April 30, 2031. Anything you build around GP now has to survive a move off it, which Microsoft wants to be Business Central.
Writes go through eConnect, on Windows
The supported way for another application to create GP documents is eConnect, Microsoft's set of .NET, BizTalk and message queue components, and Microsoft notes that not every GP feature is available through it. Its .NET class is a serviced component of the .NET Framework, and its connection to SQL Server requires Windows integrated security, so it runs on a Windows machine inside your domain.
Changing a document means resending all of it
To update an existing sales document through eConnect, the whole header or line has to be sent again: elements left out or blank are cleared. A careless integration that only sends the field it changed wipes the rest of the order.
Three updates a year to stay supported
Under the Modern Lifecycle Policy you stay supported by taking at least one of the three GP updates each year, and older releases on the Fixed Lifecycle Policy run out of extended support between 2023 and 2028. Each update is a moment to check every integration that reads the GP tables.
Your options.
| Option | Fits when | Watch out for |
|---|---|---|
| Native Dynamics GP add-ons | You need one narrow function and an add-on covers it. | Each add-on is its own product to license, learn and upgrade. |
| Generic integration platform | You have someone in-house to build and maintain the flows. | You still build the screens, the AI layer and the Dynamics GP write rules yourself. |
| Custom code | The need is unique and you have developers who know Dynamics GP. | Upgrades and staff changes put the integration at risk. |
| Portal by Webisoft | You want customers, your team and AI agents working on live Dynamics GP data. | It works on top of Dynamics GP; it does not replace it. |
How Portal reaches Dynamics GP.
Portal connects to Dynamics GP through the On-site connector, a Windows service installed on a machine that can reach your GP SQL Server. It reads the company database directly, customers, items, price lists, sales documents and receivables, and picks up changes from the DEX_ROW_TS time stamps on the tables that have them, with customer balances refreshed every 15 minutes by default. The agent only makes outbound HTTPS connections, so no port is opened.
Writes go through eConnect, so GP's own business logic validates them: by default through the eConnect .NET API on that machine, or through the eConnect stored procedures in the company database when the eConnect runtime is not installed there. Orders, quotes and returns become SOP documents under the document IDs and batch you choose, with taxes from GP's tax engine, and a portal reference kept in two SOP user-defined fields stops a retry from creating a second document. Customers on hold are refused for orders before anything is sent.
What you need.
- A Windows machine that can reach the GP SQL Server, with the eConnect runtime or access to the eConnect stored procedures
- SOP document IDs for orders, quotes and returns (STDORD, STDQTE and RTN by default) and a batch ID for Portal documents
- At least one person with the Approver or Admin role in Portal
Step by step.
Your Portal team sets up the Dynamics GP connection with you during onboarding, so the first step is done together. The rest is yours to change any time.
Install and pair the agent next to Dynamics GP
Under ERP, On-site connector in Portal, an admin chooses Generate pairing code. On a Windows machine that can reach the GP SQL Server, install the On-site connector, run portal-on-site pair with the code, then portal-on-site configure dynamics_gp and enter the company database connection, the GP company (for example TWO), the GP version from Help, About, the sales order, quote and return document IDs and the batch for Portal documents. Run portal-on-site test and start the service.
Start from a template
In Workflows, choose Start from a template, for example the email draft approval, or New workflow.
Add the Approval step
Add a step, Approval, write what the approver should check and pick the role or person. On the approved path, submit the draft to Dynamics GP; on the rejected path, discard it.
Test and turn on
Use Test for a dry run, then Turn on. Decisions happen on the Approvals page.
What syncs with Dynamics GP.
| Record | Read | Write back | Note |
|---|---|---|---|
| Customers and balances | Yes | Yes | Hold and inactive flags from the customer card |
| Bill-to and ship-to addresses | Yes | No | Every customer address is a ship-to |
| Contacts | Yes | No | |
| Items | Yes | Yes | |
| Price lists by price level | Yes | No | With quantity breaks, for Currency Amount pricing; Extended Pricing is not read |
| Stock by site | Yes | No | |
| SOP quotes | Yes | Yes | Accepted quotes become a new sales order referencing the quote |
| SOP sales orders | Yes | Yes | Written through eConnect; hold checked first |
| Receivables invoices | Yes | Yes | Open and history; an invoice can be created from an order |
| Cash receipts | Yes | Yes | Entered in a receivables batch and applied to the paid invoices |
| Shipments | Yes | Yes | Tracking numbers on the order and posted invoices |
| SOP returns | Yes | Yes | |
| Purchase orders | Yes | Yes | Promised dates, quantities and cancelled lines |
Limits today: Payments go into a receivables batch for your team to post in Dynamics GP.
What you can do next.
- Orders over a set amount wait for a manager before they are written to Dynamics GP.
- Documents Dynamics GP rejected land on the Approvals page, where someone fixes and resends them.
Dynamics GP questions, answered.
Do approvers need a Dynamics GP seat?
No. They decide in Portal, and Portal sends the approved document to Dynamics GP.
What if Dynamics GP rejects a document?
It appears on the Approvals page as rejected by the ERP, ready to be fixed and resent or cancelled.
Are decisions recorded?
Yes. Each decision and its optional note is kept in the activity log.
Keep going.
- Add approval workflows: overview
- B2B portal for Microsoft Dynamics GP
- Connect an AI agent to your ERP, Microsoft Dynamics GP
- Automate order entry from email, Microsoft Dynamics GP
- Give customers order status, Microsoft Dynamics GP
- Build a B2B ordering portal, Microsoft Dynamics GP
- Quotes customers accept online, Microsoft Dynamics GP
- Triage a shared inbox, Microsoft Dynamics GP
- One REST API for your ERP, Microsoft Dynamics GP
- Connect an on-prem ERP safely, Microsoft Dynamics GP
- Add approval workflows, Dynamics 365 Business Central
- Add approval workflows, Dynamics 365 Finance & Operations
Sources
- Microsoft Learn: discontinuing support for Dynamics GP
- Microsoft Learn: Dynamics GP lifecycle policies
- Microsoft Learn: what eConnect is
- Microsoft Learn: eConnectMethods class
- Microsoft Learn: CreateTransactionEntity, integrated security required
- Microsoft Learn: eConnect SOP transaction schema, updating SOP documents
- Microsoft Learn: Dynamics GP lifecycle policies