Source ERP · 9 of 11

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

CRMPro → MDC — Sage 50 UK: 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-mdc/erps/sage-50-uk (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-mdc is the destination skill this page is a child of, and the authority for the MDC 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
CRM Unit of measure scheduleThe templates push unit of measure schedule to MDC.unit of measure schedule—
CRM unit of measureThe templates push uom to MDC.uom—
CRM Price levelThe templates push price level to MDC.price levelstock items
CRM ProductThe templates push product to MDC.productstock items
CRM sales orderThe templates push sales order to MDC.sales ordersales order lines, e, stock items, sales order headers, sales ledger customers
CRM sales order detailThe templates push sales order detail to MDC.sales order detailsales order lines, sales order headers, sales ledger customers, delivery addresses
CRM invoiceThe templates push invoice to MDC.invoiceinvoice items, e, stock items, invoices, sales ledger customers
CRM invoice detailThe templates push invoice detail to MDC.invoice detailinvoice items, invoices, sales ledger customers, delivery addresses

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
CRM Unit of measure scheduleunit of measure schedulename20
CRM unit of measureuomname21
CRM Price levelprice levelCommercient external key22
CRM ProductproductCommercient external key23
CRM sales ordersales orderCommercient external key24
CRM sales order detailsales order detailCommercient external key25
CRM invoiceinvoiceCommercient external key26
CRM invoice detailinvoice detailCommercient external key27

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
CRM unit of measure schedule feed——
CRM unit of measure feed——
price level feed—stock items
product feedinsert + updatestock items
sales order feed (standard objects)insert + updatesales order lines, e, stock items, sales order headers
sales order line feed (standard objects)insert + updatesales order lines, sales order headers, sales ledger customers, delivery addresses
Sage 50 UK invoice feed (standard objects)insert + updateinvoice items, e, stock items, invoices
invoice line feed (standard objects)insert + updateinvoice items, invoices, sales ledger customers, delivery addresses

4. Order of work

The templates set run sequence to 20, 21, 22, 23, 24, 25, 26, 27. A run processes active rows in ascending run sequence, which is the order the templates put them in:

  • 20 — CRM Unit of measure schedule
  • 21 — CRM unit of measure
  • 22 — CRM Price level
  • 23 — CRM Product
  • 24 — CRM sales order
  • 25 — CRM sales order detail
  • 26 — CRM invoice
  • 27 — CRM invoice detail

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.

  • price level feed reads CRM price book sync output (generic name); no template in this set writes CRM price book sync output (generic name)
  • product feed reads product sync output; no template in this set writes product sync output
  • sales order feed (standard objects) reads CRM price book sync output (generic name), CRM account sync output (generic name), Sage 50 UK customer sync output, sales order sync output (standard objects); no template in this set writes CRM price book sync output (generic name), CRM account sync output (generic name), Sage 50 UK customer sync output, sales order sync output (standard objects)
  • sales order line feed (standard objects) reads sales order sync output (standard objects), product sync output, sales order line sync output (standard objects); no template in this set writes sales order sync output (standard objects), product sync output, sales order line sync output (standard objects)
  • Sage 50 UK invoice feed (standard objects) reads CRM price book sync output (generic name), CRM account sync output (generic name), Sage 50 UK customer sync output, Sage 50 UK invoice sync output (standard objects); no template in this set writes CRM price book sync output (generic name), CRM account sync output (generic name), Sage 50 UK customer sync output, Sage 50 UK invoice sync output (standard objects)
  • invoice line feed (standard objects) reads Sage 50 UK invoice sync output (standard objects), product sync output, invoice line sync output (standard objects); no template in this set writes Sage 50 UK invoice sync output (standard objects), product sync output, invoice line sync output (standard objects)

5. Field mapping

Each template carries its intended mapping in field mapping.

TemplateObjectMapped fieldsFirst ERP → MDC pairs
CRM Unit of measure scheduleunit of measure schedule2name → name, Base unit name → Base unit name
CRM unit of measureuom2name → name, unit of measure schedule lookup → unit of measure schedule lookup
CRM Price levelprice level3Stock code → Commercient external key, Stock category name → name, Description → description
CRM Productproduct6Stock code → name, Stock code → Product number, Stock code → Commercient external key, Description → description, the linked default unit of measure schedule → default unit of measure schedule lookup
CRM sales ordersales order20Order number → Commercient external key, Name → Name, Address 1 → Bill to street 1, Address 2 → Bill to street 2, Address 3 → Bill to city
CRM sales order detailsales order detail15Order number, Item number, Job number → Commercient external key, Order number, Item number, Job number → Name, Address 1 → Ship to street 1, Address 2 → Ship to street 2, Address 3 → Ship to city
CRM invoiceinvoice22Address 1 → Bill to street 1, Address 2 → Bill to street 2, Address 3 → Bill to city, Address line 4 → Bill to state or province, Address line 5 → Bill to postal code
CRM invoice detailinvoice detail14Invoice number, Item number → Commercient external key, Invoice number, Item number → Name, Address 1 → Ship to street 1, Address 2 → Ship to street 2, Address 3 → Ship to city

6. Verifying

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

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