Show Sage 300 data in Salesforce
Connect Sage 300 and Salesforce to Portal. Sage 300 customers and contacts become Salesforce accounts and contacts, each account can show balance, open orders and credit hold, and every a Sage 300 O/E order of type Quote, with its expiration date can be tracked as an opportunity.
What reaches Salesforce from Sage 300.
| Salesforce | From Sage 300 | Direction |
|---|---|---|
| Account | Each Sage 300 customer, the Sage 300 A/R customer, with its active status and on hold flag: name, phone and the website from the email domain, matched on a Portal ID field | Portal writes; unmatched Salesforce accounts come in as company leads |
| Contact | The Sage 300 contacts of each linked customer | Portal writes; contacts made only in Salesforce come into Portal, and an edit to a Sage 300 contact becomes a change for your team to approve |
| Account summary fields (optional) | The customer's open balance and customer number, the count of open orders, the last five orders with status, and credit hold | Portal writes, as text fields on the account |
| Opportunity | One per a Sage 300 O/E order of type Quote, with its expiration date or order, with its total and close date | Portal writes; Salesforce changes to it are not read back |
| Product (optional) | Item code, stock by Sage 300 I/C location, with quantities already on sales orders taken out of what is available as on hand and available, and the base price | Portal writes |
| Lead, Task, Note | Salesforce leads, tasks and notes | Portal reads them; workflows, agents and staff can create new ones |
Connect Sage 300 and Salesforce.
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.
Connect Salesforce
In Connect, Integrations, Salesforce, choose Connect Salesforce and sign in as a Salesforce administrator. Portal adds a Portal ID field to accounts, contacts and opportunities, the account summary and product stock fields, and a Portal integration permission set, then runs a first sync of your Sage 300 customers and contacts.
Choose what Portal writes
Tick Also write balance, open orders, recent orders and credit hold on each Salesforce account so reps see the Sage 300 numbers on the account page. Turn on Products and stock to send item stock and base prices. Accounts Portal cannot match with confidence wait under Companies to check for staff to approve.
Track quotes as opportunities
Add the Create CRM deal action to a workflow that runs when a quote is sent, and Change CRM deal when it is won or lost. Each a Sage 300 O/E order of type Quote, with its expiration date becomes an opportunity at Proposal/Price Quote and moves to Closed Won when Portal opens the quote in Sage 300 Order Entry, sets its order type to Active and posts it, the steps Sage documents for promoting a quote, and reads back the order number Sage assigns.
Give reps the rest in the rep portal
Reps sign in to their own Portal site and see only their assigned customers with balance, credit limit and credit hold. They can open each customer's Sage 300 O/E invoices, with balances and due dates from A/R and place orders, quotes and returns on the customer's behalf, logged under their name.
How Portal reads 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.
| 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 |
What it does not do.
- Invoice lines, payment status and credit limits from Sage 300 are not written to Salesforce; reps see them in the rep portal.
- Portal syncs with Salesforce every 15 minutes, and soon after customers or contacts change in the ERP. It is not instant.
- Changes made to opportunities in Salesforce are not read back, so winning one there does not start a workflow in Portal.
- The Salesforce connection is tested against a Salesforce stand-in so far, so your Portal team sets it up with you on your org.
Sage 300 and Salesforce, answered.
Can reps see Sage 300 payment status in Salesforce?
Not invoice by invoice. With the account summary turned on, each Salesforce account shows the customer's open balance, open and recent orders and credit hold. Reps open Sage 300 O/E invoices, with balances and due dates from A/R themselves in the rep portal.
Does Salesforce write anything back into Sage 300?
No. Sage 300 owns customers and their contacts. A Salesforce edit to a Sage 300 contact becomes a proposed change that staff approve in Portal, and nothing is written into Sage 300 from Salesforce.
What stops duplicates?
Every account, contact and opportunity carries a Portal ID that Portal upserts on, and orders reaching Sage 300 carry a portal reference in the O/E order Reference field, looked up before every write, plus the agent's own journal.
Which Sage 300 databases work?
Sage 300 companies on Microsoft SQL Server, the database current Sage 300 releases support. The agent reads the company database directly and writes through the Order Entry views; companies still on Pervasive are not supported.