QnectBPM guides Download PDF

Add-on guides · for Sage CRM administrators, and the users who work with Intacct accounts

Qnect BPM Sage Intacct integration

Keep customers, suppliers, contacts, products and prices in step between Sage CRM and Sage Intacct, and post orders.

On this page

The Sage Intacct integration is a Qnect BPM add-on. It links Sage CRM and Sage Intacct with a Qnect connection and a set of ready-made processes, so you can see, change and extend everything it does in the process designer.

It needs its own add-on key, and the Web service connections add-on.

What it does

DataDirectionHow
Customers and suppliersCRM → IntacctA Create Intacct account button on the company makes an Intacct customer (company Type Customer) or supplier (Type Supplier) from the company's name, address, email and phone. Each click makes one more account, so a company can have several.
Customers and suppliersIntacct → CRMEvery 15 minutes, customers and suppliers changed in Intacct come to CRM. A linked account updates its link. An unlinked one is matched to the CRM company with exactly the same name, or a new company is created, and then linked.
Contacts and addressesIntacct → CRMAn account's default contact becomes the company's Business address (and its email and phone, if the company has none yet). Bill-to and ship-to contacts become Billing and Shipping addresses. People on the contact list become CRM people on the company, with their email, phone and address. All are marked From Intacct.
PeopleCRM → IntacctWhen a person marked Sync to Intacct is added or changed, their Intacct contact is created or updated and added to every Intacct account linked to their company. People who came from Intacct always sync back. Nobody else goes to Intacct.
AddressesCRM → IntacctWhen a company address marked Sync to Intacct is added or changed, an Intacct contact holding it is created or updated: the bill-to contact for a Billing address, the ship-to contact for a Shipping address, otherwise just on the contact list.
Products, price lists and pricesIntacct → CRMEvery hour, changed Intacct items become CRM products (product code = Intacct item ID). Every night at 02:30, active price list entries are checked and CRM prices that changed are updated. Each Intacct price list becomes a CRM pricing list of the same name. Nothing goes back to Intacct.
Quotes and ordersCRMAn Intacct account field on quotes and orders lists the company's linked Intacct customer accounts.
OrdersCRM → IntacctA Post to Intacct button on an order makes an Intacct Sales Order for its Intacct account, one line per order line. The result goes in the order's Intacct status field.

Using it in Sage CRM

Create an Intacct account. On a company whose Type is Customer or Supplier, click Run process, then Create Intacct account. The new account appears on the company's Intacct accounts tab.

Sync a person or an address to Intacct. Tick Sync to Intacct on the person or address and save. Changes to people and addresses marked From Intacct go back automatically.

Post an order. Choose the order's Intacct account, then Run process → Post to Intacct. Before posting it checks that the account is a customer of the order's company and that every product came from Intacct. The Intacct status field says what happened, for example the Intacct document number, or why Intacct refused it.

The processes

They show in the Process Library under Show → Sage Intacct integration.

ProcessStartsDoes
Create Intacct account for a companyButton on CompanyCreates the Intacct customer or supplier and the link.
Intacct customers and suppliers to CRMEvery 15 minutes; Run for a full syncPages through changed customers, then suppliers.
Intacct account to CRMStarted by another processLinks, matches or creates the company, then its addresses and people.
Intacct contact to CRM addressStarted by another processOne Intacct contact as a CRM address.
Intacct contact to CRM personStarted by another processOne Intacct contact as a CRM person.
Intacct products to CRMEvery hour; Run for a full syncPages through changed items.
Intacct item to CRM productStarted by another processProduct by code, else by name, else new; then its prices.
Intacct prices to CRMEvery night at 02:30; Run for a full syncChecks active price list entries.
Intacct price to CRMStarted by another processPricing list and price for one entry.
CRM person to Intacct contactPerson added or changedCreates or updates the contact; adds it to each linked account.
CRM address to Intacct contactAddress added or changedCreates or updates the contact; makes it bill-to or ship-to.
Add a contact to an Intacct accountStarted by another processAdds a contact to one account.
Post order to IntacctButton on OrdersPosts the order as a Sales Order.

Setting it up

1. In Sage Intacct

  1. Register an app for the Sage Intacct REST API in the Sage developer portal and note its client ID and client secret. Add your Qnect BPM address followed by /api/connections/callback as the redirect URI, for example http://crmserver/spd/api/connections/callback.
  2. Create an integration user that nobody signs in with in the browser. Signing in to the Intacct web pages as the user who authorised the connection ends its sign-in.
  3. Turn on document sequence numbering for customer and vendor IDs (Accounts Receivable and Accounts Payable configuration), so Intacct numbers the accounts the button creates.
  4. Check that the Order Entry transaction definition you post orders to is called Sales Order. If not, change document_type in the process settings (below).

