Source ERP · 22 of 105

CRMPro → Salesforce — Epicor Prophet 21 (Prophet 21): 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-salesforce/erps/epicor-prophet-21-p21". It extends the dlake-crmpro-salesforce skill, which holds what is true whatever the source ERP. Both directions for this pair are summarised at /integrations/epicor-prophet-21-p21-salesforce/.

CRMPro → Salesforce — Epicor Prophet 21 (Prophet 21): 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-salesforce/erps/epicor-prophet-21-p21 (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-salesforce is the destination skill this page is a child of, and the authority for the Salesforce 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

GroupBusiness outcomeObjectsSource tables and views
Ship toERP Customer, shipping address data becomes Commercient Prophet 21 Ship To Address Managed Custom Object in Salesforce. New records are created and existing ones updated; none are deleted.Commercient Prophet 21 Ship To Address Managed Custom Objectshipping addresses, customers
Inv MasterThe templates push Commercient Prophet 21 Inventory Master Managed Custom Object to Salesforce. New records are created and existing ones updated; none are deleted.Commercient Prophet 21 Inventory Master Managed Custom Objectinventory items
ProductERP inventory master data becomes Product in Salesforce. New records are created and existing ones updated; none are deleted.Productinventory items
WarehouseERP inventory location, inventory master, location data becomes Commercient Prophet 21 Warehouse Managed Custom Object in Salesforce. New records are created and existing ones updated; none are deleted.Commercient Prophet 21 Warehouse Managed Custom Objectinventory locations, inventory items, locations
Product item Reverse lookupERP inventory master data becomes Commercient Prophet 21 Inventory Master Managed Custom Object in Salesforce. New records are created and existing ones updated; none are deleted.Commercient Prophet 21 Inventory Master Managed Custom Objectinventory items
AccountIn addition to creating the Account record from your ERP customer records, Commercient syncs over the entire Accounting AR Customer record into a Commercient AR Customer object which is a Managed Custom Object (MCO). A lookup field is provided to lookup to the default AR Customer record MCO from the Account record. New records are created and existing ones updated; none are deleted.Account, Commercient Prophet 21 Terms Managed Custom Object, Contact, Commercient Prophet 21 Customer Managed Custom Object, Commercient Prophet 21 Salesperson Managed Custom Objectcustomers, addresses, shipping addresses, terms, contacts
CRM Opportunity and LineERP order entry header, quote header, inventory master data becomes Opportunity, Opportunity line item in Salesforce. New records are created and existing ones updated; none are deleted.Opportunity, Opportunity line itemquote headers, order entry headers, quote lines, inventory items
CRM Order and LineERP Address, order entry header, quote header data becomes Order, Order product in Salesforce. New records are created and existing ones updated; none are deleted.Order, Order productorder entry headers, addresses, quote headers, order entry lines, inventory items
CRM Quote and LineERP Address, order entry header, quote header data becomes Quote, Quote line item in Salesforce. New records are created and existing ones updated; none are deleted.Quote, Quote line itemquote headers, order entry headers, addresses, quote lines, order entry lines, inventory items
Invoice History HeadersThe Invoices from the ERP invoice module are synchronized to the Commercient Invoice Header (MCO) object in CRM. Customer service and sales people can visualize the status of the Invoice such as open, closed, as well as the balance remaining and the due date. New records are created and existing ones updated; none are deleted.Commercient Prophet 21 Invoice Header Managed Custom Objectinvoice headers
Open AR Invoice HeaderThe detail lines on open invoices are visible too so that you are aware of what items you are awaiting payment on from your customer. New records are created and existing ones updated; none are deleted.Commercient Prophet 21 Invoice Line Managed Custom Objectinvoice lines
PricebookERP inventory master data becomes Price book object, Price book entry, Price book entry in Salesforce. New records are created and existing ones updated; none are deleted.Price book object, Price book entryinventory items
Sales orderThe templates push Commercient Prophet 21 Sales Order Detail Managed Custom Object, Commercient Prophet 21 Sales Order Header Managed Custom Object to Salesforce. New records are created and existing ones updated; none are deleted.Commercient Prophet 21 Sales Order Detail Managed Custom Object, Commercient Prophet 21 Sales Order Header Managed Custom Objectorder entry lines, order entry headers

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 nameDestination objectMatching keyRun sequence
Terms codeCommercient Prophet 21 Terms Managed Custom ObjectCommercient external key (Epicor package)1
SalespersonCommercient Prophet 21 Salesperson Managed Custom ObjectCommercient external key (Epicor package)2
AccountAccountCommercient AR customer code3
CustomerCommercient Prophet 21 Customer Managed Custom ObjectCommercient external key (Epicor package)4
Ship toCommercient Prophet 21 Ship To Address Managed Custom ObjectCommercient external key (Epicor package)5
Order headerCommercient Prophet 21 Sales Order Header Managed Custom ObjectCommercient external key (Epicor package)6
Order line numberCommercient Prophet 21 Sales Order Detail Managed Custom ObjectCommercient external key (Epicor package)7
Invoice headerCommercient Prophet 21 Invoice Header Managed Custom ObjectCommercient external key (Epicor package)8
invoice lineCommercient Prophet 21 Invoice Line Managed Custom ObjectCommercient external key (Epicor package)9
Customer Reverse Lookup AccountAccountCommercient AR customer code10
Inv MasterCommercient Prophet 21 Inventory Master Managed Custom ObjectCommercient external key (Epicor package)11
ProductProductCommercient external key (earlier package)12
WarehouseCommercient Prophet 21 Warehouse Managed Custom ObjectCommercient external key (Epicor package)13
Price book objectPrice book objectExternal key (custom field)14
Create Standard Price BookPrice book entryExternal key (custom field)15
Update Standard PricebookPrice book entryExternal key (custom field)16
Custom Pricebook CreatePrice book entryExternal key (custom field)17
Custom Pricebook UpdatePrice book entryExternal key (custom field)18
Product item Reverse lookupCommercient Prophet 21 Inventory Master Managed Custom ObjectCommercient external key (Epicor package)19
OpportunityOpportunityExternal key (custom field)19
ContactsContactExternal key (custom field)20
Opportunity line itemOpportunity line itemExternal key (custom field)20
QuoteQuoteExternal key (custom field)22
Quote LineQuote line itemExternal key (custom field)23
Standard OrderOrderExternal key (custom field)2510
Standard order lineOrder productExternal key (custom field)2610
Standard Order UpdateOrderExternal key (custom field)2710
Standard order line updateOrder productExternal key (custom field)2810

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.

ViewChange detectionSource tables
terms feedinsert + updateterms
salesperson feedinsert + updatecustomer salesperson assignments
CRM account feedinsert + updatecustomers, addresses, shipping addresses
customer feedinsert + updatecustomers, terms
shipping address feedinsert + updateshipping addresses, customers
a sales order feed under a mismatched nameinsert onlyorder entry headers
a sales order line feed under a mismatched nameinsert onlyorder entry lines
invoice feedinsert + updateinvoice headers
invoice line feedinsert + updateinvoice lines
customer account lookup feedinsert + updatecustomers
inventory master feedinsert + updateinventory items
product feedinsert + updateinventory items
warehouse feedinsert + updateinventory locations, inventory items, locations
price book feed——
standard price book feed (new entries)insert onlyinventory items
standard price book feed (changes)insert + updateinventory items
custom price book feed (new entries)insert onlyinventory items
custom price book feed (changes)insert + updateinventory items
product item reverse lookup feedinsert + updateinventory items
opportunity feedinsert + updatequote headers, order entry headers
contact feedinsert onlycontacts, customers, addresses
opportunity line feedinsert + updatequote lines, quote headers, inventory items
quote feedinsert onlyquote headers, order entry headers, addresses
quote line feedinsert + updatequote lines, order entry lines, inventory items
standard order feedinsert + updateorder entry headers, addresses, quote headers
standard order line feedinsert + updateorder entry lines, inventory items
standard order feed (changes)insert + updateorder entry headers, addresses, quote headers
standard order line feed (changes)insert + updateorder entry lines, inventory items

4. Order of work

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

  • 1 — Terms code
  • 2 — Salesperson
  • 3 — Account
  • 4 — Customer
  • 5 — Ship to
  • 6 — Order header
  • 7 — Order line number
  • 8 — Invoice header
  • 9 — invoice line
  • 10 — Customer Reverse Lookup Account
  • 11 — Inv Master
  • 12 — Product
  • 13 — Warehouse
  • 14 — Price book object
  • 15 — Create Standard Price Book
  • 16 — Update Standard Pricebook
  • 17 — Custom Pricebook Create
  • 18 — Custom Pricebook Update
  • 19 — Product item Reverse lookup, Opportunity
  • 20 — Contacts, Opportunity line item
  • 22 — Quote
  • 23 — Quote Line
  • 2510 — Standard Order
  • 2610 — Standard order line
  • 2710 — Standard Order Update
  • 2810 — Standard order line update

Several of these rows share a run sequence 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 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.

  • shipping address feed reads CRM account sync output, customer sync output
  • product feed reads inventory master sync output (generic name)
  • warehouse feed reads inventory master sync output (generic name), product record sync output (generic name)
  • product item reverse lookup feed reads product record sync output (generic name), inventory master sync output (generic name)
  • customer account lookup feed reads customer sync output
  • contact feed reads CRM account sync output
  • opportunity feed reads account sync output (generic name); no template in this set writes account sync output (generic name)
  • opportunity line feed reads product record sync output (generic name), opportunity sync output (generic name)
  • standard order feed reads account sync output (generic name), contact sync output (generic name), opportunity sync output (generic name), Salesforce quote sync output (generic name); no template in this set writes account sync output (generic name), contact sync output (generic name)
  • standard order line feed reads standard order sync output, product record sync output (generic name), standard price book sync output (generic name), quote line sync output (generic name)
  • standard order feed (changes) reads account sync output (generic name), contact sync output (generic name), opportunity sync output (generic name), Salesforce quote sync output (generic name); no template in this set writes account sync output (generic name), contact sync output (generic name)
  • standard order line feed (changes) reads standard order sync output, product record sync output (generic name), standard price book sync output (generic name), quote line sync output (generic name)
  • quote feed reads account sync output (generic name), opportunity sync output (generic name); no template in this set writes account sync output (generic name)
  • quote line feed reads Salesforce quote sync output (generic name), product record sync output (generic name)
  • customer feed reads CRM account sync output, salesperson sync output, terms sync output (generic name)
  • invoice feed reads CRM account sync output, customer sync output, sales order sync output, salesperson sync output, terms sync output (generic name)
  • invoice line feed reads invoice sync output
  • standard price book feed (new entries) reads product record sync output (generic name)
  • standard price book feed (changes) reads product record sync output (generic name)
  • custom price book feed (new entries) reads product record sync output (generic name), price book sync output (generic name), price 3 sync output (generic name); no template in this set writes price 3 sync output (generic name)
  • custom price book feed (changes) reads product record sync output (generic name), price book sync output (generic name), price 3 sync output (generic name); no template in this set writes price 3 sync output (generic name)
  • a sales order line feed under a mismatched name reads sales order sync output, a sales order line sync output under a mismatched name; no template in this set writes a sales order line sync output under a mismatched name
  • a sales order feed under a mismatched name reads CRM account sync output, customer sync output, salesperson sync output (generic name), terms sync output (generic name), a sales order sync output under a mismatched name; no template in this set writes salesperson sync output (generic name), a sales order sync output under a mismatched name

5. Field mapping

Each template carries its intended mapping in field mapping.

TemplateObjectMapped fieldsFirst ERP → Salesforce pairs
Terms codeCommercient Prophet 21 Terms Managed Custom Object28Terms identifier → Commercient external key (Epicor package), Terms identifier → Name, Billing cycle cutoff day → Commercient billing cycle cutoff day, Cash discount eligible → Commercient cash discount eligible, Credit card required → Commercient credit card required
SalespersonCommercient Prophet 21 Salesperson Managed Custom Object13Company identifier, Customer salesperson identifier → Commercient external key (Epicor package), Company identifier, Customer salesperson identifier → Name, Commission percentage → Commercient commission percentage, Company identifier → Commercient company identifier (Prophet 21 package), Created by → Commercient created by
AccountAccount15Company identifier,Customer identifier → Commercient AR customer code, Customer name → Name, Central phone number → Phone, Central fax number → Fax, Mailing address line 1,Mailing address line 2,Mailing address line 3 → Billing street
CustomerCommercient Prophet 21 Customer Managed Custom Object96Company identifier,Customer identifier → Commercient external key (Epicor package), Company identifier,Customer name → Name, Accept partial orders → Accept partial orders, Allow advance billing → Allow advance billing, Allowed account number → Allowed account number
Ship toCommercient Prophet 21 Ship To Address Managed Custom Object91Company identifier, Ship to identifier → Commercient external key (Epicor package), Customer name → Name, Acceptable wait time → Acceptable wait time, Accept partial orders → Accept partial orders, Alternate tax rate eligible → Alternate tax rate eligible
Order headerCommercient Prophet 21 Sales Order Header Managed Custom Object87Company identifier, Order number → Commercient external key (Epicor package), Company identifier, Order number → Name, Address identifier → Address identifier, Approved → Approved, Architect identifier → Architect identifier
Order line numberCommercient Prophet 21 Sales Order Detail Managed Custom Object97Company number, Line number, Order number → Commercient external key (Epicor package), Company number, Line number, Order number → Name, Allocate usage to original item → Allocate usage to original item, Assembly → Assembly, Base unit price → Base unit price
Invoice headerCommercient Prophet 21 Invoice Header Managed Custom Object96Company number,Invoice number → Commercient external key (Epicor package), Company number,Invoice number → Name, allowed → allowed, Amount paid → Amount paid, Approved → Approved
invoice lineCommercient Prophet 21 Invoice Line Managed Custom Object79Company identifier,Invoice number,Line number → Commercient external key (Epicor package), Company identifier,Invoice number,Line number → Name, Administration fee → Administration fee, Budget code → Budget code, Buyer → Buyer
Customer Reverse Lookup AccountAccount2Company identifier, Customer identifier → Commercient AR customer code, the linked Salesforce record → Commercient Epicor Customer Managed Custom Object
Inv MasterCommercient Prophet 21 Inventory Master Managed Custom Object91Inventory master identifier,Item identifier → Commercient external key (Epicor package), Inventory master identifier,Item identifier → Name, Attribute group identifier → Attribute group identifier, Available for scheduled delivery → Available for scheduled delivery, Base unit → Base unit
ProductProduct6Inventory master identifier, Item identifier → Commercient external key (earlier package), Item identifier, Item description → Name, inactive → Active, Item identifier → Product code, Item description → Description
WarehouseCommercient Prophet 21 Warehouse Managed Custom Object93Company identifier, Inventory master identifier, Location identifier → Commercient external key (Epicor package), Location name, Location identifier → Name, Allow direct ship of discontinued items → Allow direct ship of discontinued items, Allow special order of discontinued items → Allow special order of discontinued items, Alternate tax group identifier → Alternate tax group identifier
Price book objectPrice book object3External key (custom field) → External key (custom field), Name → Name, Row timestamp → Row timestamp
Create Standard Price BookPrice book entry6the linked Salesforce record → product lookup, the linked Salesforce record → price book lookup, Active → Active, Unit price → Unit price, Inventory master identifier, Item identifier → External key (custom field)
Update Standard PricebookPrice book entry4Active → Active, Unit price → Unit price, Inventory master identifier, Item identifier → External key (custom field), → Row timestamp
Custom Pricebook CreatePrice book entry6the linked Salesforce record → product lookup, the linked Salesforce record → price book lookup, Active → Active, price 3 sync output (generic name) → Unit price, Inventory master identifier, Item identifier → External key (custom field)
Custom Pricebook UpdatePrice book entry4price 3 sync output (generic name) → Active, price 3 sync output (generic name) → Unit price, Inventory master identifier, Item identifier → External key (custom field), → Row timestamp
Product item Reverse lookupCommercient Prophet 21 Inventory Master Managed Custom Object2Inventory master identifier, Item identifier → Commercient external key (Epicor package), the linked Salesforce record → Commercient product (related record)
OpportunityOpportunity6Quote header identifier → External key (custom field), Company identifier, Customer identifier, Address identifier → account lookup, Quote header identifier → Name, Expiration date → close date property
ContactsContact11id, Address identifier → External key (custom field), the linked Salesforce record → account lookup, id → Prophet 21 contact identifier (custom field), First name → Given name, Last name → Family name
Opportunity line itemOpportunity line item6the linked Salesforce record → product lookup, the linked Salesforce record → Opportunity, the linked Salesforce record → price book entry lookup, Quote line identifier → external key column, Price 1 → Unit price
QuoteQuote21Order number → External key (custom field), Order number → Name, the linked Salesforce record → Opportunity, the linked Salesforce record → account lookup, price book lookup → price book lookup
Quote LineQuote line item6Order number, Line number → External key (custom field), Inventory master identifier, Item identifier → product lookup, Quantity ordered → Quantity, Unit price → Unit price, Inventory master identifier, Item identifier → price book entry lookup
Standard OrderOrder28Company identifier, Order number → External key (custom field), Customer identifier → account lookup, Contact identifier → bill to contact lookup, Contact identifier → ship to contact lookup, Order header identifier → Opportunity
Standard order lineOrder product12Company number, Line number, Order number → External key (custom field), Order number → Order identifier, Inventory master identifier, Item identifier → product lookup, Inventory master identifier, Item identifier → price book entry lookup, Order number, Line number → quote line item lookup
Standard Order UpdateOrder26Company identifier, Order number → External key (custom field), Customer identifier → account lookup, Contact identifier → bill to contact lookup, Contact identifier → ship to contact lookup, Quote header identifier → Opportunity
Standard order line updateOrder product10Company number, Line number, Order number → External key (custom field), Order number → Order identifier, Order number, Line number → quote line item lookup, Extended description → Description, Required date → End date

6. Community templates

The catalogue carries 637 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: 637
  • Default operations: insert on 637, update on 637, delete on 637
  • Marked as circular sync: 4
  • Licence groups they span: 17
  • Destination objects: Account, Commercient Prophet 21 Inventory Master Managed Custom Object, Price book entry, Commercient Prophet 21 Customer Managed Custom Object, Contact, Commercient Prophet 21 Sales Order Header Managed Custom Object, Commercient Prophet 21 Ship To Address Managed Custom Object, Commercient Prophet 21 Invoice Header Managed Custom Object, Commercient Prophet 21 Invoice Line Managed Custom Object, Product, Commercient Prophet 21 Sales Order Detail Managed Custom Object, Commercient Prophet 21 Terms Managed Custom Object, Commercient Prophet 21 Salesperson Managed Custom Object, Order product, User, Opportunity, Commercient Prophet 21 Warehouse Managed Custom Object, Opportunity line item, Commercient Prophet 21 Address Managed Custom Object, 39 more and 19 custom objects
  • Object display names: Account, Customer Reverse Lookup Account, Ship to, Contacts, Customer, invoice line, Invoice header, Product, Order header, Salesperson, Terms code, Inv Master, 125 more and 30 further templates
  • Template groups: Account, Product, Invoice, Sales order, Customer Multi Ship Addresses, CRM Order and Line, CRM Opportunity and Line, CRM Quote and Line, Opportunity, Pricebook, Vendor

7. Verifying

The detail of this section is part of the operational skill. Whitelisted customers fetch it with dlake admin get_skill dlake-crmpro-salesforce/erps/epicor-prophet-21-p21.

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 (Prophet 21) → Salesforce templates set up. dlake-crmpro-salesforce is the destination skill this page sits under: its own text is the authority for the Salesforce 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-salesforce/erps/epicor-prophet-21-p21, 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.