Source ERP · 4 of 27

CRMPro → Zoho CRM — Epicor Prophet 21 (P21): what the shipped templates set up

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

CRMPro → Zoho CRM — Epicor Prophet 21 (P21): 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/epicor-prophet-21-p21.md, and that skill’s ERP table is what points at it. What follows is only what the shipped Epicor Prophet 21 (P21) → 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
Epicorp21 TermsThe templates push commercientepicorp21__Epicorp21_Terms to Zoho CRM.commercientepicorp21__Epicorp21_TermsSF_ERP_Salesforce_Clone_terms
Epicorp21 BranchThe templates push commercientepicorp21__Epicorp21_Branch to Zoho CRM.commercientepicorp21__Epicorp21_BranchSF_ERP_Salesforce_Clone_branch
Epicorp21 ClassThe templates push commercientepicorp21__Epicorp21_Class to Zoho CRM.commercientepicorp21__Epicorp21_ClassSF_ERP_Salesforce_Clone_Class
Epicorp21 TerritoryThe templates push commercientepicorp21__Epicorp21_Territory to Zoho CRM.commercientepicorp21__Epicorp21_TerritorySF_ERP_Salesforce_Clone_TERRITORY
Epicorp21 Sales PersonThe templates push commercientepicorp21__Epicorp21_Sales_Person to Zoho CRM.commercientepicorp21__Epicorp21_Sales_PersonSF_ERP_Salesforce_Clone_contacts
AccountsThe templates push Accounts to Zoho CRM.AccountsSF_ERP_Salesforce_Clone_Customer, SF_ERP_Salesforce_Clone_Address, SF_ERP_Salesforce_Clone_Ship_to
Epicorp21 CustomerThe templates push commercientepicorp21__EpicorP21_Customer to Zoho CRM.commercientepicorp21__EpicorP21_CustomerSF_ERP_Salesforce_Clone_Customer, SF_ERP_Salesforce_Clone_terms
Epicorp21 Ship ToThe templates push commercientepicorp21__EpicorP21_ShipToAddress to Zoho CRM.commercientepicorp21__EpicorP21_ShipToAddressSF_ERP_Salesforce_Clone_Ship_to
ContactsThe templates push Contacts to Zoho CRM.ContactsSF_ERP_Salesforce_Clone_contacts, SF_ERP_Salesforce_Clone_oe_contacts_customer, SF_ERP_Salesforce_Clone_Address
Epicorp21 AddressThe templates push commercientepicorp21__EpicorP21_Address to Zoho CRM.commercientepicorp21__EpicorP21_AddressSF_ERP_Salesforce_Clone_Address, SF_ERP_Salesforce_Clone_Ship_to
ProductsThe templates push Products to Zoho CRM.ProductsSF_ERP_Salesforce_Clone_inv_mast
PricebooksThe templates push Price_Books to Zoho CRM.Price_BooksSF_ERP_Salesforce_Clone_price_book
Product PricebooksThe templates push Products:Price_Books to Zoho CRM.Products:Price_BooksSF_ERP_Salesforce_Clone_inv_mast
Epicorp21 Item MasterThe templates push commercientepicorp21__Epicorp21_Item_Master to Zoho CRM.commercientepicorp21__Epicorp21_Item_MasterSF_ERP_Salesforce_Clone_inv_mast
Epicorp21 WarehouseThe templates push commercientepicorp21__Epicorp21_Warehouse to Zoho CRM.commercientepicorp21__Epicorp21_WarehouseSF_ERP_Salesforce_Clone_location
Epicorp21 Item WarehouseThe templates push commercientepicorp21__Epicorp21_Item_Warehouse to Zoho CRM.commercientepicorp21__Epicorp21_Item_WarehouseSF_ERP_Salesforce_Clone_inv_loc, SF_ERP_Salesforce_Clone_inv_mast
Epicorp21 Serial NumberThe templates push commercientepicorp21__Epicorp21_Serial_Number to Zoho CRM.commercientepicorp21__Epicorp21_Serial_NumberSF_ERP_Salesforce_Clone_serial_number, SF_ERP_Salesforce_Clone_inv_mast
QuotesThe templates push Quotes to Zoho CRM.QuotesSF_ERP_Salesforce_Clone_quote_hdr, SF_ERP_Salesforce_Clone_oe_hdr, SF_ERP_Salesforce_Clone_Address, SF_ERP_Salesforce_Clone_Ship_to, SF_ERP_Salesforce_Clone_oe_line, SF_ERP_Salesforce_Clone_inv_mast
Epicorp21 SOHeaderThe templates push commercientepicorp21__EpicorP21_SOHeader to Zoho CRM.commercientepicorp21__EpicorP21_SOHeaderSF_ERP_Salesforce_Clone_oe_hdr, SF_ERP_Salesforce_Clone_quote_hdr, CommercientFlags
Epicorp21 SODetailThe templates push commercientepicorp21__EpicorP21_SODetails to Zoho CRM.commercientepicorp21__EpicorP21_SODetailsSF_ERP_Salesforce_Clone_oe_line, SF_ERP_Salesforce_Clone_supplier, SF_ERP_Salesforce_Clone_inv_mast
Epicorp21 Invoice HeaderThe templates push commercientepicorp21__EpicorP21_InvoiceHeader to Zoho CRM.commercientepicorp21__EpicorP21_InvoiceHeaderSF_ERP_Salesforce_Clone_invoice_hdr, CommercientFlags
Epicorp21 Invoice LineThe templates push commercientepicorp21__EpicorP21_InvoiceDetails to Zoho CRM.commercientepicorp21__EpicorP21_InvoiceDetailsSF_ERP_Salesforce_Clone_invoice_line, SF_ERP_Salesforce_Clone_inv_mast, CommercientFlags
Epicorp21 InvoicePaymentThe templates push commercientepicorp21__EpicorP21_InvoicePayment to Zoho CRM.commercientepicorp21__EpicorP21_InvoicePaymentSF_ERP_Salesforce_Clone_ar_receipts_detail

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
Epicorp21 Termscommercientepicorp21__Epicorp21_TermsCommercient_ExternalKey1vwTerms:vw_EPICORP21_Termscommercientepicorp21__ / ''
Epicorp21 Branchcommercientepicorp21__Epicorp21_BranchCommercient_ExternalKey2vwBranch:vw_EPICORP21_Branchcommercientepicorp21__ / ''
Epicorp21 Classcommercientepicorp21__Epicorp21_ClassCommercient_ExternalKey3vwClass:vw_EPICORP21_Classcommercientepicorp21__ / ''
Epicorp21 Territorycommercientepicorp21__Epicorp21_TerritoryCommercient_ExternalKey4vwTerritory:vw_EPICORP21_Territorycommercientepicorp21__ / ''
Epicorp21 Sales Personcommercientepicorp21__Epicorp21_Sales_PersonCommercient_ExternalKey5vwSalesPerson:vw_EPICORP21_Sales_Personcommercientepicorp21__ / ''
AccountsAccountsCommercient_ExternalKey6vwAccount:vw_EPICORP21_Account'' / ''
Epicorp21 Customercommercientepicorp21__EpicorP21_CustomerCommercient_ExternalKey7vwCustomer:vw_EPICORP21_Customercommercientepicorp21__ / ''
Epicorp21 Ship Tocommercientepicorp21__EpicorP21_ShipToAddressCommercient_ExternalKey8vwShipTo:vw_EPICORP21_ShipTocommercientepicorp21__ / ''
ContactsContactsCommercient_ExternalKey9vwContact:vw_EPICORP21_Contacts'' / ''
Epicorp21 Addresscommercientepicorp21__EpicorP21_AddressCommercient_ExternalKey10vwAddress:vw_EPICORP21_Addresscommercientepicorp21__ / ''
ProductsProductsCommercient_ExternalKey11vw_Product:vw_EPICORP21_Product'' / ''
PricebooksPrice_BooksCommercient_ExternalKey12vw_Pricebooks:vw_EPICORP21_Pricebooks'' / ''
Product PricebooksProducts:Price_BooksCommercient_ExternalKey13vw_Product_PriceList:vw_EPICORP21_ProductPriceList'' / ''
Epicorp21 Item Mastercommercientepicorp21__Epicorp21_Item_MasterCommercient_ExternalKey14vw_Item_Master:vw_EPICORP21_Item_Mastercommercientepicorp21__ / ''
Epicorp21 Warehousecommercientepicorp21__Epicorp21_WarehouseCommercient_ExternalKey15vw_Warehouse:vw_EPICORP21_Warehousecommercientepicorp21__ / ''
Epicorp21 Item Warehousecommercientepicorp21__Epicorp21_Item_WarehouseCommercient_ExternalKey16vw_Item_Warehouse:vw_EPICORP21_Item_Warehousecommercientepicorp21__ / ''
Epicorp21 Serial Numbercommercientepicorp21__Epicorp21_Serial_NumberCommercient_ExternalKey17vw_SerialNumber:vw_EPICORP21_Serial_Numbercommercientepicorp21__ / ''
QuotesQuotesCommercient_ExternalKey18vw_Quotes:vw_EPICORP21_Quotes'' / ''
Epicorp21 SOHeadercommercientepicorp21__EpicorP21_SOHeaderCommercient_ExternalKey19vwSalesOrderHeader:vw_EPICORP21_SOHeadercommercientepicorp21__ / ''
Epicorp21 SODetailcommercientepicorp21__EpicorP21_SODetailsCommercient_ExternalKey20vwSalesOrderDetail:vw_EPICORP21_SODetailcommercientepicorp21__ / ''
Epicorp21 Invoice Headercommercientepicorp21__EpicorP21_InvoiceHeaderCommercient_ExternalKey21vwInvoiceHeader:vw_EPICORP21_InvoiceHeadercommercientepicorp21__ / ''
Epicorp21 Invoice Linecommercientepicorp21__EpicorP21_InvoiceDetailsCommercient_ExternalKey22vwInvoiceLine:vw_EPICORP21_InvoiceLinecommercientepicorp21__ / ''
Epicorp21 InvoicePaymentcommercientepicorp21__EpicorP21_InvoicePaymentCommercient_ExternalKey23vwInvoicePayment:vw_EPICORP21_InvoicePaymentcommercientepicorp21__ / ''

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 Pricebooks the SQL_Query names a view the same template’s CreateViewQuery does not create (vw_EPICORP21_Pricebooks against vw_Pricebooks), 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_EPICORP21_Termsinsert-onlyvwTerms:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_terms
vw_EPICORP21_Branchinsert-onlyvwAddress:, vwBranch:ExternalKey, Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_branch
vw_EPICORP21_Classinsert-onlyvwClass:ExternalKey, Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_Class
vw_EPICORP21_Territoryinsert-onlyvwTerritory:Commercient_ExternalKey__c, ExternalKey, Commercient_ExternalKeySF_ERP_Salesforce_Clone_TERRITORY
vw_EPICORP21_Sales_Personinsert-onlyvwAddress:, vwTerritory:, vwBranch:, vwSalesPerson:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_contacts
vw_EPICORP21_Accountinsert-onlyvwSalesPerson:, vwTerms:, vwAccount:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_Customer, SF_ERP_Salesforce_Clone_Address, SF_ERP_Salesforce_Clone_Ship_to
vw_EPICORP21_Customerinsert-onlyvwAccount:, vwSalesPerson:, vwTerms:, vwCustomer:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_Customer, SF_ERP_Salesforce_Clone_terms
vw_EPICORP21_ShipToinsert-onlyvwAccount:, vwCustomer:, vwShipTo:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_Ship_to
vw_EPICORP21_Contactsinsert + updatevwAccount:, vwContact:ExternalKey, Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_contacts, SF_ERP_Salesforce_Clone_oe_contacts_customer, SF_ERP_Salesforce_Clone_Address
vw_EPICORP21_Addressinsert-onlyvwShipTo:, vwAccount:, vwCustomer:, vwAddress:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_Address, SF_ERP_Salesforce_Clone_Ship_to
vw_EPICORP21_Productinsert + updatevwinv_mast:, vw_Product:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_inv_mast
vw_Pricebooksinsert + updatevw_Pricebooks:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_price_book
vw_EPICORP21_ProductPriceListinsert + updatevw_Pricebooks:, vw_Product:, vw_Product_PriceList:Commercient_ExternalKeySF_ERP_Salesforce_Clone_inv_mast
vw_EPICORP21_Item_Masterinsert + updatevw_Product:, vw_Item_Master:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_inv_mast
vw_EPICORP21_Warehouseinsert + updatevw_Warehouse:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_location
vw_EPICORP21_Item_Warehouseinsert + updatevw_Item_Master:, vw_Product:, vw_Warehouse:, vw_Item_Warehouse:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_inv_loc, SF_ERP_Salesforce_Clone_inv_mast
vw_EPICORP21_Serial_Numberinsert-onlyvw_Warehouse:, vw_Item_Master:, vw_Product:, vw_SerialNumber:ExternalKey, Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_serial_number, SF_ERP_Salesforce_Clone_inv_mast
vw_EPICORP21_Quotesinsert-onlyvwAccount:, vw_Product:, vw_Quotes:ExternalKey, Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_quote_hdr, SF_ERP_Salesforce_Clone_oe_hdr, SF_ERP_Salesforce_Clone_Address, SF_ERP_Salesforce_Clone_Ship_to, SF_ERP_Salesforce_Clone_oe_line
vw_EPICORP21_SOHeaderinsert-onlyvwAccount:, vwCustomer:, vw_Quotes:, vwSalesOrderHeader:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_oe_hdr, SF_ERP_Salesforce_Clone_quote_hdr, CommercientFlags
vw_EPICORP21_SODetailinsert-onlyvwSalesOrderHeader:, vw_Item_Master:, vw_Product:, vwSalesOrderDetail:ExternalKey, Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_oe_line, SF_ERP_Salesforce_Clone_supplier, SF_ERP_Salesforce_Clone_inv_mast
vw_EPICORP21_InvoiceHeaderinsert-onlyvwAccount:, vwCustomer:, vwSalesOrderHeader:, vwInvoiceHeader:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_invoice_hdr, CommercientFlags
vw_EPICORP21_InvoiceLineinsert-onlyvwInvoiceHeader:, vw_Item_Master:, vw_Product:, vwInvoiceLine:Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_invoice_line, SF_ERP_Salesforce_Clone_inv_mast, CommercientFlags
vw_EPICORP21_InvoicePaymentinsert-onlyvwAccount:, vwCustomer:, vwInvoiceHeader:, vwInvoicePayment:ExternalKey, Commercient_ExternalKey__c, Commercient_ExternalKeySF_ERP_Salesforce_Clone_ar_receipts_detail

