Show ECI Deacom data in Salesforce
Connect Deacom and Salesforce to Portal. Deacom customers and contacts become Salesforce accounts and contacts, each account can show balance, open orders and credit hold, and every a Deacom sales quote with its expiration date can be tracked as an opportunity.
What reaches Salesforce from Deacom.
| Salesforce | From Deacom | Direction |
|---|---|---|
| Account | Each Deacom customer, the Deacom customer row, where the CreditHold flag stops new orders and Inactive customers are refused: 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 Deacom contacts of each linked customer | Portal writes; contacts made only in Salesforce come into Portal, and an edit to a Deacom 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 Deacom sales 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, on hand less allocated quantities by Deacom facility 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 Deacom and Salesforce.
Enter the Deacom API server and ECI credentials
Under Setup, ERP, ERP system, choose ECI Deacom and enter your Deacom API server address, such as https://yoursite.deacomcloud.com:5002, the client ID and client secret ECI issued for the Public API, and your company currency. Optionally name the facility new orders go to and any table whose name differs on your site, then choose Test connection: it reads one row of each table and lists any table or column Portal cannot see.
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 Deacom 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 Deacom 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 Deacom sales quote with its expiration date becomes an opportunity at Proposal/Price Quote and moves to Closed Won when Portal copies the quote lines into a new Deacom sales order at the quoted prices, after a credit hold check, and marks the quote Converted with the order linked.
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 the Deacom invoices Portal billed from your sales orders, each carrying its balance and place orders, quotes and returns on the customer's behalf, logged under their name.
How Portal reads Deacom.
Portal connects to ECI Deacom through the Deacom Public API on your Deacom site. Your administrator enters the API server address, the client ID and secret ECI issued and the company currency; Portal asks for a 15 minute token, keeps it until a minute before it expires and asks again on a 401. Table names can be set where your site differs, and the connection test names any table or column Portal cannot see. For an API server inside your network, the On-site connector relays the calls with outbound connections only.
Portal reads customers, ship-tos, items, inventory by facility, sales orders, vendors, purchase orders and jobs with their materials by row version, so each sync only reads what changed. Documents are written as a header and then each line, with a portal marker in the header's Reference column that is looked up before every create, so a retry finishes a half written document instead of doubling it. Customers flagged CreditHold cannot order, and an accepted quote is copied into a sales order and marked Converted.
| Deacom record | Read | Write back | Note |
|---|---|---|---|
| Customers | Yes | Yes | CreditHold blocks new orders; inactive customers cannot order |
| Ship-tos | Yes | Yes | Written with a new customer |
| Items | Yes | Yes | With product code and unit of measure |
| Item prices | Yes | Yes | The item price as base price; customer pricing is not read |
| Inventory by facility | Yes | Yes | On hand minus allocated; adjustments and transfers |
| Sales orders | Yes | Yes | With requested ship date and line promise dates |
| Sales quotes | No | Yes | Accepted quotes are copied into a sales order and marked Converted |
| Shipments | No | Yes | Shipped quantities are read on the order lines |
| RMAs | No | Yes | |
| Invoices and credit memos | No | Yes | Invoices entered in Deacom are not read yet |
| Cash receipts | No | Yes | One line per paid invoice, up to its balance |
| Purchase orders | Yes | Yes | Receipts, due dates and quantities |
| Jobs and job materials | Yes | Yes |
What it does not do.
- Invoice lines, payment status and credit limits from Deacom 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.
Deacom and Salesforce, answered.
Can reps see Deacom 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 the Deacom invoices Portal billed from your sales orders, each carrying its balance themselves in the rep portal.
Does Salesforce write anything back into Deacom?
No. Deacom owns customers and their contacts. A Salesforce edit to a Deacom contact becomes a proposed change that staff approve in Portal, and nothing is written into Deacom from Salesforce.
What stops duplicates?
Every account, contact and opportunity carries a Portal ID that Portal upserts on, and orders reaching Deacom carry a portal marker in the header Reference column, so a retry finds the header and adds only its missing lines.
Which Deacom API does Portal use?
The Deacom Public API, the CRUD API over Deacom tables available from 17.03.008. Portal signs in with the client ID and secret from ECI, renews the 15 minute token itself and reads only rows whose Row Version changed since the last sync.