Integration

Sage 200 US and Salesforce

Sage 200 US to Salesforce. Both directions are separate sync products, configured independently, and this page shows what the shipped catalogue sets up for this pair.

  • Phase 1 · forward sync
  • No Phase 2 for this pair
How Sage 200 US and Salesforce are connectedCommercient Sync Agent reads Sage 200 US into the Data Lake and CRMPro pushes from the Data Lake into Salesforce. No write-back from Salesforce to Sage 200 US ships for this pair.Sage 200 USyour ERPData LakeCommercientSalesforceyour CRMSync AgentCRMProPhase 1 · forward syncPhase 2 · no write-back shipped for this pair

In plain wordsRecords from Sage 200 US are pushed into Salesforce. There is no shipped write-back in the other direction for this pair.

Phase 1 — Sage 200 US to Salesforce

What you getRecords from Sage 200 US become AP vendor (custom object), Commercient Location Managed Custom Object, Work order master (custom object), Work order line (custom object), users, accounts, contacts, Commercient Salesperson Managed Custom Object, Sage 200 US invoice payments (custom object), Commercient Customer Shipping Address Managed Custom Object, Commercient AR Address Managed Custom Object, Commercient Item Location Managed Custom Object, Commercient Inventory Item Managed Custom Object, Bill of materials header (custom object), Bill of materials line (custom object), products, Commercient Invoice Header Managed Custom Object, Commercient Invoice Detail Managed Custom Object, Price book entry, Purchase order master (custom object), Purchase order line (custom object), Commercient Customer Master Managed Custom Object, Commercient Sales Order Header Managed Custom Object, Commercient Sales Order Detail Managed Custom Object in Salesforce. New records are created and existing ones updated.

GroupBusiness outcomeObjectsSource tables and views
Sage 200 US Vendor MasterERP AP vendor data becomes AP vendor (custom object) in Salesforce. New records are created and existing ones updated; none are deleted.AP vendor (custom object)vendors
LocationERP location data becomes Commercient Location Managed Custom Object in Salesforce. New records are created and existing ones updated; none are deleted.Commercient Location Managed Custom Objectlocations
Sage 200 US Work order HeaderERP AR customer, sales order master, salesperson master data becomes Work order master (custom object) in Salesforce. New records are created and existing ones updated; none are deleted.Work order master (custom object)work orders, sales order headers, customers, salespeople
Sage 200 US Work order LineERP Inventory item, work order master, work order transaction data becomes Work order line (custom object) in Salesforce. New records are created and existing ones updated; none are deleted.Work order line (custom object)work order lines, work orders, inventory items
GET USERThe templates push users to Salesforce. New records are created, existing ones updated, and records removed in the ERP are deleted.users—
AccountIn addition to creating the Account record from your ERP customer records, Commercient syncs over the entire Accounting AR Customer record into a Commercient AR Customer object which is a Managed Custom Object (MCO). A lookup field is provided to lookup to the default AR Customer record MCO from the Account record. New records are created, existing ones updated, and records removed in the ERP are deleted.Account, Contact, Commercient Salesperson Managed Custom Objectcustomers, customer shipping addresses, salespeople
AR Invoice PaymentsCommercient Syncs the payment details that are held in the receivables file and held against an invoice in the ERP. The amount received from a customer, the date of payment, the method of payment, whether partial or full payment, etc New records are created and existing ones updated; none are deleted.Sage 200 US invoice payments (custom object)cash receipts, AR invoice headers, customers
Customer Multi Ship AddressesIf you are using multiple ship to addresses for a given AR Customer in your ERP system then you will be able to see all the addresses inside the CRM Account screen in a Commercient Multi Ship To Address MCO related list. New records are created and existing ones updated; none are deleted.Commercient Customer Shipping Address Managed Custom Object, Commercient AR Address Managed Custom Objectcustomer shipping addresses, customers, salespeople, AR addresses, AR invoice headers
ProductERP item location, Inventory item, location data becomes Commercient Item Location Managed Custom Object, Commercient Inventory Item Managed Custom Object, Bill of materials header (custom object) in Salesforce. New records are created and existing ones updated; none are deleted.Commercient Item Location Managed Custom Object, Commercient Inventory Item Managed Custom Object, Bill of materials header (custom object), Bill of materials line (custom object), Productitem locations, inventory items, from, to, locations, bills of materials
InvoiceBoth Open and Historical invoices are synchronized. Open invoice changes, such as a balance change, or a terms change are reflected in the CRM as they sync based on the frequency of the sync you have chosen (every hour, for example). New records are created and existing ones updated; none are deleted.Commercient Invoice Header Managed Custom Object, Commercient Invoice Detail Managed Custom ObjectAR invoice headers, sales order headers, customers, AR invoice lines, inventory items
PricebookERP Inventory item data becomes Price book entry in Salesforce. New records are created and existing ones updated; none are deleted.Price book entryinventory items
Purchase OrderERP purchase order master, AP vendor, location data becomes Purchase order master (custom object) in Salesforce. New records are created and existing ones updated; none are deleted.Purchase order master (custom object)purchase order headers, vendors, locations, salespeople
Purchase Order LineERP purchase order transaction, purchase order master, Inventory item data becomes Purchase order line (custom object) in Salesforce. New records are created and existing ones updated; none are deleted.Purchase order line (custom object)purchase order lines, purchase order headers, inventory items
Sales orderCommercient will sync the Sales Orders from the ERP Sales Order Entry module to the Commercient Sales Order Header (MCO) objects in CRM. In the CRM, customer service and sales people can visualize the status of the order such as on hold, backorder, forward order, scheduled for delivery, whether it has shipped, and completion status. New records are created and existing ones updated; none are deleted.Commercient Customer Master Managed Custom Object, Commercient Sales Order Header Managed Custom Object, Commercient Sales Order Detail Managed Custom Objectcustomers, salespeople, sales order headers, locations, sales order lines