4. Order of work

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

  • 1 — Epicorp21 Terms
  • 2 — Epicorp21 Branch
  • 3 — Epicorp21 Class
  • 4 — Epicorp21 Territory
  • 5 — Epicorp21 Sales Person
  • 6 — Accounts
  • 7 — Epicorp21 Customer
  • 8 — Epicorp21 Ship To
  • 9 — Contacts
  • 10 — Epicorp21 Address
  • 11 — Products
  • 12 — Pricebooks
  • 13 — Product Pricebooks
  • 14 — Epicorp21 Item Master
  • 15 — Epicorp21 Warehouse
  • 16 — Epicorp21 Item Warehouse
  • 17 — Epicorp21 Serial Number
  • 18 — Quotes
  • 19 — Epicorp21 SOHeader
  • 20 — Epicorp21 SODetail
  • 21 — Epicorp21 Invoice Header
  • 22 — Epicorp21 Invoice Line
  • 23 — Epicorp21 InvoicePayment

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_EPICORP21_Terms reads vwTerms:; no template in this set writes vwTerms:
  • vw_EPICORP21_Branch reads vwAddress:, vwBranch:; no template in this set writes vwAddress:, vwBranch:
  • vw_EPICORP21_Class reads vwClass:; no template in this set writes vwClass:
  • vw_EPICORP21_Territory reads vwTerritory:; no template in this set writes vwTerritory:
  • vw_EPICORP21_Sales_Person reads vwAddress:, vwTerritory:, vwBranch:, vwSalesPerson:; no template in this set writes vwAddress:, vwTerritory:, vwBranch:, vwSalesPerson:
  • vw_EPICORP21_Account reads vwSalesPerson:, vwTerms:, vwAccount:; no template in this set writes vwSalesPerson:, vwTerms:, vwAccount:
  • vw_EPICORP21_Customer reads vwAccount:, vwSalesPerson:, vwTerms:, vwCustomer:; no template in this set writes vwAccount:, vwSalesPerson:, vwTerms:, vwCustomer:
  • vw_EPICORP21_ShipTo reads vwAccount:, vwCustomer:, vwShipTo:; no template in this set writes vwAccount:, vwCustomer:, vwShipTo:
  • vw_EPICORP21_Contacts reads vwAccount:, vwContact:; no template in this set writes vwAccount:, vwContact:
  • vw_EPICORP21_Address reads vwShipTo:, vwAccount:, vwCustomer:, vwAddress:; no template in this set writes vwShipTo:, vwAccount:, vwCustomer:, vwAddress:
  • vw_EPICORP21_Product reads vwinv_mast:, vw_Product:; no template in this set writes vwinv_mast:, vw_Product:
  • vw_Pricebooks reads vw_Pricebooks:; no template in this set writes vw_Pricebooks:
  • vw_EPICORP21_ProductPriceList reads vw_Pricebooks:, vw_Product:, vw_Product_PriceList:; no template in this set writes vw_Pricebooks:, vw_Product:, vw_Product_PriceList:
  • vw_EPICORP21_Item_Master reads vw_Product:, vw_Item_Master:; no template in this set writes vw_Product:, vw_Item_Master:
  • vw_EPICORP21_Warehouse reads vw_Warehouse:; no template in this set writes vw_Warehouse:
  • vw_EPICORP21_Item_Warehouse reads vw_Item_Master:, vw_Product:, vw_Warehouse:, vw_Item_Warehouse:; no template in this set writes vw_Item_Master:, vw_Product:, vw_Warehouse:, vw_Item_Warehouse:
  • vw_EPICORP21_Serial_Number reads vw_Warehouse:, vw_Item_Master:, vw_Product:, vw_SerialNumber:; no template in this set writes vw_Warehouse:, vw_Item_Master:, vw_Product:, vw_SerialNumber:
  • vw_EPICORP21_Quotes reads vwAccount:, vw_Product:, vw_Quotes:; no template in this set writes vwAccount:, vw_Product:, vw_Quotes:
  • vw_EPICORP21_SOHeader reads vwAccount:, vwCustomer:, vw_Quotes:, vwSalesOrderHeader:; no template in this set writes vwAccount:, vwCustomer:, vw_Quotes:, vwSalesOrderHeader:
  • vw_EPICORP21_SODetail reads vwSalesOrderHeader:, vw_Item_Master:, vw_Product:, vwSalesOrderDetail:; no template in this set writes vwSalesOrderHeader:, vw_Item_Master:, vw_Product:, vwSalesOrderDetail:
  • vw_EPICORP21_InvoiceHeader reads vwAccount:, vwCustomer:, vwSalesOrderHeader:, vwInvoiceHeader:; no template in this set writes vwAccount:, vwCustomer:, vwSalesOrderHeader:, vwInvoiceHeader:
  • vw_EPICORP21_InvoiceLine reads vwInvoiceHeader:, vw_Item_Master:, vw_Product:, vwInvoiceLine:; no template in this set writes vwInvoiceHeader:, vw_Item_Master:, vw_Product:, vwInvoiceLine:
  • vw_EPICORP21_InvoicePayment reads vwAccount:, vwCustomer:, vwInvoiceHeader:, vwInvoicePayment:; no template in this set writes vwAccount:, vwCustomer:, vwInvoiceHeader:, vwInvoicePayment:

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
Epicorp21 Termscommercientepicorp21__Epicorp21_Terms29terms_descName, terms_idExternalKey, terms_idCommercient_ExternalKey__c, billing_cycle_cutoff_dayBilling_Cycle_Cutoff_Day, cash_discount_eligible_flagCash_Discount_Eligible_Flag
Epicorp21 Branchcommercientepicorp21__Epicorp21_Branch20company_id, branch_idCommercient_ExternalKey__c, branch_descriptionBranch_Description, branch_descriptionName, branch_idBranch_Id, branch_uidBranch_UId
Epicorp21 Classcommercientepicorp21__Epicorp21_Class19class_type, class_number, class_idCommercient_ExternalKey__c, affinity_flagAffinity_Flag, avail_for_cycle_count_flagAvail_For_Cycle_Count_Flag, class_descriptionClass_Description, class_descriptionName
Epicorp21 Territorycommercientepicorp21__Epicorp21_Territory10territory_uidCommercient_ExternalKey__c, territory_uidExternalKey, created_byCreated_By, territory_descName, date_createdDate_Created
Epicorp21 Sales Personcommercientepicorp21__Epicorp21_Sales_Person69idCommercient_ExternalKey__c, idName, address_nameAddress_Name, ads_userAds_User, beeperBeeper
AccountsAccounts16customer_idCommercient_ExternalKey__c, customer_nameAccount_Name, central_phone_numberPhone, central_fax_numberFAX, mail_address1, mail_address2Billing_Street
Epicorp21 Customercommercientepicorp21__EpicorP21_Customer258customer_idExternalKey, customer_idCommercient_ExternalKey__c, terms_idTerms_Id, duplicate_po_noDuplicate_Po_No, exclude_canceld_from_order_ackExclude_Canceld_From_Order_Ack
Epicorp21 Ship Tocommercientepicorp21__EpicorP21_ShipToAddress132company_id, ship_to_idCommercient_ExternalKey__c, ship_to_idName, accept_partial_ordersAccept_Partial_Orders, freight_mileage_amtFreight_Mileage_Amt, other_exemption_numberOther_Exemption_Number
ContactsContacts19customer_idAccount__c, idExternalKey, idCommercient_ExternalKey__c, last_nameLast_Name, first_nameFirst_Name
Epicorp21 Addresscommercientepicorp21__EpicorP21_Address108idExternalkey, idCommercient_ExternalKey__c, name, idName, longitudeLongitude, ltl_freight_calc_percentageLtl_Freight_Calc_Percentage
ProductsProducts7inv_mast_uid, item_idCommercient_ExternalKey__c, item_id, item_descProduct_Name, inactiveProduct_Active, iva_taxable_flagTaxable, item_idProduct_Code
PricebooksPrice_Books4price_book_uidCommercient_ExternalKey__c, price_book_idPrice_Book_Name, ActiveActive, descriptionDescription
Product PricebooksProducts:Price_Books7inv_mast_uid, item_idCommercient_ExternalKey, price1list_price, SFDCIDZOHO_PriceBookID, SFDCIDPRODUCT_ID, PriceBookNamePriceBookName
Epicorp21 Item Mastercommercientepicorp21__Epicorp21_Item_Master143inv_mast_uid,item_idCommercient_ExternalKey__c, inv_mast_uid,item_idName, aia_enabled_flagAia_Enabled_Flag, aia_remnant_qtyAia_Remnant_Quantity, allow_custom_desc_flagAllow_Custom_Desc_Flag
Epicorp21 Warehousecommercientepicorp21__Epicorp21_Warehouse93location_idCommercient_ExternalKey__c, location_nameName, adjust_found_items_flagAdjust_Found_Items_Flag, allow_multiple_assemblies_flagAllow_Multiple_Assemblies_Flag, associated_location_idAssociated_Location_Id
Epicorp21 Item Warehousecommercientepicorp21__Epicorp21_Item_Warehouse131company_id, inv_mast_uid, location_idCommercient_ExternalKey__c, company_id, inv_mast_uid, location_idName, inv_mast_uidEpicorp21_Item, location_idEpicorp21_Warehouse, inv_mast_uidProducts
Epicorp21 Serial Numbercommercientepicorp21__Epicorp21_Serial_Number20company_no, location_id, serial_number, inv_mast_uidCommercient_ExternalKey__c, company_no, location_id, serial_number, inv_mast_uidName, allowance_amountAllowance_Amount, allowance_amount_modified_dateAllowance_Amount_Modified_Date, bin_idBin_Id
QuotesQuotes18quote_hdr_uidCommercient_ExternalKey__c, customer_idAccount_Name, order_noName, order_noQuote_Number, date_createdERP_Created_Date__c
Epicorp21 SOHeadercommercientepicorp21__EpicorP21_SOHeader197order_noExternalkey, order_noCommercient_ExternalKey__c, order_noName, fob_flagFob_Flag, urlUrl
Epicorp21 SODetailcommercientepicorp21__EpicorP21_SODetails182line_no,order_noExternalKey, line_no,order_noCommercient_ExternalKey__c, order_noOrder_No, tag_hold_class_uidTag_Hold_Class_Uid, allocate_usage_to_original_itemAllocated_Usage_To_Original_Item
Epicorp21 Invoice Headercommercientepicorp21__EpicorP21_InvoiceHeader133invoice_noExternalkey, invoice_noCommercient_ExternalKey__c, order_dateOrder_Date, delivery_noDelivery_No, edi_order_printed_flagEdi_Order_Printed_Flag
Epicorp21 Invoice Linecommercientepicorp21__EpicorP21_InvoiceDetails87invoice_no,line_noCommercient_ExternalKey__c, unit_of_measureUnit_Of_Measure, item_idItem_Id, item_descItem_Desc, gl_revenue_account_noGl_Revenue_Account_No
Epicorp21 InvoicePaymentcommercientepicorp21__EpicorP21_InvoicePayment22invoice_no, receipt_numberCommercient_ExternalKey__c, invoice_no, receipt_numberName, invoice_no, receipt_numberExternalKey, invoice_noInvoice_No, company_idCompany_Id

