Source ERP · 18 of 27

CRMPro → Zoho CRM — Sage 100 (US): what the shipped templates set up

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

CRMPro → Zoho CRM — Sage 100 (US): 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/sage-100-us.md, and that skill’s ERP table is what points at it. What follows is only what the shipped Sage 100 (US) → 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
AccountThe templates push Accounts to Zoho CRM.AccountsSF_ERP_Salesforce_Clone_AR_CUSTOMER, SF_ERP_Salesforce_Clone_SO_SHIPTOADDRESS
Sage100 CustomerThe templates push sage100premium__CI_Iem to Zoho CRM.sage100premium__CI_IemSF_ERP_Salesforce_Clone_AR_CUSTOMER
Sage100 Ship To AddressThe templates push sage100premium__SO_ShipToAddress to Zoho CRM.sage100premium__SO_ShipToAddressSF_ERP_Salesforce_Clone_SO_SHIPTOADDRESS
Sage100 Sales PersonThe templates push sage100premium__Ar_SalesPerson to Zoho CRM.sage100premium__Ar_SalesPersonSF_ERP_Salesforce_Clone_AR_SALESPERSON
ProductsThe templates push Products to Zoho CRM.ProductsSF_ERP_Salesforce_Clone_CI_ITEM, SF_ERP_Salesforce_Clone_CI_EXTENDEDDESCRIPTION
ContactsThe templates push Contacts to Zoho CRM.ContactsSF_ERP_Salesforce_Clone_AR_CUSTOMERCONTACT, SF_ERP_Salesforce_Clone_AR_CUSTOMER
Sage100 Item MasterThe templates push sage100premium__CI_Item to Zoho CRM.sage100premium__CI_ItemSF_ERP_Salesforce_Clone_CI_ITEM
QuotesThe templates push Quotes to Zoho CRM.QuotesSF_ERP_Salesforce_Clone_SO_SALESORDERDETAIL, SF_ERP_Salesforce_Clone_SO_SALESORDERHEADER, SF_ERP_Salesforce_Clone_AR_CUSTOMER, SF_ERP_Salesforce_Clone_SO_SHIPTOADDRESS, x
Sage100 Sales Order HeaderThe templates push sage100premium__SO_SalesOrdrHistoryHeader to Zoho CRM.sage100premium__SO_SalesOrdrHistoryHeaderSF_ERP_Salesforce_Clone_SO_SALESORDERHEADER
Sage100 Sales Order DetailThe templates push sage100premium__SO_SalesOrderHistoryDetai to Zoho CRM.sage100premium__SO_SalesOrderHistoryDetaiSF_ERP_Salesforce_Clone_SO_SALESORDERDETAIL, SF_ERP_Salesforce_Clone_SO_SALESORDERHEADER
Sage100 Invoice HeaderThe templates push sage100premium__Ar_InvoiceHistoryHeader to Zoho CRM.sage100premium__Ar_InvoiceHistoryHeaderSF_ERP_Salesforce_Clone_AR_INVOICEHISTORYHEADER, CommercientFlags
Sage100 Invoice DetailThe templates push sage100premium__Ar_InvoiceHistoryDetail to Zoho CRM.sage100premium__Ar_InvoiceHistoryDetailSF_ERP_Salesforce_Clone_AR_INVOICEHISTORYDETAIL, SF_ERP_Salesforce_Clone_CI_ITEM
Sage100 Transcation Payment HistoryThe templates push sage100premium__ArTransactionPaymtHistory to Zoho CRM.sage100premium__ArTransactionPaymtHistorySF_ERP_Salesforce_Clone_AR_TRANSACTIONPAYMENTHISTORY
Sage100 WarehouseThe templates push sage100premium__LM_Item_Warehouse to Zoho CRM.sage100premium__LM_Item_WarehouseSF_ERP_Salesforce_Clone_IM_ITEMWAREHOUSE
Sage100 Product Price BookThe templates push Products:Price_Books to Zoho CRM.Products:Price_BooksSF_ERP_Salesforce_Clone_CI_ITEM
Sales OrdersThe templates push Sales_Orders to Zoho CRM.Sales_OrdersSF_ERP_Salesforce_Clone_SO_SALESORDERDETAIL, SF_ERP_Salesforce_Clone_SO_SALESORDERHEADER, SF_ERP_Salesforce_Clone_AR_CUSTOMER, SF_ERP_Salesforce_Clone_SO_SHIPTOADDRESS, x
InvoicesThe templates push Invoices to Zoho CRM.InvoicesSF_ERP_Salesforce_Clone_AR_INVOICEHISTORYDETAIL, SF_ERP_Salesforce_Clone_AR_INVOICEHISTORYHEADER, SF_ERP_Salesforce_Clone_AR_CUSTOMER, SF_ERP_Salesforce_Clone_SO_SHIPTOADDRESS, x
SAGE100 TERMSThe templates push sage100premium__Sage_Terms to Zoho CRM. New records are created and existing ones updated; none are deleted.sage100premium__Sage_TermsSF_ERP_Salesforce_Clone_AR_TERMSCODE

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
AccountAccountsCommercient_ArCustomer_Code1vw_SAGE100_Account:vw_SAGE100_Account'' / ''
Sage100 Customersage100premium__CI_IemCommercient_ExternalKey2vw_SAGE100_Customer:vw_SAGE100_Customersage100premium__ / __c
SAGE100 TERMSsage100premium__Sage_TermsCommercient_ExternalKey2vw_SAGE100_TERMS:vw_SAGE100_TERMSsage100premium__ / __c
Sage100 Ship To Addresssage100premium__SO_ShipToAddressCommercient_ExternalKey3vw_SAGE100_ShipToAddress:vw_SAGE100_ShipToAddresssage100premium__ / __c
Sage100 Sales Personsage100premium__Ar_SalesPersonCommercient_ExternalKey4vw_SAGE100_AR_SALESPERSON:vw_SAGE100_AR_SALESPERSONsage100premium__ / __c
ProductsProductsCommercient_ExternalKey5vw_SAGE100_Product:vw_SAGE100_Product'' / ''
ContactsContactsCommercient_ExternalKey6vw_SAGE100_Contact:vw_SAGE100_Contacts'' / ''
Sage100 Item Mastersage100premium__CI_ItemCommercient_ExternalKey7vw_SAGE100_Item:vw_SAGE100_Itemsage100premium__ / __c
QuotesQuotesCommercient_ExternalKey8vw_SAGE100_Quotes:vw_SAGE100_Quotes'' / ''
Sage100 Sales Order Headersage100premium__SO_SalesOrdrHistoryHeaderCommercient_ExternalKey9vw_SAGE100_SalesOrderHeader:vw_SAGE100_SalesOrderHeadersage100premium__ / __c
Sage100 Sales Order Detailsage100premium__SO_SalesOrderHistoryDetaiCommercient_ExternalKey10vw_SAGE100_SalesOrderDetail:vw_SAGE100_SalesOrderDetailsage100premium__ / __c
Sage100 Invoice Headersage100premium__Ar_InvoiceHistoryHeaderCommercient_ExternalKey11vw_SAGE100_InvoiceHeader:vw_SAGE100_InvoiceHeadersage100premium__ / __c
Sage100 Invoice Detailsage100premium__Ar_InvoiceHistoryDetailCommercient_ExternalKey12vw_SAGE100_InvoiceDetail:vw_SAGE100_InvoiceDetailsage100premium__ / __c
Sage100 Transcation Payment Historysage100premium__ArTransactionPaymtHistoryCommercient_ExternalKey13vw_SAGE100_TranscationPaymentHistory:vw_SAGE100_TranscationPaymentHistorysage100premium__ / __c
Sage100 Warehousesage100premium__LM_Item_WarehouseCommercient_ExternalKey14vw_SAGE100_Warehouse:vw_SAGE100_Warehousesage100premium__ / __c
Sage100 Product Price BookProducts:Price_BooksCommercient_ExternalKey15vw_ProductPriceBook:vw_SAGE100_ProductPriceBook'' / ''
Sales OrdersSales_OrdersCommercient_ExternalKey16vw_SAGE100_DSalesOrder:vw_SAGE100_DSalesOrder'' / ''
InvoicesInvoicesCommercient_ExternalKey17vw_SAGE100_DInvoice:vw_SAGE100_DInvoice'' / ''

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. On Contacts the SQL_Query names a view the same template’s CreateViewQuery does not create (vw_SAGE100_Contacts against vw_SAGE100_Contact), so check the view exists under the name the row selects from before activating it.

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_SAGE100_Accountinsert + updatevw_SAGE100_Account:Commercient_ArCustomer_CodeSF_ERP_Salesforce_Clone_AR_CUSTOMER, SF_ERP_Salesforce_Clone_SO_SHIPTOADDRESS
vw_SAGE100_Customerinsert + updatevw_SAGE100_Account:, vw_SAGE100_AR_SALESPERSON:, vw_SAGE100_Customer:ExternalKey, Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_AR_CUSTOMER
vw_SAGE100_TERMSinsert-onlyvw_SAGE100_TERMS:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_AR_TERMSCODE
vw_SAGE100_ShipToAddressinsert + updatevw_SAGE100_Account:, vw_SAGE100_Customer:, vw_SAGE100_ShipToAddress:ExternalKey, Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_SO_SHIPTOADDRESS
vw_SAGE100_AR_SALESPERSONinsert + updatevw_SAGE100_AR_SALESPERSON:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_AR_SALESPERSON
vw_SAGE100_Productinsert-onlyvw_SAGE100_Product:Commercient_ExternalKeySF_ERP_Salesforce_Clone_CI_ITEM, SF_ERP_Salesforce_Clone_CI_EXTENDEDDESCRIPTION
vw_SAGE100_Contactinsert + updatevw_SAGE100_Account:, vw_SAGE100_Customer:, vw_SAGE100_Contact:Commercient_ExternalKeySF_ERP_Salesforce_Clone_AR_CUSTOMERCONTACT, SF_ERP_Salesforce_Clone_AR_CUSTOMER
vw_SAGE100_Iteminsert-onlyvw_SAGE100_Product:, vw_SAGE100_Item:ExternalKey, Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_CI_ITEM
vw_SAGE100_Quotesinsert-onlyvw_SAGE100_Product:, vw_SAGE100_Account:, vw_SAGE100_AR_SALESPERSON:, vw_SAGE100_Quotes:ExternalKey, Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_SO_SALESORDERDETAIL, SF_ERP_Salesforce_Clone_SO_SALESORDERHEADER, SF_ERP_Salesforce_Clone_AR_CUSTOMER, SF_ERP_Salesforce_Clone_SO_SHIPTOADDRESS, x
vw_SAGE100_SalesOrderHeaderinsert-onlyvw_SAGE100_Account:, vw_SAGE100_Customer:, vw_SAGE100_AR_SALESPERSON:, vw_SAGE100_SalesOrderHeader:ExternalKey, Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_SO_SALESORDERHEADER
vw_SAGE100_SalesOrderDetailinsert-onlyvw_SAGE100_SalesOrderHeader:, vw_SAGE100_Item:, vw_SAGE100_Product:, vw_SAGE100_SalesOrderDetail:ExternalKey, Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_SO_SALESORDERDETAIL, SF_ERP_Salesforce_Clone_SO_SALESORDERHEADER
vw_SAGE100_InvoiceHeaderinsert + updatevw_SAGE100_Account:, vw_SAGE100_Customer:, vw_SAGE100_InvoiceHeader:ExternalKey, Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_AR_INVOICEHISTORYHEADER, CommercientFlags
vw_SAGE100_InvoiceDetailinsert + updatevw_SAGE100_InvoiceHeader:, vw_SAGE100_Item:, vw_SAGE100_Product:, vw_SAGE100_InvoiceDetail:ExternalKey, Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_AR_INVOICEHISTORYDETAIL, SF_ERP_Salesforce_Clone_CI_ITEM
vw_SAGE100_TranscationPaymentHistoryinsert + updatevw_SAGE100_Account:, vw_SAGE100_Customer:, vw_SAGE100_InvoiceHeader:, vw_SAGE100_TranscationPaymentHistory:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_AR_TRANSACTIONPAYMENTHISTORY
vw_SAGE100_Warehouseinsert-onlyvw_SAGE100_Item:, vw_SAGE100_Product:, vw_SAGE100_Warehouse:ExternalKey, Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_IM_ITEMWAREHOUSE
vw_SAGE100_ProductPriceBookinsert-onlyvw_SAGE100_Product:, vw_ProductPriceBook:Commercient_ExternalKeySF_ERP_Salesforce_Clone_CI_ITEM
vw_SAGE100_DSalesOrderinsert-onlyvw_SAGE100_Product:, vw_SAGE100_Account:, vw_SAGE100_DSalesOrder:ExternalKey, Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_SO_SALESORDERDETAIL, SF_ERP_Salesforce_Clone_SO_SALESORDERHEADER, SF_ERP_Salesforce_Clone_AR_CUSTOMER, SF_ERP_Salesforce_Clone_SO_SHIPTOADDRESS, x
vw_SAGE100_DInvoiceinsert-onlyvw_SAGE100_Product:, vw_SAGE100_Account:, vw_SAGE100_DSalesOrder:, vw_SAGE100_DInvoice:ExternalKey, Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_AR_INVOICEHISTORYDETAIL, SF_ERP_Salesforce_Clone_AR_INVOICEHISTORYHEADER, SF_ERP_Salesforce_Clone_AR_CUSTOMER, SF_ERP_Salesforce_Clone_SO_SHIPTOADDRESS, x

