How to add approval workflows to Sage 300
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 Sage 300 as an active Sage 300 O/E order, entered through the Order Entry views so Sage prices each line.
About Sage 300.
Sage 300, formerly Accpac, is an ERP that runs financials and operations: General Ledger, Accounts Receivable and Payable, Inventory Control, Order Entry and Purchase Orders, with multicurrency and intercompany accounting for groups of companies. It is installed on your own Windows servers or with a hosting partner.
Sage ships a version named by year; its documentation site lists Sage 300 2021 through 2027. Sage 300 2027 comes in Standard, Advanced and Premium editions, and Sage's recommended configurations size Standard for 1 to 5 users, Advanced for 5 to 10 and Premium for 10 or more.
Every Sage 300 company is its own database on Microsoft SQL Server, linked to a system database that holds users, security and currency. The classic Windows screens sit next to newer web screens, and both work through the same Sage 300 business logic, which Sage calls views.
Portal by Webisoft is a B2B portal for Sage 300: customer self-service and team apps on live Sage 300 data.
Why connecting to Sage 300 is hard.
Approvers rarely have a Sage 300 login, so order sign-offs end up in email threads beside Order Entry.
Writes belong to the business views
Sage 300 keeps its business rules in its views, and Sage's own screens and web APIs reach that logic through Sage's API rather than through the tables. An integration that inserts rows into the order tables with SQL skips the pricing, tax and validation Order Entry would apply, so a safe write has to open a Sage 300 session and go through the same views a person uses.
One database per company
Each Sage 300 company is a separate company database with an ID of up to six characters, and several company databases can link to the same system database. A group that runs several companies has several databases, so every integration has to be told which company it reads and writes.
SQL Server only, version by version
Sage 300 2027 supports Microsoft SQL Server 2019, 2022 or 2025 as the database server and Windows Server 2019, 2022 or 2025 as the application server, and Sage says any system not listed is not compatible. Web screens add IIS and a separate Portal database. A company kept on any other database engine is outside what current releases support.
Quotes are orders with an expiration date
In Order Entry a quote is an order of type Quote with an expiration date, and it does not affect quantities until it becomes active. Accepting one means opening the quote, changing its order type to Active and posting it. When Clear Expired Quotes is on, Day End Processing removes quotes on their expiration date.
Your options.
| Option | Fits when | Watch out for |
|---|---|---|
| Native Sage 300 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 Sage 300 write rules yourself. |
| Custom code | The need is unique and you have developers who know Sage 300. | Upgrades and staff changes put the integration at risk. |
| Portal by Webisoft | You want customers, your team and AI agents working on live Sage 300 data. | It works on top of Sage 300; it does not replace it. |
How Portal reaches Sage 300.
Portal connects to Sage 300 through the On-site connector: a Windows service installed on a machine that has the Sage 300 workstation. It reads the company database on Microsoft SQL Server directly, and it writes by opening a Sage 300 session as the Sage user you give it and going through the Order Entry business views (the O/E order header, detail, comment and optional field views), so Sage prices the lines and applies its own checks. Companies on Pervasive are not supported.
Before each order Portal checks that the customer is active and not on hold and that every item is active; a customer on hold can still receive quotes. Every order and quote carries a portal reference in the O/E order Reference field, which the agent looks up before writing, on top of its own journal, so a retry never enters a document twice. Accepting a quote follows Sage's documented steps: the agent opens the quote, sets the order type to Active and posts it, then reads back the order number Sage assigns. The agent only makes outbound HTTPS connections and is paired with a one-time code from Portal.
What you need.
- A Windows machine with the Sage 300 workstation installed that can reach the company database on SQL Server
- A Sage 300 user for the agent with access to Order Entry, and the Reference field on O/E orders free for the portal reference
- At least one person with the Approver or Admin role in Portal
Step by step.
Your Portal team sets up the Sage 300 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 Sage 300
Under ERP, On-site connector in Portal, an admin chooses Generate pairing code. On a Windows machine with the Sage 300 workstation installed, install the agent, run portal-on-site pair with the code, then portal-on-site configure sage300 and enter the SQL Server connection string of the company database, the company ID such as SAMLTD, a Sage 300 user and password, the version shown in Help, About and, if you like, a default inventory location. Run portal-on-site test to see the Sage 300 modules it found, then 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 Sage 300; 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 Sage 300.
| Record | Read | Write back | Note |
|---|---|---|---|
| Customers and primary contacts | Yes | No | Active status and credit hold from the A/R customer |
| Bill-to and ship-to locations | Yes | No | |
| Items and categories | Yes | No | |
| Price lists | Yes | No | Base price per price list, currency and pricing unit; no volume discounts |
| Contract prices | Yes | No | By item: discount percent, discount amount or fixed price |
| Stock by location | Yes | No | On hand including activity since the last Day End; available net of sales orders |
| O/E orders | Yes | Yes | Written through the Order Entry views; Sage prices the lines |
| O/E quotes | Yes | Yes | Set to Active and posted on acceptance |
| O/E invoices | Yes | No | Balance and due date from A/R |
| O/E shipments | Yes | No | Ship via and tracking number |
| Credit notes (returns) | Yes | No | Returns are not created from the portal |
| A/R receipts (payments) | Yes | Yes | Read from posted batches; portal payments are written as cash receipts applied to the paid invoices, without surcharge or processor fee |
| Purchase orders | Yes | Yes | Update promised dates, quantities and cancel lines |
Limits today: Today the Sage 300 connection works with Sage 300 on SQL Server. Returns are not created in Sage 300 from the portal, and a card surcharge or processor fee is not posted with the cash receipt.
What you can do next.
- Orders over a set amount wait for a manager before they are written to Sage 300.
- Documents Sage 300 rejected land on the Approvals page, where someone fixes and resends them.
Sage 300 questions, answered.
Do approvers need a Sage 300 seat?
No. They decide in Portal, and Portal sends the approved document to Sage 300.
What if Sage 300 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 Sage 300
- Connect an AI agent to your ERP, Sage 300
- Automate order entry from email, Sage 300
- Take invoice payments online, Sage 300
- Give customers order status, Sage 300
- Build a B2B ordering portal, Sage 300
- Quotes customers accept online, Sage 300
- Triage a shared inbox, Sage 300
- One REST API for your ERP, Sage 300
- Connect an on-prem ERP safely, Sage 300
- Add approval workflows, Sage 100
- Add approval workflows, Sage 50
- Add approval workflows, Sage 500
- Add approval workflows, Sage Accounting
- Add approval workflows, Sage Intacct
- Add approval workflows, Sage X3
Sources
- Sage 300 R&D: the Views are the business logic, reached through the Sage API
- Sage 300 Installation and Administration Guide: system and company databases
- Sage 300 2027 Compatibility Guide: database, server and web screen requirements
- Sage 300 documentation by version, 2021 to 2027
- Sage 300 Order Entry: order types, quotes and expiry
- Sage 300 Order Entry: promoting a quote to an order