Source ERP · 87 of 105

CRMPro → Salesforce — Sage 50 US: 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-salesforce/erps/sage-50-us". It extends the dlake-crmpro-salesforce skill, which holds what is true whatever the source ERP. Both directions for this pair are summarised at /integrations/sage-50-us-salesforce/.

CRMPro → Salesforce — Sage 50 US: 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-salesforce/erps/sage-50-us (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-salesforce is the destination skill this page is a child of, and the authority for the Salesforce 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
GET USERThe templates push users to Salesforce. New records are created, existing ones updated, and records removed in the ERP are deleted.users—
Get PricebookThe templates push Price book entry to Salesforce. New records are created, existing ones updated, and records removed in the ERP are deleted.Price book entry—
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 and existing ones updated; none are deleted.Account, Commercient Sage 50 US AR Terms Managed Custom Object, Contact, Commercient Sage 50 US Customer Managed Custom Object, Commercient Sage 50 US Salesperson Managed Custom Objectcustomers, addresses, contacts, general AR settings, employees
CRM Opportunity and LineERP journal header, Employee, Customer master data becomes Oppertunity, Opportunity line item in Salesforce. New records are created and existing ones updated; none are deleted.Oppertunity, Opportunity line itemjournal headers, employees, customers, journal lines, items
CRM Quote and LineERP journal header, Customer master, Address data becomes Quote, Quote line item in Salesforce. New records are created and existing ones updated; none are deleted.Quote, Quote line itemjournal headers, customers, employees, addresses, journal lines, items
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 Sage 50 US Address Managed Custom Objectaddresses, customers
ProductThe templates push Commercient Line Item Managed Custom Object, Product, Product Reverse Lookup to Salesforce. New records are created, existing ones updated, and records removed in the ERP are deleted.Commercient Line Item Managed Custom Object, Product, Product Reverse Lookupitems
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 Sage 50 US Sales Invoice Header Managed Custom Object, Commercient Sage 50 US Sales Invoice Detail Managed Custom Objectjournal headers, customers, employees, journal lines, items
PricebookThe templates push Price book entry to Salesforce. New records are created and existing ones updated; none are deleted.Price book entryitems
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 Sage 50 US Sales Order Header Managed Custom Object, Commercient Sage 50 US Sales Order Detail Managed Custom Objectjournal headers, customers, journal lines, items

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 objectMatching keyRun sequence
GET USERusers—0
Get Price book entryPrice book entryExternal key (custom field)0
Get ProductProductExternal key (custom field)0
Sage 50 US SalespersonCommercient Sage 50 US Salesperson Managed Custom ObjectCommercient external key1
AccountAccountCommercient AR customer code2
Ship to accountAccountCommercient AR customer code3
ContactContactCommercient external key4
Sage 50 US CustomerCommercient Sage 50 US Customer Managed Custom ObjectCommercient external key5
Customer Reverse Lookup AccountAccountCommercient AR customer code6
Sage 50 US AR termCommercient Sage 50 US AR Terms Managed Custom ObjectCommercient external key7
Sage 50 US AddressCommercient Sage 50 US Address Managed Custom ObjectCommercient external key8
ProductProductCommercient external key (earlier package)9
Sage 50 US Sales Order HeaderCommercient Sage 50 US Sales Order Header Managed Custom ObjectCommercient external key14
Sage 50 US Sales Order DetailCommercient Sage 50 US Sales Order Detail Managed Custom ObjectCommercient external key15
Sage 50 US Sales Invoice HeaderCommercient Sage 50 US Sales Invoice Header Managed Custom ObjectCommercient external key16
Sage 50 US Sales Invoice DetailCommercient Sage 50 US Sales Invoice Detail Managed Custom ObjectCommercient external key17
Sage 50 US Item MasterCommercient Line Item Managed Custom ObjectCommercient external key18
OppertunityOppertunityCommercient AR customer code20
Opportunity line itemOpportunity line itemCommercient AR customer code21
QuoteQuoteCommercient AR customer code22
Quote line itemQuote line itemCommercient AR customer code23
Standard Pricebook CreatePrice book entryExternal key (custom field)24
Standard Pricebook UpdatePrice book entryExternal key (custom field)25

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
item product lookup feedinsert + updateitems
salesperson feedinsert + updateemployees
account feedinsert + updatecustomers, addresses
shipping account feedinsert + updatecontacts, customers, addresses
contact feedinsert + updatecontacts, customers, addresses
customer feedinsert + updatecustomers
customer account lookup feedinsert + updatecustomers
AR terms feedinsert + updategeneral AR settings
address feedinsert + updateaddresses, customers
product feedinsert + updateitems
sales order feedinsert + updatejournal headers, customers
sales order line feedinsert + updatejournal lines, items, customers
sales invoice feedinsert + updatejournal headers, customers, employees
sales invoice line feedinsert + updatejournal lines, items, customers
line item feedinsert + updateitems
opportunity feedinsert + updatejournal headers, employees, customers
opportunity line feedinsert + updatejournal lines, items
quote feedinsert + updatejournal headers, customers, employees, addresses
quote line feedinsert + updatejournal lines, items
standard price book feed (new entries)insert onlyitems
standard price book feed (changes)insert + updateitems

4. Order of work

The templates set run sequence from 0 to 25. A run processes active rows in ascending run sequence, which is the order the templates put them in:

  • 0 — GET USER, Get Price book entry, Get Product
  • 1 — Sage 50 US Salesperson
  • 2 — Account
  • 3 — Ship to account
  • 4 — Contact
  • 5 — Sage 50 US Customer
  • 6 — Customer Reverse Lookup Account
  • 7 — Sage 50 US AR term
  • 8 — Sage 50 US Address
  • 9 — Product
  • 14 — Sage 50 US Sales Order Header
  • 15 — Sage 50 US Sales Order Detail
  • 16 — Sage 50 US Sales Invoice Header
  • 17 — Sage 50 US Sales Invoice Detail
  • 18 — Sage 50 US Item Master
  • 20 — Oppertunity
  • 21 — Opportunity line item
  • 22 — Quote
  • 23 — Quote line item
  • 24 — Standard Pricebook Create
  • 25 — Standard Pricebook Update

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.

  • account feed reads salesperson sync output, user sync output
  • shipping account feed reads account sync output, user sync output, salesperson sync output
  • customer account lookup feed reads customer sync output
  • contact feed reads account sync output
  • opportunity feed reads account sync output
  • opportunity line feed reads product sync output, opportunity sync output
  • quote feed reads account sync output, opportunity sync output
  • quote line feed reads product sync output, quote sync output
  • customer feed reads salesperson sync output, account sync output
  • address feed reads customer sync output, account sync output
  • line item feed reads product sync output
  • sales invoice feed reads customer sync output, account sync output, salesperson sync output
  • sales invoice line feed reads sales invoice sync output, customer sync output, account sync output
  • standard price book feed (new entries) reads product sync output
  • standard price book feed (changes) reads product sync output
  • item product lookup feed reads item sync output, item product lookup sync output; no template in this set writes item product lookup sync output
  • sales order feed reads customer sync output, account sync output, salesperson sync output
  • sales order line feed reads customer sync output, account sync output, sales order sync output

5. Field mapping

Each template carries its intended mapping in field mapping.

TemplateObjectMapped fieldsFirst ERP → Salesforce pairs
Product Reverse LookupProduct Reverse Lookup2Item record number → External key (custom field), the linked Salesforce record → Sage 50 US item master (custom field)
Sage 50 US SalespersonCommercient Sage 50 US Salesperson Managed Custom Object97Employee record number → Commercient external key, Employee global identifier (ERP) → Commercient employee global identifier, Deposit prenote global identifier 4 → Commercient deposit prenote global identifier 4, Supervisor global identifier → Commercient supervisor global identifier, Photo global identifier → Commercient photo global identifier
AccountAccount18Customer identifier → Commercient AR customer code, Customer billing name,Customer identifier → Name, Global identifier → Commercient customer unique identifier, Customer type → Industry, Address line 1,Address line 2 → Billing street
Ship to accountAccount10Customer identifier,Record number → Commercient AR customer code, Customer billing name,Customer identifier,Given name,Family name → Name, Address line 1,Address line 2 → Shipping street, City → Shipping city, State → Shipping state
ContactContact10Record number → Commercient external key, Family name → Family name, Given name → Given name, Email → Email, Address line 1, Address line 2 → Mailing street
Sage 50 US CustomerCommercient Sage 50 US Customer Managed Custom Object91Employee record number → Commercient salesperson, Customer identifier → Commercient account, Global identifier → Commercient global identifier, Row timestamp → Commercient time stamp, Customer identifier → Commercient external key
Customer Reverse Lookup AccountAccount2Customer identifier → Commercient AR customer code, the linked Salesforce record → Commercient Sage 50 US customer record (related record)
Sage 50 US AR termCommercient Sage 50 US AR Terms Managed Custom Object84Global identifier → Commercient external key, Global identifier → Commercient global identifier, Merchant key length (ERP) → Commercient merchant key length, Age by due date (ERP) → Commercient age by due date, Statement plus → Commercient statement plus
Sage 50 US AddressCommercient Sage 50 US Address Managed Custom Object16Address record number → Commercient external key, Address type description → Commercient address type description, Name → Commercient name, Address line 1 → Commercient address line 1, Address line 2 → Commercient address line 2
ProductProduct6Item record number → Commercient external key (earlier package), Item identifier → Name, Item identifier → Product code, Sales description → Description, Location → Default warehouse (product field)
Sage 50 US Sales Order HeaderCommercient Sage 50 US Sales Order Header Managed Custom Object82Customer identifier → Commercient account, Customer identifier → Commercient customer (related record), Employee record number → Commercient salesperson, Row timestamp → Row timestamp, Posting order number → Commercient external key
Sage 50 US Sales Order DetailCommercient Sage 50 US Sales Order Detail Managed Custom Object47Customer identifier → Commercient account, Customer record number (ERP) → Commercient customer (related record), Posting order number → Commercient sales order header (related record), Line global identifier → external key column, Used for reimbursable expense → Used for reimbursable expense
Sage 50 US Sales Invoice HeaderCommercient Sage 50 US Sales Invoice Header Managed Custom Object83Customer identifier → Commercient account, Customer identifier → Commercient customer (related record), Employee record number → Commercient salesperson, Posting order number → Commercient external key, Transaction posted flag → Commercient transaction posted flag
Sage 50 US Sales Invoice DetailCommercient Sage 50 US Sales Invoice Detail Managed Custom Object47Customer identifier → Commercient account, Customer record number (ERP) → Commercient customer (related record), Posting order number → Commercient sales invoice header, Line global identifier → external key column, Purchase or sales order closed (ERP) → Purchase or sales order closed (ERP)
Sage 50 US Item MasterCommercient Line Item Managed Custom Object98Item record number → Commercient external key, the linked Salesforce record → Commercient product, Item identifier → Name, Item description text → Item description text, Item inactive flag → Item inactive flag
OppertunityOppertunity9Posting order number → External key (custom field), the linked Salesforce account record → account lookup, the linked Salesforce price book record → price book lookup
Opportunity line itemOpportunity line item7Item identifier → product lookup, Posting order number → Opportunity, Posting order number, Line row number → external key column, Cost record number → Unit price, Quantity → Quantity
QuoteQuote18Posting order number → External key (custom field), Posting order number → Name, the linked Salesforce record → Opportunity identifier, the linked Salesforce record → account lookup, Status → Status
Quote line itemQuote line item8Posting order number, Line row number → External key (custom field), Item identifier → product lookup, Posting order number → Quote, Quantity → Quantity, Line date → Service date
Standard Pricebook CreatePrice book entry5the linked Salesforce record → product lookup, the linked Salesforce record → price book lookup, Active → Active, Price level 1 amount → Unit price, Item record number → External key (custom field)
Standard Pricebook UpdatePrice book entry3Active → Active, Price level 1 amount → Unit price, Item record number → External key (custom field)

6. Community templates

The catalogue carries 438 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: 438
  • Default operations: insert on 438, update on 438, delete on 438
  • Marked as circular sync: 11
  • Licence groups they span: 18
  • Destination objects: Account, Product, Commercient Sage 50 US Sales Invoice Header Managed Custom Object, Commercient Sage 50 US Customer Managed Custom Object, Commercient Sage 50 US Address Managed Custom Object, Commercient Sage 50 US Sales Order Detail Managed Custom Object, Commercient Sage 50 US Sales Order Header Managed Custom Object, Commercient Sage 50 US Sales Invoice Detail Managed Custom Object, Contact, Commercient Sage 50 US Salesperson Managed Custom Object, Commercient Sage 50 US AR Terms Managed Custom Object, Commercient Line Item Managed Custom Object, Price book entry, Opportunity, Commercient Sage 50 US Purchase Order Detail Managed Custom Object, Commercient Sage 50 US Purchase Order Header Managed Custom Object, Commercient Sage 50 US Vendors Managed Custom Object, Oppertunity, User, 22 more and 7 custom objects
  • Object display names: Account, Customer Reverse Lookup Account, Sage 50 US Sales Invoice Header, Sage 50 US Address, Sage 50 US Customer, Sage 50 US Sales Invoice Detail, Sage 50 US Sales Order Detail, Sage 50 US Sales Order Header, Contact, Sage 50 US Salesperson, Sage 50 US AR term, Product, 68 more and 10 further templates
  • Template groups: Account, Product, Invoice, Sales order, Customer Multi Ship Addresses, CRM Opportunity and Line, Purchase Order, CRM Quote and Line, CRM Order and Line, Invoice History Headers, Opportunity, Quote line number

7. Verifying

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

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 50 US → Salesforce templates set up. dlake-crmpro-salesforce is the destination skill this page sits under: its own text is the authority for the Salesforce 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-salesforce/erps/sage-50-us, 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.