Source ERP · 73 of 89

CRMPro → HubSpot — Sage 300: what the shipped templates set up

This is the capability summary the dlake CLI repository publishes; whitelisted customers fetch the operational skill with "dlake admin get_skill dlake-crmpro-hubspot/erps/sage-300". It extends the dlake-crmpro-hubspot skill, which holds what is true whatever the source ERP. Both directions for this pair are summarised at /integrations/sage-300-hubspot/.

CRMPro → HubSpot — Sage 300: what the shipped templates set up

This is a capability summary, not an operating guide. To receive the operational skill you must be a registered, whitelisted Commercient customer. Whitelisted customers fetch it with dlake admin get_skill dlake-crmpro-hubspot/erps/sage-300 (or list_skills) against the Commercient admin plane. Existing customers who need access or help: contact support@commercient.com. New customers: contact sales@commercient.com to become a customer and be whitelisted.

dlake-crmpro is the parent skill and the authority for everything general: the CRMPro tools, process configuration and field list, the sync history, how source data is selected, and what a run that finds nothing does. Read it first; this page does not repeat it. dlake-crmpro-hubspot is the destination skill this page is a child of, and the authority for the HubSpot conventions that hold across every ERP: read it first, then come back here for what this source’s own templates set. This page grows as the catalogue does.

1. What the templates deliver

GroupBusiness outcomeObjectsSource tables and views
create customerERP customers data becomes company in HubSpot. New records are created and existing ones updated; none are deleted.companycustomers
create itemThe templates push products to HubSpot. New records are created and existing ones updated; none are deleted.productsinventory items
create orderThe templates push deal to HubSpot. New records are created and existing ones updated; none are deleted.dealorder entry headers, customers
create order detailThe templates push line item to HubSpot. New records are created and existing ones updated; none are deleted.line itemorder entry lines
create invoiceThe templates push deal to HubSpot. New records are created and existing ones updated; none are deleted.dealAR invoice batch headers, customers
create invoice detailThe templates push line item to HubSpot. New records are created and existing ones updated; none are deleted.line itemAR invoice batch lines
create contactERP customers, salespeople data becomes contact in HubSpot. New records are created and existing ones updated; none are deleted.contactcustomers, salespeople

2. The process rows the templates create

Each template’s setup writes one process configuration row. These are the values it sets; a column the inserts never set is not listed.

Display nameDestination objectRun sequence
create customercompany5
create contactcontact5
create itemproducts10
create orderdeal11
create order detailline item12
create invoicedeal13
create invoice detailline item14

Every one of these inserts the active setting as 0, so an imported process is inactive until an operator activates it.

3. The views

“Change detection” names which of the three kinds dlake-crmpro defines the view’s own filter makes it; where a view’s shape is not one of those three the column is left empty and the view’s own filter is the authority.

ViewChange detectionSource tables
new customer feedinsert onlycustomers
new contact feedinsert onlycustomers, salespeople
new item feedinsert onlyinventory items
new order deal feedinsert onlyorder entry headers, customers
new order line item feedinsert onlyorder entry lines
new invoice deal feedinsert onlyAR invoice batch headers, customers
new invoice line item feedinsert onlyAR invoice batch lines

4. Order of work

The templates set run sequence to 5, 10, 11, 12, 13, 14. A run processes active rows in ascending run sequence, which is the order the templates put them in:

  • 5 — create customer, create contact
  • 10 — create item
  • 11 — create order
  • 12 — create order detail
  • 13 — create invoice
  • 14 — create invoice detail

Several of these rows share a run sequence value: each template group carries its own numbering, so give the imported processes an order across the whole set rather than taking the template values as one.

These views read another process’s sync output, which is what makes the order a dependency order: the row appears in the view only once the process that writes that sync output has run, so a parent flows on one run and its children on the next.

  • new order deal feed reads new customer sync output, Order; no template in this set writes Order
  • new order line item feed reads new item sync output, Order; no template in this set writes Order
  • new invoice deal feed reads new customer sync output, invoice record sync output (generic name); no template in this set writes invoice record sync output (generic name)
  • new invoice line item feed reads new item sync output, invoice record sync output (generic name); no template in this set writes invoice record sync output (generic name)
  • new contact feed reads new customer sync output, new owner sync output; no template in this set writes new owner sync output

5. Field mapping

Each template carries its intended mapping in field mapping.

TemplateObjectMapped fieldsFirst ERP → HubSpot pairs
create customercompany9ERP customer number → Commercient AR customer code, Customer name → name, Street address line 1 → address, Street address line 2 → address line 2 property, Customer city → city property
create contactcontact13Email 1, Email 2 → email, Contact name → first name property, Contact name → last name property, Contact phone → phone, Contact fax → Fax
create itemproducts3ERP item number → stock keeping unit property, Item description → name, Item description → description
create orderdeal7Order total → amount, Completion date → close date property, Order date → create date property, Order unique key, Customer name → deal name property, the linked Salesforce record → company association
create order detailline item5Item → product lookup property, Order unique key → deal association, Unit price → price, Quantity ordered → quantity, Item → name
create invoicedeal8Invoice total amount → amount, Due date → close date property, Invoice date → create date property, Invoice number → deal name property, ERP customer number → company association
create invoice detailline item5AR item number → product lookup property, Batch number → deal association, Price amount → price, Quantity invoiced → quantity, AR item number → name

6. Community templates

The catalogue carries 74 community templates for this pair. A community template is authored in a tenant rather than shipped with the product, and it imports the same way as any other. Its own names, notes, field mapping and SQL are tenant content, so what this section states is what the set amounts to: how many templates there are, what they default to doing, which destination objects they write and which groups they fall in. They are not part of the shipped set described above.

  • Templates: 74
  • Default operations: insert on 74, update on 74, delete on 74
  • Marked as circular sync: 0
  • Licence groups they span: 7
  • Destination objects: line item, deal, company, contact, products, Commercient Account Matching object, Commercient Contact Matching object, Commercient HubSpot New Item object, invoice, order and 5 custom objects
  • Object display names: upsert contact, upsert customer, upsert order detail, create order detail, upsert invoice, upsert invoice detail, upsert order, create invoice detail, create order, upsert item, create contact, create customer, 20 more and 6 further templates
  • Template groups: Account, CRM Opportunity and Line, CRM Order and Line, Product

7. Verifying

The detail of this section is part of the operational skill. Whitelisted customers fetch it with dlake admin get_skill dlake-crmpro-hubspot/erps/sage-300.

8. Where this sits

dlake-crmpro is the general operating surface — the CRMPro tools, the setup and transaction tables, field mapping, and the source view contract that applies to every destination. This page adds what the shipped Sage 300 → HubSpot templates set up. dlake-crmpro-hubspot is the destination skill this page sits under: its own text is the authority for the HubSpot conventions that hold across every ERP, and its ERP table lists this page alongside every sibling ERP page for this destination. For the extract leg that fills the source data, see dlake-normalsync; for the on-premises agent that runs it, dlake-syncagent; for the writeback leg, dlake-txdownloaderpro; for standing an integration up, dlake-integration-setup.

How to get started

  • Already a customer: the operational skill tells you how to connect, choose what to sync and run it. Fetch it with dlake admin get_skill dlake-crmpro-hubspot/erps/sage-300, or ask support@commercient.com.
  • New to Commercient: contact sales@commercient.com. Becoming a customer includes registration and whitelisting, after which the operational skills and tools are available to you.