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
| Group | Business outcome | Objects | Source tables and views |
|---|---|---|---|
| CRM Unit of measure schedule | The templates push unit of measure schedule to MDC | unit of measure schedule | — |
| CRM unit of measure | The templates push uom to MDC | uom | — |
| CRM Price level | The templates push price level to MDC | price level | stock items |
| CRM Product | The templates push product to MDC | product | stock items |
| CRM sales order | The templates push sales order to MDC | sales order | sales order lines, e, stock items, sales order headers, sales ledger customers |
| CRM sales order detail | The templates push sales order detail to MDC | sales order detail | sales order lines, sales order headers, sales ledger customers, delivery addresses |
| CRM invoice | The templates push invoice to MDC | invoice | invoice items, e, stock items, invoices, sales ledger customers |
| CRM invoice detail | The templates push invoice detail to MDC | invoice detail | invoice 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 name | Destination object | Matching key | Run sequence |
|---|---|---|---|
| CRM Unit of measure schedule | unit of measure schedule | name | 20 |
| CRM unit of measure | uom | name | 21 |
| CRM Price level | price level | Commercient external key | 22 |
| CRM Product | product | Commercient external key | 23 |
| CRM sales order | sales order | Commercient external key | 24 |
| CRM sales order detail | sales order detail | Commercient external key | 25 |
| CRM invoice | invoice | Commercient external key | 26 |
| CRM invoice detail | invoice detail | Commercient external key | 27 |
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 |
|---|---|---|
| CRM unit of measure schedule feed | — | — |
| CRM unit of measure feed | — | — |
| price level feed | — | stock items |
| product feed | insert + update | stock items |
| sales order feed (standard objects) | insert + update | sales order lines, e, stock items, sales order headers |
| sales order line feed (standard objects) | insert + update | sales order lines, sales order headers, sales ledger customers, delivery addresses |
| Sage 50 UK invoice feed (standard objects) | insert + update | invoice items, e, stock items, invoices |
| invoice line feed (standard objects) | insert + update | invoice 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.
| Template | Object | Mapped fields | First ERP → MDC pairs |
|---|---|---|---|
| CRM Unit of measure schedule | unit of measure schedule | 2 | name → name, Base unit name → Base unit name |
| CRM unit of measure | uom | 2 | name → name, unit of measure schedule lookup → unit of measure schedule lookup |
| CRM Price level | price level | 3 | Stock code → Commercient external key, Stock category name → name, Description → description |
| CRM Product | product | 6 | Stock 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 order | sales order | 20 | Order 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 detail | sales order detail | 15 | Order 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 invoice | invoice | 22 | Address 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 detail | invoice detail | 14 | Invoice 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.