4. Order of work

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

  • 1 — Account
  • 2 — Sage100 Customer, SAGE100 TERMS
  • 3 — Sage100 Ship To Address
  • 4 — Sage100 Sales Person
  • 5 — Products
  • 6 — Contacts
  • 7 — Sage100 Item Master
  • 8 — Quotes
  • 9 — Sage100 Sales Order Header
  • 10 — Sage100 Sales Order Detail
  • 11 — Sage100 Invoice Header
  • 12 — Sage100 Invoice Detail
  • 13 — Sage100 Transcation Payment History
  • 14 — Sage100 Warehouse
  • 15 — Sage100 Product Price Book
  • 16 — Sales Orders
  • 17 — Invoices

Several of these rows share a Sync_Order 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 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_SAGE100_Account reads vw_SAGE100_Account:; no template in this set writes vw_SAGE100_Account:
  • vw_SAGE100_Customer reads vw_SAGE100_Account:, vw_SAGE100_AR_SALESPERSON:, vw_SAGE100_Customer:; no template in this set writes vw_SAGE100_Account:, vw_SAGE100_AR_SALESPERSON:, vw_SAGE100_Customer:
  • vw_SAGE100_ShipToAddress reads vw_SAGE100_Account:, vw_SAGE100_Customer:, vw_SAGE100_ShipToAddress:; no template in this set writes vw_SAGE100_Account:, vw_SAGE100_Customer:, vw_SAGE100_ShipToAddress:
  • vw_SAGE100_AR_SALESPERSON reads vw_SAGE100_AR_SALESPERSON:; no template in this set writes vw_SAGE100_AR_SALESPERSON:
  • vw_SAGE100_Product reads vw_SAGE100_Product:; no template in this set writes vw_SAGE100_Product:
  • vw_SAGE100_Contact reads vw_SAGE100_Account:, vw_SAGE100_Customer:, vw_SAGE100_Contact:; no template in this set writes vw_SAGE100_Account:, vw_SAGE100_Customer:, vw_SAGE100_Contact:
  • vw_SAGE100_Item reads vw_SAGE100_Product:, vw_SAGE100_Item:; no template in this set writes vw_SAGE100_Product:, vw_SAGE100_Item:
  • vw_SAGE100_Quotes reads vw_SAGE100_Product:, vw_SAGE100_Account:, vw_SAGE100_AR_SALESPERSON:, vw_SAGE100_Quotes:; no template in this set writes vw_SAGE100_Product:, vw_SAGE100_Account:, vw_SAGE100_AR_SALESPERSON:, vw_SAGE100_Quotes:
  • vw_SAGE100_SalesOrderHeader reads vw_SAGE100_Account:, vw_SAGE100_Customer:, vw_SAGE100_AR_SALESPERSON:, vw_SAGE100_SalesOrderHeader:; no template in this set writes vw_SAGE100_Account:, vw_SAGE100_Customer:, vw_SAGE100_AR_SALESPERSON:, vw_SAGE100_SalesOrderHeader:
  • vw_SAGE100_SalesOrderDetail reads vw_SAGE100_SalesOrderHeader:, vw_SAGE100_Item:, vw_SAGE100_Product:, vw_SAGE100_SalesOrderDetail:; no template in this set writes vw_SAGE100_SalesOrderHeader:, vw_SAGE100_Item:, vw_SAGE100_Product:, vw_SAGE100_SalesOrderDetail:
  • vw_SAGE100_InvoiceHeader reads vw_SAGE100_Account:, vw_SAGE100_Customer:, vw_SAGE100_InvoiceHeader:; no template in this set writes vw_SAGE100_Account:, vw_SAGE100_Customer:, vw_SAGE100_InvoiceHeader:
  • vw_SAGE100_InvoiceDetail reads vw_SAGE100_InvoiceHeader:, vw_SAGE100_Item:, vw_SAGE100_Product:, vw_SAGE100_InvoiceDetail:; no template in this set writes vw_SAGE100_InvoiceHeader:, vw_SAGE100_Item:, vw_SAGE100_Product:, vw_SAGE100_InvoiceDetail:
  • vw_SAGE100_TranscationPaymentHistory reads vw_SAGE100_Account:, vw_SAGE100_Customer:, vw_SAGE100_InvoiceHeader:, vw_SAGE100_TranscationPaymentHistory:; no template in this set writes vw_SAGE100_Account:, vw_SAGE100_Customer:, vw_SAGE100_InvoiceHeader:, vw_SAGE100_TranscationPaymentHistory:
  • vw_SAGE100_Warehouse reads vw_SAGE100_Item:, vw_SAGE100_Product:, vw_SAGE100_Warehouse:; no template in this set writes vw_SAGE100_Item:, vw_SAGE100_Product:, vw_SAGE100_Warehouse:
  • vw_SAGE100_ProductPriceBook reads vw_SAGE100_Product:, vw_ProductPriceBook:; no template in this set writes vw_SAGE100_Product:, vw_ProductPriceBook:
  • vw_SAGE100_DSalesOrder reads vw_SAGE100_Product:, vw_SAGE100_Account:, vw_SAGE100_DSalesOrder:; no template in this set writes vw_SAGE100_Product:, vw_SAGE100_Account:, vw_SAGE100_DSalesOrder:
  • vw_SAGE100_DInvoice reads vw_SAGE100_Product:, vw_SAGE100_Account:, vw_SAGE100_DSalesOrder:, vw_SAGE100_DInvoice:; no template in this set writes vw_SAGE100_Product:, vw_SAGE100_Account:, vw_SAGE100_DSalesOrder:, vw_SAGE100_DInvoice:
  • vw_SAGE100_TERMS reads vw_SAGE100_TERMS:; no template in this set writes vw_SAGE100_TERMS:

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
AccountAccounts26ARDIVISIONNO, CUSTOMERNOCommercient_ArCustomer_Code__c, CUSTOMERNAMEAccount_Name, EMAILADDRESSEMailAddress1, TELEPHONENOPhone, SHIPTOADDRESS1, SHIPTOADDRESS2, SHIPTOADDRESS3Shipping_Street
Sage100 Customersage100premium__CI_Iem76ARDIVISIONNO, CUSTOMERNOCommercient_ExternalKey__c, ARDIVISIONNOAR_Division_No__c, ADDRESSLINE1Address_Line1__c, ADDRESSLINE2Address_Line2__c, ADDRESSLINE3Address_Line3__c
SAGE100 TERMSsage100premium__Sage_Terms16DATECREATEDsage100premium__Date_Created_ERP, DAYSBEFOREDISCOUNTDUEsage100premium__Days_Before_Discount_Due, DAYSBEFOREDUEsage100premium__Days_Before_Due, DISCOUNTCALCULATIONMETHODsage100premium__Discount_Calculation_Method, DISCOUNTDATEADAYOFTHEMOsage100premium__Discount_Date_A_Day_Of_The_Month
Sage100 Ship To Addresssage100premium__SO_ShipToAddress20ARDIVISIONNO, CUSTOMERNO, SHIPTOCODECommercient_ExternalKey__c, SHIPTONAMEName, ARDIVISIONNOArea_Division_No__c, CONTACTCODEContact_Code__c, CUSTOMERNOCustomer_No__c
Sage100 Sales Personsage100premium__Ar_SalesPerson27SALESPERSONDIVISIONNO,SALESPERSONNOCommercient_ExternalKey__c, SALESPERSONNAME,SALESPERSONNOName, ADDRESSLINE1Address_Line1, ADDRESSLINE2Address_Line2, ADDRESSLINE3Address_Line3
ProductsProducts7ITEMCODECommercient_ExternalKey, ITEMCODEProduct_Name, ITEMCODEProduct_Code, ITEMCODEDESCDescription, INACTIVEITEMProduct_Active
ContactsContacts18ARDIVISIONNO, CUSTOMERNO, CONTACTCODECommercient_ExternalKey, EMAILADDRESSEmail, TELEPHONENO2Home_Phone, TELEPHONENO1Phone, FAXNOFax
Sage100 Item Mastersage100premium__CI_Item91SFDCIDId, ITEMCODEExternalKey, ITEMCODECommercient_ExternalKey__c, ITEMCODEName, TIMESTAMPTimeStamp
QuotesQuotes20ARDIVISIONNO,SALESORDERNOCommercient_ExternalKey__c, SFDCIDAccount_Name, SALESORDERNOName, SALESORDERNOQuote_Number, DATECREATEDERP_Created_Date__c
Sage100 Sales Order Headersage100premium__SO_SalesOrdrHistoryHeader83SALESORDERNOCommercient_ExternalKey__c, SALESORDERNOName, ARDIVISIONNOArea_Division_No_Key, BATCHEMAILBatch_Email, BATCHFAXBatch_Fax
Sage100 Sales Order Detailsage100premium__SO_SalesOrderHistoryDetai67SALESORDERNO, LINEKEYCommercient_ExternalKey__c, SALESORDERNO, LINEKEYName, APDIVISIONNOAP_Division_No__c, ALIASITEMNOAlias_Item_No__c, ALTERNATETAXIDENTIFIERAlternate_Tax_Identifier__c
Sage100 Invoice Headersage100premium__Ar_InvoiceHistoryHeader91INVOICENO, HEADERSEQNOCommercient_ExternalKey__c, INVOICENO, HEADERSEQNOName, ARDIVISIONNOAR_Division_No__c, AMOUNTSUBJECTTODISCOUNTAmount_Subject_To_Discount__c, APPLYTOINVOICENOApply_To_Invoice_No__c
Sage100 Invoice Detailsage100premium__Ar_InvoiceHistoryDetail60INVOICENO, HEADERSEQNO, DETAILSEQNOCommercient_ExternalKey__c, INVOICENO, HEADERSEQNO, DETAILSEQNOName, APDIVISIONNOAP_Division_No__c, ALIASITEMNOAlias_Item_No__c, ALTERNATETAXIDENTIFIERAlternate_Tax_Identifier__c
Sage100 Transcation Payment Historysage100premium__ArTransactionPaymtHistory22ARDIVISIONNOArea_Division_Key__c, CUSTOMERNOCustomer_No__c, INVOICENOInvoiceNo_Key__c, INVOICETYPEInvoice_Type__c, INVOICEHISTORYHEADERSEQNOInvoice_History_Header_Seq_No__c
Sage100 Warehousesage100premium__LM_Item_Warehouse28ITEMCODE, WAREHOUSECODECommercient_ExternalKey__c, ITEMCODE, WAREHOUSECODEName, AVERAGECOSTAverage_Cost__c, BINLOCATIONBin_Location__c, COSTCALCCOSTCOMMITTEDCost_Calc_Cost_Committed__c
Sage100 Product Price BookProducts:Price_Books5SFDCIDPRODUCT_ID, SFDCIDZOHO_PriceBookID, STANDARDUNITPRICElist_price, ITEMCODECommercient_ExternalKey, TIMESTAMPTIMESTAMP
Sales OrdersSales_Orders17SFDCIDAccount_Name, SALESORDERNOName, SALESORDERNOSO_Number, DATECREATEDERP_Created_Date__c, SALESORDERNOSubject
InvoicesInvoices19ARDIVISIONNO,INVOICENOCommercient_ExternalKey__c, SFDCIDAccount_Name, SALESORDERNOSales_Order, INVOICENOName, INVOICENOInvoice_Number

