Source ERP · 5 of 27

CRMPro → Zoho CRM — Exact Online: what the shipped templates set up

Read it in the terminal with "dlake skills show dlake-crmpro-zohocrm/erps/exact-online". It extends the dlake-crmpro-zohocrm skill, which holds what is true whatever the source ERP.

CRMPro → Zoho CRM — Exact Online: what the shipped templates set up

Keep this skill current. dlake ships updates often and this text is embedded in the CLI you have installed. Before relying on it, compare dlake --version with npm view @commercient/dlake version; if they differ, run npm install -g @commercient/dlake@latest and then dlake 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-zohocrm is the destination skill this page is a child of, and the authority for the Zoho 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-zohocrm/erps/exact-online.md, and that skill’s ERP table is what points at it. What follows is only what the shipped Exact Online → Zoho CRM templates themselves set, read from their Insert_Query, CreateViewQuery and MappingJson. This page grows as the catalogue does.

1. What the templates deliver

GroupBusiness outcomeObjectsSource tables and views
AccountsThe templates push Accounts to Zoho CRM.AccountsSF_ERP_Salesforce_Clone_Accounts
ExactOnline CustomerThe templates push commercientexactonline__ExactOnline_Customer to Zoho CRM.commercientexactonline__ExactOnline_CustomerSF_ERP_Salesforce_Clone_Accounts
ExactOnline AddressThe templates push commercientexactonline__ExactOnline_Address to Zoho CRM.commercientexactonline__ExactOnline_AddressSF_ERP_Salesforce_Clone_Address
ContactsThe templates push Contacts to Zoho CRM.ContactsSF_ERP_Salesforce_Clone_Contact
ProductsThe templates push Products to Zoho CRM.ProductsSF_ERP_Salesforce_Clone_Items
ExactOnline SalesOrderThe templates push commercientexactonline__ExactOnline_SalesOrder to Zoho CRM.commercientexactonline__ExactOnline_SalesOrderSF_ERP_Salesforce_Clone_SalesOrder
ExactOnline SalesOrderLineThe templates push commercientexactonline__ExactOnline_SO_Line to Zoho CRM.commercientexactonline__ExactOnline_SO_LineSF_ERP_Salesforce_Clone_SalesOrderLine
ExactOnline InvoiceThe templates push commercientexactonline__ExactOnline_Invoice to Zoho CRM.commercientexactonline__ExactOnline_InvoiceSF_ERP_Salesforce_Clone_Invoice
ExactOnline InvoiceLineThe templates push commercientexactonline__ExactOnline_InvoiceLine to Zoho CRM.commercientexactonline__ExactOnline_InvoiceLineSF_ERP_Salesforce_Clone_InvoiceLine, SF_ERP_Salesforce_Clone_Invoice
ExactOnline QuotesThe templates push commercientexactonline__ExactOnline_Quote to Zoho CRM.commercientexactonline__ExactOnline_QuoteSF_ERP_Salesforce_Clone_Quote
ExactOnline QuoteLineThe templates push commercientexactonline__ExactOnline_QuoteLine to Zoho CRM.commercientexactonline__ExactOnline_QuoteLineSF_ERP_Salesforce_Clone_QuoteLine

2. The process rows the templates create

Each template’s Insert_Query writes one CRM_Configuration row. These are the values it sets; a column the inserts never set is not listed.

Display nameCRM_Object_API_NameCRM_PK_API_NameSync_OrderTimeStamp_PrefixSQL_Query targetfield prefix / postfix
AccountsAccountsCommercient_ArCustomer_Code1vw_Account:vw_Exact_Online_Acccount'' / ''
ExactOnline Customercommercientexactonline__ExactOnline_CustomerCommercient_ExternalKey2vw_Customer:vw_Exact_Online_Customercommercientexactonline__ / ''
ExactOnline Addresscommercientexactonline__ExactOnline_AddressCommercient_ExternalKey3vw_Address:vw_Exact_Online_Addresscommercientexactonline__ / ''
ContactsContactsCommercient_ExternalKey4vw_Contact:vw_Exact_Online_Contacts'' / ''
ProductsProductsCommercient_ExternalKey5vw_Products:vw_Exact_Online_Products'' / ''
ExactOnline SalesOrdercommercientexactonline__ExactOnline_SalesOrderCommercient_ExternalKey6vw_SalesOrder:vw_Exact_Online_SalesOrdercommercientexactonline__ / ''
ExactOnline SalesOrderLinecommercientexactonline__ExactOnline_SO_LineCommercient_ExternalKey7vw_SalesOrderLine:vw_Exact_Online_SalesOrderLinecommercientexactonline__ / ''
ExactOnline Invoicecommercientexactonline__ExactOnline_InvoiceCommercient_ExternalKey8vw_Invoice:vw_Exact_Online_Invoicecommercientexactonline__ / ''
ExactOnline InvoiceLinecommercientexactonline__ExactOnline_InvoiceLineCommercient_ExternalKey9vw_InvoiceLine:vw_Exact_Online_InvoiceLinecommercientexactonline__ / ''
ExactOnline Quotescommercientexactonline__ExactOnline_QuoteCommercient_ExternalKey10vw_Quotes:vw_Exact_Online_Quotecommercientexactonline__ / __c
ExactOnline QuoteLinecommercientexactonline__ExactOnline_QuoteLineCommercient_ExternalKey11vw_QuotesLine:vw_Exact_Online_QuoteLinecommercientexactonline__ / __c

