Skip to content
Portalby Webisoft®Book a demo

How to connect on-prem Sage 300 without opening a port

Install the On-site connector on a Windows machine that can reach Sage 300 and pair it with a one-time code. It only makes outbound HTTPS connections, so Sage 300 stays behind your firewall with no port to open.

01About

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.

02The hard part

Why connecting to Sage 300 is hard.

Sage 300 lives on your own Windows and SQL Server machines, so every cloud tool needs a way in that IT will approve.

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.

03Options

Your options.

OptionFits whenWatch out for
Native Sage 300 add-onsYou need one narrow function and an add-on covers it.Each add-on is its own product to license, learn and upgrade.
Generic integration platformYou 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 codeThe need is unique and you have developers who know Sage 300.Upgrades and staff changes put the integration at risk.
Portal by WebisoftYou 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.
04How Portal connects

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.

05Before you start

What you need.

06Steps

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.

  1. Generate a pairing code

    In Portal, ERP, On-site connector, an admin chooses Generate pairing code. It works once and expires after 15 minutes.

  2. Install and pair the agent

    Install the On-site connector on the Windows machine, then in an admin command prompt run portal-on-site pair with the code.

  3. Configure the Sage 300 driver

    Run portal-on-site configure sage300 on the machine with the Sage 300 workstation. Reads go straight to the company database on SQL Server; writes open a Sage 300 session as your Sage user and go through the O/E header and detail views, so Order Entry runs its own validation. Pervasive companies are not supported.

  4. Test, start and watch

    Run portal-on-site test, start the Portal On-site Connector service, then check ERP, Sync health in Portal for the connector status and the data received.

07What syncs

What syncs with Sage 300.

RecordReadWrite backNote
Customers and primary contactsYesNoActive status and credit hold from the A/R customer
Bill-to and ship-to locationsYesNo
Items and categoriesYesNo
Price listsYesNoBase price per price list, currency and pricing unit; no volume discounts
Contract pricesYesNoBy item: discount percent, discount amount or fixed price
Stock by locationYesNoOn hand including activity since the last Day End; available net of sales orders
O/E ordersYesYesWritten through the Order Entry views; Sage prices the lines
O/E quotesYesYesSet to Active and posted on acceptance
O/E invoicesYesNoBalance and due date from A/R
O/E shipmentsYesNoShip via and tracking number
Credit notes (returns)YesNoReturns are not created from the portal
A/R receipts (payments)YesYesRead from posted batches; portal payments are written as cash receipts applied to the paid invoices, without surcharge or processor fee
Purchase ordersYesYesUpdate 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.

08Next

What you can do next.

09FAQ

Sage 300 questions, answered.

Does Sage 300 need to be on the internet?

No. The agent calls out to Portal over HTTPS; nothing calls in.

What does the agent log?

For relayed requests, only the method, path, status and duration, kept on the machine for 14 days. Its secrets are encrypted on that machine.

How do we know it is working?

ERP, Sync health shows the connector online or offline, what it sent in the last 24 hours and any failed batches you can try again.

10More guides

Keep going.

Sources