2. Install the add-on

  1. In Qnect BPM, open the Marketplace tab and click Install on Sage Intacct integration. Enter its key on the Licence tab if it hasn't arrived by itself.

  2. The tile says Sage CRM step needed: click Download Sage CRM component.

  3. In Sage CRM, Administration → Customisation → Component Manager, upload the component, select QnectBPMIntacct in Available components and click Install Component (after the Qnect BPM component). Options:

    OptionWhat to choose
    Add an Intacct accounts tab to CompanyTick.
    For a Post to Intacct button on orders: the order Summary tab's action number1463 on Sage CRM 2026 R1.
    The IntacctAccount table already existsOnly if you made it with the Advanced Customization Wizard.
  4. Refresh metadata (Administration → System → Metadata → Refresh all) and restart the Sage CRM REST service (CRMTomcat9), so REST sees the new table and fields.

  5. Back on the Marketplace tile, choose I've installed it in Sage CRM.

The component adds the Intacct accounts table, the fields below, the Intacct accounts tab on companies and the Post to Intacct button on orders. Installing it again adds only what's missing; uninstalling hides the tab and button and keeps the fields and their data.

EntityFields
PersonSync to Intacct, From Intacct, Intacct contact ID and key
AddressSync to Intacct, From Intacct, Intacct contact ID and key
QuoteIntacct account
OrderIntacct account, Intacct status, Intacct document ID and key
Intacct accountsName, type, Intacct ID, status, currency, source, last sync

3. Finish in Sage CRM

  1. Place the fields with Qnect BPM's Screens tab: the Intacct account on Quote Summary, and the Intacct account, status and document on Order Summary. Give both Intacct account fields this Create script, so they list only the company's customer accounts:

    var oppo = CRM.FindRecord("Opportunity", "oppo_opportunityid=" + (Values("quot_opportunityid") || CRM.GetContextInfo("opportunity", "oppo_opportunityid")));
    if (!oppo.eof && oppo.oppo_primarycompanyid)
      SearchSql = "xact_q_companyid=" + oppo.oppo_primarycompanyid + " and xact_q_type='customer'";
    

    (on the order, use orde_opportunityid). Give the Intacct status and document fields the Create script ReadOnly = true;.

  2. Install the Qnect BPM component again with Run process buttons ticked and these table-level scripts added:

    Person: pers_firstname, pers_lastname, pers_salutation, pers_title, pers_q_synctointacct
    Address|addr_addressid: addr_address1, addr_address2, addr_address3, addr_city, addr_state, addr_postcode, addr_country, addr_q_synctointacct
    
  3. Make sure Qnect BPM uses its own CRM integration user that nobody else uses (Connections → Sage CRM integration user). Otherwise people and addresses that came from Intacct are sent straight back.

4. Connect and switch on

  1. Connections → Sage Intacct: enter the client ID and secret, Save, then Connect and sign in as the Intacct integration user.
  2. In the library, choose Show → Sage Intacct integration and publish the processes (the processes that are started by another process first).
  3. Run Intacct customers and suppliers to CRM, Intacct products to CRM and Intacct prices to CRM once for a full sync. The schedules keep CRM up to date after that.
The Sage Intacct connection and its methods
The Sage Intacct connection with the methods the processes use.

Settings inside the processes

Change these in the process's Settings step (a Set values step), then publish:

ProcessSettingDefault
Intacct price to CRMunit_name: the CRM unit of measure new prices getDefault
currency_id: the CRM currency of the prices3
Post order to Intacctdocument_type: the Intacct transaction definitionSales Order
unit: the Intacct unit sent on every lineEach
location_id: the Intacct location or entity the document is made in100
Intacct item to CRM productthe CRM unit of measure family for new products6000

The schedules are on each pull process's start.

Good to know

  • Email and phone changes on a CRM person go to Intacct the next time the person is saved.
  • Every order line is sent with the unit setting; CRM units of measure aren't mapped to Intacct units yet.
  • If a price arrives before its item, it's skipped; the item brings its prices when it arrives.
  • Only "actual" price list entries become prices; discount and mark-up entries are left out.
  • Sage CRM can't delete a pricing list, or an order with line items, so test data of that kind stays in CRM: rename it.