Every one of these inserts Is_Active as 0, so an imported process is inactive until an operator activates it. Across the set they insert Is_Create_Entity 0, Is_Create_Fields 0, Is_Active_Get_Records 0, Is_Active_Delete_Records 0. The insert column lists do not include Sync_Operation_Type, Sync_Batch_Size, IsAccountMatching, Document_Source_Path, so those columns take their CRM_Configuration defaults. Text columns a template does not use are inserted as '' rather than left NULL. Get_SOQL_Query carries a query on Accounts, Contacts — those rows read records back from Zoho CRM as well as pushing.

3. The views

Each template creates its view with CreateViewQuery, in the gateway dbo schema. “Change detection” names which of the three kinds dlake-crmpro defines the view’s own WHERE makes it; where a view’s shape is not one of those three the column is left empty and the view’s own WHERE is the authority.

ViewChange detectionRepository keyReads other prefixesIdentity columnSource tables
vw_Exact_Online_Acccountinsert-onlyvw_Account:Commercient_ExternalKey__c, Commercient_ArCustomer_CodeSF_ERP_Salesforce_Clone_Accounts
vw_Exact_Online_Customerinsert + updatevw_Account:, vw_Customer:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_Accounts
vw_Exact_Online_Addressinsert + updatevw_Account:, vw_Customer:, vw_Address:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_Address
vw_Exact_Online_Contactsinsert-onlyvw_Account:, vw_Contact:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_Contact
vw_Exact_Online_Productsinsert-onlyvw_Products:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_Items
vw_Exact_Online_SalesOrderinsert + updatevw_Account:, vw_Customer:, vw_SalesOrder:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_SalesOrder
vw_Exact_Online_SalesOrderLineinsert + updatevw_SalesOrder:, vw_SalesOrderLine:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_SalesOrderLine
vw_Exact_Online_Invoiceinsert + updatevw_Account:, vw_Customer:, vw_SalesOrder:, vw_Invoice:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_Invoice
vw_Exact_Online_InvoiceLineinsert + updatevw_Invoice:, vw_InvoiceLine:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_InvoiceLine, SF_ERP_Salesforce_Clone_Invoice
vw_Exact_Online_Quoteinsert-onlyvw_Account:, vw_Customer:, vw_Quotes:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_Quote
vw_Exact_Online_QuoteLineinsert-onlyvw_Quotes:, vw_QuotesLine:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_QuoteLine

4. Order of work

The templates set Sync_Order from 1 to 11. A run processes active rows in ascending Sync_Order, which is the order the templates put them in:

  • 1 — Accounts
  • 2 — ExactOnline Customer
  • 3 — ExactOnline Address
  • 4 — Contacts
  • 5 — Products
  • 6 — ExactOnline SalesOrder
  • 7 — ExactOnline SalesOrderLine
  • 8 — ExactOnline Invoice
  • 9 — ExactOnline InvoiceLine
  • 10 — ExactOnline Quotes
  • 11 — ExactOnline QuoteLine