Destination objects

  • AP vendor (custom object)
  • Commercient Location Managed Custom Object
  • Work order master (custom object)
  • Work order line (custom object)
  • users
  • Account
  • Contact
  • Commercient Salesperson Managed Custom Object
  • Sage 200 US invoice payments (custom object)
  • Commercient Customer Shipping Address Managed Custom Object
  • Commercient AR Address Managed Custom Object
  • Commercient Item Location Managed Custom Object
  • Commercient Inventory Item Managed Custom Object
  • Bill of materials header (custom object)
  • Bill of materials line (custom object)
  • Product
  • Commercient Invoice Header Managed Custom Object
  • Commercient Invoice Detail Managed Custom Object
  • Price book entry
  • Purchase order master (custom object)
  • Purchase order line (custom object)
  • Commercient Customer Master Managed Custom Object
  • Commercient Sales Order Header Managed Custom Object
  • Commercient Sales Order Detail Managed Custom Object

Phase 2 — Salesforce back to Sage 200 US

Setting up Sage 200 US and Salesforce from the CLI

One wizard stands the tenant up, and it is the same five steps for every pair: register, capture the server IP, connect the CRM, declare the ERP connector, then import and enable the sync processes. What changes between pairs is the CRM’s connection mode and the ERP’s connector type.

1. Register the tenant

Registration creates the account, emails a verification link, and — once the Data Lake is seeded — prints a once-only bootstrap API key valid for seven days. The three consent flags are the registrant’s own decision, and the server refuses start without all three.

# which instance types sign-up accepts - run this first and use Sage 200 US's code below
$ dlake register erps

# the three consent flags are the registrant’s decision - ask before passing them
$ dlake register start --generate-password \
$   --email <email> --company "<Company Name>" --phone <tel> \
$   --instance-type <code from dlake register erps> \
$   --consent-crm-backup --consent-erp-backup --consent-phone

# after the human clicks the verification link: watch for the seed and catch the key
$ dlake register status --watch

# the bootstrap key expires in 7 days - mint a durable one while it is still valid
$ dlake admin create_api_key --keyName "<tenant>-setup" --expirationDays 90

2. Connect Salesforce and declare Sage 200 US

Steps 3 to 5 of the wizard are admin-plane tools, they are safe to re-run, and the server enforces their order — attempt the CRM step before the server IP is captured and it answers 409 naming the step you skipped.

# the authoritative answer to where a registration got to - first call when resuming
$ dlake admin registration_state

# step 3: record the server IP (a prerequisite for the CRM step)
$ dlake admin registration_capture_server_ip --ipAddress <ip>

# step 4: the catalog lists every CRM with its authMode and the fields it needs
$ dlake admin registration_crm_catalog
$ dlake admin registration_crm_select --crmName Salesforce
# an OAuth CRM: the catalog’s callbackMode says which leg this one takes
$ dlake registration oauth --crm Salesforce
# this provider’s flow ends in a PIN, emailed by the complete call itself; the verb reads it hidden (or --pin-stdin)
$ dlake registration pin --crm Salesforce
# the connection is incomplete without this call, however healthy the rest looks
$ dlake registration action --crm Salesforce --action SalesforceSetup
$ dlake admin registration_crm_finalize

