Skip to content
Portalby Webisoft®Book a demo

Integrations / SAP Business One

Show SAP Business One data in Salesforce

Connect SAP Business One and Salesforce to Portal. SAP Business One customers and contacts become Salesforce accounts and contacts, each account can show balance, open orders and credit hold, and every a Business One sales quotation can be tracked as an opportunity.

01What syncs

What reaches Salesforce from SAP Business One.

SalesforceFrom SAP Business OneDirection
AccountEach SAP Business One customer, the Business One business partner, where a frozen partner counts as credit hold (or inactive, if you choose): name, phone and the website from the email domain, matched on a Portal ID fieldPortal writes; unmatched Salesforce accounts come in as company leads
ContactThe SAP Business One contacts of each linked customerPortal writes; contacts made only in Salesforce come into Portal, and an edit to a SAP Business One 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 holdPortal writes, as text fields on the account
OpportunityOne per a Business One sales quotation or order, with its total and close datePortal writes; Salesforce changes to it are not read back
Product (optional)Item code, in-stock and committed quantities by Business One warehouse as on hand and available, and the base pricePortal writes
Lead, Task, NoteSalesforce leads, tasks and notesPortal reads them; workflows, agents and staff can create new ones
02Set it up

Connect SAP Business One and Salesforce.

  1. Point Portal at the Service Layer

    Under Setup, ERP, ERP system, choose SAP Business One and enter the Service Layer address, such as https://yourserver:50000/b1s/v1, the company database (CompanyDB, for example SBODEMOUS) and the Business One user name and password Portal signs in with. Set the base price list, the G/L account that receives portal payments and how long portal quotes stay valid, then choose Test connection.

  2. 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 SAP Business One customers and contacts.

  3. Choose what Portal writes

    Tick Also write balance, open orders, recent orders and credit hold on each Salesforce account so reps see the SAP Business One 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.

  4. 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 Business One sales quotation becomes an opportunity at Proposal/Price Quote and moves to Closed Won when Portal posts a sales order whose lines are copied from the quotation, which closes the quotation in Business One.

  5. 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 Business One A/R invoices and place orders, quotes and returns on the customer's behalf, logged under their name.

03The SAP Business One side

How Portal reads SAP Business One.

Portal connects to SAP Business One through the Service Layer, SAP's OData API, on SAP HANA or Microsoft SQL Server. Your administrator enters the Service Layer address, the company database and a Business One user for Portal; Portal logs in, keeps the session and its cookies, and logs in again once when the Service Layer drops an idle session. For a server inside your network, the On-site connector relay calls the Service Layer from inside and only makes outbound connections, so nothing is published to the internet.

Every document Portal creates carries a portal marker in its remarks, searched before each create, so a retry finds the first document instead of adding another. An accepted quote becomes a sales order whose lines are copied from the quotation, which closes the quotation in Business One. Portal payments are posted as incoming payments applied to the paid A/R invoices, and a frozen business partner is treated as on credit hold, or as inactive if you choose.

SAP Business One recordReadWrite backNote
Business partners (customers)YesYesFrozen partners are on credit hold, or inactive if you choose
Contact persons and addressesYesNoBill-to and ship-to addresses
ItemsYesYes
Price lists and special pricesYesNoPeriod and volume discounts are not read
Stock by warehouseYesNoIn stock, committed and ordered
Sales quotationsYesYesAccepted quotes become an order copied from the quotation lines
Sales ordersYesYes
A/R invoicesYesYesCreated from their base order or delivery lines
Incoming paymentsYesYesApplied to the paid invoices; a surcharge stays on account
DeliveriesYesYesWith shipping type and tracking number
ReturnsYesYes
Purchase ordersYesYesNew orders, plus delivery dates and quantities
AttachmentsNoYes
04Limits

What it does not do.

05FAQ

SAP Business One and Salesforce, answered.

Can reps see SAP Business One 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 Business One A/R invoices themselves in the rep portal.

Does Salesforce write anything back into SAP Business One?

No. SAP Business One owns customers and their contacts. A Salesforce edit to a SAP Business One contact becomes a proposed change that staff approve in Portal, and nothing is written into SAP Business One from Salesforce.

What stops duplicates?

Every account, contact and opportunity carries a Portal ID that Portal upserts on, and orders reaching SAP Business One carry a portal marker in the document remarks that Portal searches before every create.

Does Portal use the DI API or the Service Layer?

The Service Layer, SAP's OData web API for Business One, on SAP HANA or Microsoft SQL Server. Nothing is installed on Business One clients, and Portal keeps its Service Layer session open until it times out instead of logging in for every call.

Related

Keep reading.