These views read another process’s repository prefix, which is what makes the order a dependency order: the row appears in the view only once the process that writes that prefix has run, so a parent flows on one run and its children on the next.

  • vw_Exact_Online_Acccount reads vw_Account:; no template in this set writes vw_Account:
  • vw_Exact_Online_Customer reads vw_Account:, vw_Customer:; no template in this set writes vw_Account:, vw_Customer:
  • vw_Exact_Online_Address reads vw_Account:, vw_Customer:, vw_Address:; no template in this set writes vw_Account:, vw_Customer:, vw_Address:
  • vw_Exact_Online_Contacts reads vw_Account:, vw_Contact:; no template in this set writes vw_Account:, vw_Contact:
  • vw_Exact_Online_Products reads vw_Products:; no template in this set writes vw_Products:
  • vw_Exact_Online_SalesOrder reads vw_Account:, vw_Customer:, vw_SalesOrder:; no template in this set writes vw_Account:, vw_Customer:, vw_SalesOrder:
  • vw_Exact_Online_SalesOrderLine reads vw_SalesOrder:, vw_SalesOrderLine:; no template in this set writes vw_SalesOrder:, vw_SalesOrderLine:
  • vw_Exact_Online_Invoice reads vw_Account:, vw_Customer:, vw_SalesOrder:, vw_Invoice:; no template in this set writes vw_Account:, vw_Customer:, vw_SalesOrder:, vw_Invoice:
  • vw_Exact_Online_InvoiceLine reads vw_Invoice:, vw_InvoiceLine:; no template in this set writes vw_Invoice:, vw_InvoiceLine:
  • vw_Exact_Online_Quote reads vw_Account:, vw_Customer:, vw_Quotes:; no template in this set writes vw_Account:, vw_Customer:, vw_Quotes:
  • vw_Exact_Online_QuoteLine reads vw_Quotes:, vw_QuotesLine:; no template in this set writes vw_Quotes:, vw_QuotesLine:

5. Field mapping

CRM_FieldList carries one row per pushed column, with Object_Name equal to the CRM_Object_API_Name value — as dlake-crmpro puts it, an object with no CRM_FieldList rows pushes nothing and records no error. Each template carries its intended mapping in MappingJson. Read that with dlake admin crmpro_templates, then check crmpro_field_mapping on the created process before activating it.

TemplateObjectMapped fieldsFirst ERP → Zoho CRM pairs
AccountsAccounts12IDCommercient_ExternalKey__c, IDCommercient_ArCustomer_Code__c, NameAccount_Name, AddressLine1, AddressLine2, AddressLine3Billing_Street, CityBilling_City
ExactOnline Customercommercientexactonline__ExactOnline_Customer150IDCommercient_ExternalKey__c, NameName, AccountantAccountant, AccountManagerAccount_Manager, AccountManagerFullNameAccount_Manager_Full_Name
ExactOnline Addresscommercientexactonline__ExactOnline_Address57IDCommercient_ExternalKey__c, IDName, AccountAccount, AccountIsSupplierAccountIs_Supplier, AccountNameAccount_Name
ContactsContacts18AccountAccount_Name, BirthDateDate_Of_Birth, BusinessFaxFax, FirstNameFirst_Name, StartDateDate_met
ProductsProducts7DescriptionProduct_Name, CodeProduct_Code, IDCommercient_ExternalKey__c, DescriptionDescription, CostPriceStandardUnit_Price
ExactOnline SalesOrdercommercientexactonline__ExactOnline_SalesOrder62OrderNumberCommercient_ExternalKey__c, OrderNumberName, AmountDCAmount_DC, AmountDiscountExclVatAmount_Discount_Excl_Vat, AmountFCExclVatAmount_FC_Excl_Vat
ExactOnline SalesOrderLinecommercientexactonline__ExactOnline_SO_Line46IDCommercient_ExternalKey__c, OrderNumber, LineNumberName, AmountDCAmount_DC, AmountFCAmount_FC, CostCenterCost_Center
ExactOnline Invoicecommercientexactonline__ExactOnline_Invoice71InvoiceIDCommercient_ExternalKey__c, InvoiceNumberName, AmountFCAmount_FC, AmountDiscountAmount_Discount, AmountDCAmount_DC
ExactOnline InvoiceLinecommercientexactonline__ExactOnline_InvoiceLine52IDCommercient_ExternalKey__c, InvoiceNumber, LineNumberName, AmountDCAmount_DC, AmountFCAmount_FC, CostCenterCost_Center
ExactOnline Quotescommercientexactonline__ExactOnline_Quote52QuotationIDCommercient_ExternalKey__c, OrderAccountAccount, OrderAccountExactOnline_Customer, QuotationNumberName, AmountDCAmount_DC
ExactOnline QuoteLinecommercientexactonline__ExactOnline_QuoteLine24IDCommercient_ExternalKey__c, QuotationIDExactOnline_Quote__c, QuotationNumber, LineNumberName, AmountDCAmount_DC, AmountFCAmount_FC

6. 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 ::.

The prefixes these templates set:

  • vw_Account:
  • vw_Customer:
  • vw_Address:
  • vw_Contact:
  • vw_Products:
  • vw_SalesOrder:
  • vw_SalesOrderLine:
  • vw_Invoice:
  • vw_InvoiceLine:
  • vw_Quotes:
  • vw_QuotesLine:

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 Exact Online → Zoho CRM templates set up. dlake-crmpro-zohocrm is the destination skill this page sits under: its own text is the authority for the Zoho 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.