# step 5: the catalog lists the connector types and the fields each one needs
$ dlake admin registration_connector_catalog
$ dlake admin registration_connector_submit \
$   --connectorType <type from the catalog> --erpName <Sage 200 US code> --fields @fields.json
$ dlake admin registration_connector_provision
$ dlake admin registration_provisioning_status

3. Review and enable the Phase 1 processes

The shipped templates listed above are what crmpro_apply_template imports. Every one of them imports its process inactive, so an imported process does nothing until an operator activates it — read the process and its field mapping first, because an object with no mapped fields pushes nothing and records no error.

# the default-template catalog, and the mapping each template carries
$ dlake admin crmpro_templates --profile <tenant>

# what exists on the tenant now, and the master sync flag
$ dlake admin crmpro_list_processes --profile <tenant>
$ dlake admin crmpro_sync_status --profile <tenant>

# read a process and its field mapping BEFORE activating it
$ dlake admin crmpro_get_process --profile <tenant> --recordId <id>
$ dlake admin crmpro_field_mapping --profile <tenant> --recordId <id>

# turn the forward sync on
$ dlake admin crmpro_set_sync_enabled --profile <tenant> --enabled true

Processes run in a fixed order, and that order is a dependency order: a process that depends on another’s records sees them only once that process has run, so a parent flows on one run and its children on the next. The full order for this pair is on the Phase 1 page.

The wizard in full, including resuming a setup days later: Setting up an integration with dlake · Registering a new Data Lake · CRMPro (forward sync).

Source on GitHub

This page is generated from the skill pages in the dlake CLI repository. Those pages are the authority; if they disagree with anything here, they are right.

Sage 200 US and Salesforce: common questions

Which way does data move between Sage 200 US and Salesforce?

One way. Phase 1 (CRMPro) pushes Sage 200 US records into Salesforce. The repository ships no TxDownloaderPro write-back for this pair, so there is no supported Phase 2 from Salesforce back to Sage 200 US.

What do Phase 1 and Phase 2 mean?

They are the two sync products the on-premises agent can run. Phase 1 is CommercientCRMPro, product 11, the forward sync from the source system into the CRM. Phase 2 is CommercientTxDownloaderPro, product 22, the write-back in the other direction. Registering a product says what to run; the Phase 1 and Phase 2 configuration says what it runs on.

What does the forward sync into Salesforce actually create?

The shipped catalogue carries 14 template groups for this pair: Sage 200 US Vendor Master, Location, Sage 200 US Work order Header, Sage 200 US Work order Line, GET USER, Account, AR Invoice Payments, Customer Multi Ship Addresses and 6 more. Each group sets up its own sync process, and the integration page says what each one delivers.

Which Salesforce objects does the forward sync write?

AP vendor (custom object), Commercient Location Managed Custom Object, Work order master (custom object), Work order line (custom object), users, Account, Contact, Commercient Salesperson Managed Custom Object and 16 more. Those are the kinds of Salesforce record the shipped templates write for a Sage 200 US source; nothing else is written unless you add templates of your own.

Does the forward sync delete anything in the CRM?

Each template group carries its own insert, update and delete flags, and the integration page lists what each group does. Read a process with dlake admin crmpro_get_process before activating it.

Is there a write-back from Salesforce to Sage 200 US?

No. The repository ships no TxDownloaderPro page for Salesforce into Sage 200 US, so changes made in Salesforce are not carried back to Sage 200 US by a supported process. Only the Phase 1 forward sync exists for this pair.

View moreShow less
Can an AI agent set this up?

Yes, over the admin control plane or the CLI — the same tools either way. The crmpro_* tools cover listing, reading, creating and updating processes. They need a full-scope key that belongs to a user holding the Admin role, and every write is audited.

Where is the authoritative source for this pair?

The skill pages in the dlake CLI repository, which is where this page is generated from. The forward sync page is linked at the foot of the integration page, and the same text is readable in the terminal with dlake skills show.

Related

Every ERP and CRM integration · CRMPro (forward sync) · TxDownloaderPro (writeback sync) · AI agents & MCP · Salesforce integrations on commercient.com