6. Community templates

The catalogue carries 37 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: 37
  • Default operations: insert on 37, update on 37, delete on 37
  • Marked circular-sync: 0
  • Licence groups they span: 4
  • Destination objects: Accounts, commercientepicorp21__EpicorP21_Address, commercientepicorp21__EpicorP21_Customer, commercientepicorp21__EpicorP21_InvoiceDetails, commercientepicorp21__EpicorP21_InvoiceHeader, commercientepicorp21__EpicorP21_InvoicePayment, commercientepicorp21__Epicorp21_Sales_Person, commercientepicorp21__EpicorP21_ShipToAddress, commercientepicorp21__EpicorP21_SODetails, commercientepicorp21__EpicorP21_SOHeader, Contacts, Quotes, commercientepicorp21__Epicorp21_Branch, commercientepicorp21__Epicorp21_Class, commercientepicorp21__Epicorp21_Item_Master, commercientepicorp21__Epicorp21_Item_Warehouse, commercientepicorp21__Epicorp21_Serial_Number, commercientepicorp21__Epicorp21_Terms, commercientepicorp21__Epicorp21_Territory, commercientepicorp21__Epicorp21_Warehouse, 3 more and a custom object
  • Object display names: Accounts, Contacts, Epicorp21 Address, Epicorp21 Invoice Header, Epicorp21 InvoicePayment, Epicorp21 Sales Person, Epicorp21 Ship To, Epicorp21 Branch, Epicorp21 Class, Epicorp21 Customer, Epicorp21 Invoice Line, EPICORP21 InvoiceLine, 16 more and a further template
  • Template groups: 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.

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:

  • vwTerms:
  • vwBranch:
  • vwClass:
  • vwTerritory:
  • vwSalesPerson:
  • vwAccount:
  • vwCustomer:
  • vwShipTo:
  • vwContact:
  • vwAddress:
  • vw_Product:
  • vw_Pricebooks:
  • vw_Product_PriceList:
  • vw_Item_Master:
  • vw_Warehouse:
  • vw_Item_Warehouse:
  • vw_SerialNumber:
  • vw_Quotes:
  • vwSalesOrderHeader:
  • vwSalesOrderDetail:
  • vwInvoiceHeader:
  • vwInvoiceLine:
  • vwInvoicePayment:

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 Epicor Prophet 21 (P21) → 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.