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
| Group | Business outcome | Objects | Source tables and views |
|---|---|---|---|
| create customer | ERP customers data becomes company in HubSpot | company | customers |
| create item | The templates push products to HubSpot | products | inventory items |
| create order | The templates push deal to HubSpot | deal | order entry headers, customers |
| create order detail | The templates push line item to HubSpot | line item | order entry lines |
| create invoice | The templates push deal to HubSpot | deal | AR invoice batch headers, customers |
| create invoice detail | The templates push line item to HubSpot | line item | AR invoice batch lines |
| create contact | ERP customers, salespeople data becomes contact in HubSpot | contact | customers, 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 name | Destination object | Run sequence |
|---|---|---|
| create customer | company | 5 |
| create contact | contact | 5 |
| create item | products | 10 |
| create order | deal | 11 |
| create order detail | line item | 12 |
| create invoice | deal | 13 |
| create invoice detail | line item | 14 |
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.
| View | Change detection | Source tables |
|---|---|---|
| new customer feed | insert only | customers |
| new contact feed | insert only | customers, salespeople |
| new item feed | insert only | inventory items |
| new order deal feed | insert only | order entry headers, customers |
| new order line item feed | insert only | order entry lines |
| new invoice deal feed | insert only | AR invoice batch headers, customers |
| new invoice line item feed | insert only | AR 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.
| Template | Object | Mapped fields | First ERP → HubSpot pairs |
|---|---|---|---|
| create customer | company | 9 | ERP 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 contact | contact | 13 | Email 1, Email 2 → email, Contact name → first name property, Contact name → last name property, Contact phone → phone, Contact fax → Fax |
| create item | products | 3 | ERP item number → stock keeping unit property, Item description → name, Item description → description |
| create order | deal | 7 | Order 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 detail | line item | 5 | Item → product lookup property, Order unique key → deal association, Unit price → price, Quantity ordered → quantity, Item → name |
| create invoice | deal | 8 | Invoice 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 detail | line item | 5 | AR 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.