Show Sage 50 data in Salesforce
Connect Sage 50 and Salesforce to Portal. Sage 50 customers and contacts become Salesforce accounts and contacts, each account can show balance, open orders and credit hold, and every a Sage 50 quote, with its good-through date can be tracked as an opportunity.
What reaches Salesforce from Sage 50.
| Salesforce | From Sage 50 | Direction |
|---|---|---|
| Account | Each Sage 50 customer, the Sage 50 customer, on credit hold when its credit status is Hold, or Hold Over Limit with the balance over the limit: 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 50 contacts of each linked customer | Portal writes; contacts made only in Salesforce come into Portal, and an edit to a Sage 50 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 50 quote, with its good-through date or order, with its total and close date | Portal writes; Salesforce changes to it are not read back |
| Lead, Task, Note | Salesforce leads, tasks and notes | Portal reads them; workflows, agents and staff can create new ones |
Connect Sage 50 and Salesforce.
Install the agent next to Sage 50 and allow it in
Under ERP, On-site connector in Portal, an admin chooses Generate pairing code. On the Windows computer that runs Sage 50, install the agent, run portal-on-site pair with the code, then portal-on-site configure sage50: choose the us edition, enter the ODBC connection string of the company's data source, the company name as Sage 50 lists it, the folder of the Sage 50 SDK and the SDK application key. Set the service to run as the Windows user who will approve it, run portal-on-site test, and allow the application in Sage 50 when the company asks.
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 50 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 50 numbers on the account page. 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 50 quote, with its good-through date becomes an opportunity at Proposal/Price Quote and moves to Closed Won when Portal creates a new Sage 50 sales order from the quote's lines, with a note naming the quote it came from.
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 50 sales invoices, with the amount paid and the balance left and place orders, quotes and returns on the customer's behalf, logged under their name.
How Portal reads Sage 50.
Portal connects to Sage 50 through the On-site connector, a Windows service on the computer that runs Sage 50. For the US edition it reads the company over the company's ODBC data source and writes through the Sage 50 SDK, which runs in a small 32-bit helper installed with the agent. The service runs as the Windows user who allows the application in Sage 50, because Sage grants access per Windows user and per program.
Before writing, the agent checks that the customer is active and not a prospect, that it is not on credit hold (credit status Hold, or Hold Over Limit with the balance over the limit) and that every item is active. Each document starts its note with a portal reference that the agent searches for before writing, on top of its own journal, so a retry never enters it twice. A Sage 50 Canada company is read only for now: customers, bill-to addresses and items.
| Sage 50 record | Read | Write back | Note |
|---|---|---|---|
| Customers and contacts | Yes | No | Prospects skipped; credit hold from the credit status. Canada: customers only |
| Bill-to and ship-to addresses | Yes | No | Canada: bill-to only |
| Inventory items | Yes | No | |
| Price levels | Yes | No | US only; no quantity breaks |
| Quotes | Yes | Yes | US only; a new sales order is created on acceptance |
| Sales orders | Yes | Yes | US only, through the Sage 50 SDK |
| Sales invoices | Yes | No | US only; balance and paid status |
| Receipts (payments) | Yes | Yes | US only; applied to the paid invoices |
| Purchase orders | Yes | Yes | US only; update dates and quantities and cancel lines |
| Stock, shipments and returns | No | No | Not synced from Sage 50 yet |
What it does not do.
- Invoice lines, payment status and credit limits from Sage 50 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 50 and Salesforce, answered.
Can reps see Sage 50 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 50 sales invoices, with the amount paid and the balance left themselves in the rep portal.
Does Salesforce write anything back into Sage 50?
No. Sage 50 owns customers and their contacts. A Salesforce edit to a Sage 50 contact becomes a proposed change that staff approve in Portal, and nothing is written into Sage 50 from Salesforce.
What stops duplicates?
Every account, contact and opportunity carries a Portal ID that Portal upserts on, and orders reaching Sage 50 carry a portal reference at the start of the Sage 50 document note, searched for before every write, plus the agent's own journal.
Does it work with Sage 50 Canada?
Partly. Portal reads customers, bill-to addresses and items from a Sage 50 Canada company, read only. Quotes, orders and receipts are written for the US edition only, so turn quotes and payments off for a Canada company.