Source ERP · 13 of 19
CRMPro → Dynamics CRM — Sage 100 2017: what the template catalogue carries
Read it in the terminal with "dlake skills show dlake-crmpro-dynamicscrm/erps/sage-100-2017". It extends the dlake-crmpro-dynamicscrm skill, which holds what is true whatever the source ERP.
CRMPro → Dynamics CRM — Sage 100 2017: what the template catalogue carries
Keep this skill current.
dlakeships updates often and this text is embedded in the CLI you have installed. Before relying on it, comparedlake --versionwithnpm view @commercient/dlake version; if they differ, runnpm install -g @commercient/dlake@latestand thendlake skills install, which overwrites the installed skill files with the current text.
dlake-crmpro is the parent skill and the authority for everything general: the crmpro_* tools,
CRM_Configuration and CRM_FieldList, TimeStampRepository, the three kinds of source view,
the NULL-cursor rule and the silent zero-record run. Read it first; this page does not repeat it.
dlake-crmpro-dynamicscrm is the destination skill this page is a child of, and the authority for
the Dynamics CRM conventions that hold across every ERP: read it first, then come back here for
what this source’s own templates set. This page is
dlake-crmpro-dynamicscrm/erps/sage-100-2017.md, and that skill’s ERP table is what points at it.
The catalogue spells this destination DynamicCRM, so that is the value to pass as a tool
argument — dlake admin crmpro_templates --crmName DynamicCRM — but the product is Dynamics CRM,
which is what this page calls it. The catalogue ships no Standard template for this pair. Its
templates are community templates, authored in a tenant and imported the same way as any other, so
what follows is what that set amounts to — how many templates, which operations they default to,
which destination objects they write and which groups they fall in. A community template’s own
names, notes, field mapping and SQL are tenant content and are not published here; read them with
dlake admin crmpro_templates against the tenant that holds them. This page grows as the
catalogue does.
1. Community templates
The catalogue carries 42 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.
- Templates: 42
- Default operations: insert on 42, update on 42, delete on 42
- Marked circular-sync: 0
- Licence groups they span: 4
- Destination objects:
sage_open_sales_orders,account,pricelevel,product,sage_ar_openinvoice,sage_customer_records,sage_invoice_line_items,sage_invoice_payments,sage_invoices,sage_open_sales_orders_line_items,sage_shipto_address,sage_so_salesorderhistorydetail,sage_so_salesorderhistoryheader,uom,uomschedule,invoice,invoicedetail,quote,quotedetail,sage_ci_item, 3 more and 2 custom objects - Object display names: Account, Sage Customer Records, Sage Invoice Detail, Sage Invoice Header, Sage Invoice Payments, Sage Open Invoice, Sage SalesOrder Detail, Sage SalesOrder Header, Sage Shipto Address, Sage SO History Detail, Sage SO History Header, CRM UOM, 17 more and 2 further templates
- Template groups: CRM Order and Line, Account, CRM Quote and Line
A community template is imported the way a shipped one is, and the same rules apply to what it
creates: read the process it creates with crmpro_get_process, its mapping with
crmpro_field_mapping, and the view it selects from, before activating it.
2. Verifying
# per-prefix counts; every synced record carries its destination id
dlake tool query --profile <tenant> --sql "SELECT LEFT([Key], CHARINDEX(':',[Key])-1) AS prefix, COUNT(*) n, COUNT(NULLIF(SFDCID,'')) withId FROM dbo.TimeStampRepository WHERE CHARINDEX(':',[Key])>0 GROUP BY LEFT([Key], CHARINDEX(':',[Key])-1)"
withId = n for every prefix is the success condition dlake-crmpro defines. The split is on the
first colon, which is the prefix boundary whether the key separator is : or ::.
3. 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 Sage 100 2017 → Dynamics CRM template catalogue carries. dlake-crmpro-dynamicscrm
is the destination skill this page sits under: its own text is the authority for the Dynamics CRM
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 clone tables, 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.