6. Community templates

The catalogue carries 19 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: 19
  • Default operations: insert on 19, update on 19, delete on 19
  • Marked circular-sync: 0
  • Licence groups they span: 7
  • Destination objects: Accounts, Contacts, Invoices, Products, Quotes, sage100premium__Ar_InvoiceHistoryDetail, sage100premium__Ar_InvoiceHistoryHeader, sage100premium__Ar_SalesPerson, sage100premium__ArTransactionPaymtHistory, sage100premium__CI_Iem, sage100premium__CI_Item, sage100premium__LM_Item_Warehouse, sage100premium__SO_SalesOrderHistoryDetai, sage100premium__SO_SalesOrdrHistoryHeader, sage100premium__SO_ShipToAddress, Sales_Orders and 2 custom objects
  • Object display names: Account, Accounts, Contacts, Invoices, Products, Quotes, Sage100 Customer, Sage100 Invoice Detail, Sage100 Invoice Header, Sage100 Item Master, Sage100 Product Price Book, Sage100 Sales Order Detail, 6 more and a further template
  • Template groups: Account, CRM Order and Line, CRM Quote and Line, Product

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.

7. 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_SAGE100_Account:
  • vw_SAGE100_Customer:
  • vw_SAGE100_ShipToAddress:
  • vw_SAGE100_AR_SALESPERSON:
  • vw_SAGE100_Product:
  • vw_SAGE100_Contact:
  • vw_SAGE100_Item:
  • vw_SAGE100_Quotes:
  • vw_SAGE100_SalesOrderHeader:
  • vw_SAGE100_SalesOrderDetail:
  • vw_SAGE100_InvoiceHeader:
  • vw_SAGE100_InvoiceDetail:
  • vw_SAGE100_TranscationPaymentHistory:
  • vw_SAGE100_Warehouse:
  • vw_ProductPriceBook:
  • vw_SAGE100_DSalesOrder:
  • vw_SAGE100_DInvoice:
  • vw_SAGE100_TERMS:

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 100 (US) → 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.