Source ERP · 2 of 105

CRMPro → Salesforce — Acumatica Cloud: what the shipped templates set up

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

CRMPro → Salesforce — Acumatica Cloud: 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-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 is dlake-crmpro-salesforce/erps/acumatica-cloud.md, and that skill’s ERP table is what points at it. What follows is only what the shipped Acumatica Cloud → Salesforce 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
Get UserThe templates push User to Salesforce. New records are created, existing ones updated, and records removed in the ERP are deleted.User
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, existing ones updated, and records removed in the ERP are deleted.Account, Contact, CommercientSF24__ACUMATICA_Customer__c, CommercientSF24__ACUMATICA_Employee__cSF_ERP_Salesforce_Clone_Salesrep, SF_ERP_Salesforce_Clone_SalesPerson, SF_ERP_Salesforce_Clone_Customer, SF_ERP_Salesforce_Clone_CustomerLocation, SF_ERP_Salesforce_Clone_CustomerContact, SF_ERP_Salesforce_Clone_Contacts
AR Invoice PaymentsCommercient Syncs the payment details that are held in the receivables file and held against an invoice in the ERP. The amount received from a customer, the date of payment, the method of payment, whether partial or full payment, etc New records are created and existing ones updated; none are deleted.CommercientSF24__ACUMATICA_Payment__c, CommercientSF24__ACUMATICA_PaymentDetail__cSF_ERP_Salesforce_Clone_Payment, SF_ERP_Salesforce_Clone_PaymentDetail
CRM Opportunity and LineERP SALESORDER, SALESORDERDETAIL data becomes Opportunity, OpportunityLineItem in Salesforce. New records are created and existing ones updated; none are deleted.Opportunity, OpportunityLineItemSF_ERP_Salesforce_Clone_SalesOrder, SF_ERP_Salesforce_Clone_SalesOrderDetail
CRM Quote and LineERP SALESORDER, SALESORDERDETAIL data becomes Quote, QuoteLineItem in Salesforce. New records are created and existing ones updated; none are deleted.Quote, QuoteLineItemSF_ERP_Salesforce_Clone_SalesOrder, SF_ERP_Salesforce_Clone_SalesOrderDetail
Customer Multi Ship AddressesIf you are using multiple ship to addresses for a given AR Customer in your ERP system then you will be able to see all the addresses inside the CRM Account screen in a Commercient Multi Ship To Address MCO related list. New records are created and existing ones updated; none are deleted.CommercientSF24__ACUMATICA_Contact__cSF_ERP_Salesforce_Clone_Contacts, SF_ERP_Salesforce_Clone_CustomerContact
ProductERP STOCKITEM data becomes CommercientSF24__StockItem__c, Product2 in Salesforce. New records are created and existing ones updated; none are deleted.CommercientSF24__StockItem__c, Product2SF_ERP_Salesforce_Clone_StockItem
InvoiceBoth Open and Historical invoices are synchronized. Open invoice changes, such as a balance change, or a terms change are reflected in the CRM as they sync based on the frequency of the sync you have chosen (e.g. every hour for example). New records are created and existing ones updated; none are deleted.CommercientSF24__ACUMATICA_SalesInvoice__c, CommercientSF24__ACUMATICA_SalesInvoiceDetail__cSF_ERP_Salesforce_Clone_SalesInvoice, SF_ERP_Salesforce_Clone_SalesInvoiceDetail
PricebookERP STOCKITEM data becomes PricebookEntry in Salesforce. New records are created and existing ones updated; none are deleted.PricebookEntrySF_ERP_Salesforce_Clone_StockItem
SalesorderCommercient will sync the Sales Orders from the ERP Sales Order Entry module to the Commercient Sales Order Header (MCO) objects in CRM. In the CRM, customer service and sales people can visualize the status of the order such as on hold, backorder, forward order, scheduled for delivery, whether it has shipped, and completion status. New records are created and existing ones updated; none are deleted.CommercientSF24__ACUMATICA_SalesOrder__c, CommercientSF24__ACUMATICA_SalesOrderDetails__cSF_ERP_Salesforce_Clone_SalesOrder, SF_ERP_Salesforce_Clone_SalesOrderDetail

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 / postfixSync_Operation_Type
AccountAccountCommercientSF__Commercient_ArCustomerCode__c1vw_ACUMATICACLOUD_Accountvw_ACUMATICACLOUD_Account'' / ''1
Acumatica SalesPersonCommercientSF24__ACUMATICA_Employee__cCommercientSF24__ExternalKey__c1vw_ACUMATICACLOUD_Salespersonvw_ACUMATICACLOUD_SalespersonCommercientSF24__ / __c1
ACUMATICACLOUD CustomerCommercientSF24__ACUMATICA_Customer__cCommercientSF24__ExternalKey__c2vw_ACUMATICACLOUD_Customervw_ACUMATICACLOUD_CustomerCommercientSF24__ / __c1
ACUMATICACLOUD AddressCommercientSF24__ACUMATICA_Contact__cCommercientSF24__ExternalKey__c3vw_ACUMATICACLOUD_Addressvw_ACUMATICACLOUD_AddressCommercientSF24__ / __c1
ProductProduct2CommercientSF__ExternalKey__c4vw_ACUMATICACLOUD_Productvw_ACUMATICACLOUD_Product'' / ''1
ACUMATICACLOUD Item MasterCommercientSF24__StockItem__cCommercientSF24__ExternalKey__c5vw_ACUMATICACLOUD_LineItemvw_ACUMATICACLOUD_LineItemCommercientSF24__ / __c1
ACUMATICACLOUD SalesOrderCommercientSF24__ACUMATICA_SalesOrder__cCommercientSF24__ExternalKey__c6vw_ACUMATICACLOUD_SalesOrderHeadervw_ACUMATICACLOUD_SalesOrderHeaderCommercientSF24__ / __c1
ACUMATICACLOUD SalesOrderDetailCommercientSF24__ACUMATICA_SalesOrderDetails__cCommercientSF24__ExternalKey__c7vw_ACUMATICACLOUD_SalesOrderDetailvw_ACUMATICACLOUD_SalesOrderDetailCommercientSF24__ / __c1
ACUMATICACLOUD InvoiceHeaderCommercientSF24__ACUMATICA_SalesInvoice__cCommercientSF24__ExternalKey__c8vw_ACUMATICACLOUD_InvoiceHeadervw_ACUMATICACLOUD_InvoiceHeaderCommercientSF24__ / __c1
ACUMATICACLOUD InvoiceDetailCommercientSF24__ACUMATICA_SalesInvoiceDetail__cCommercientSF24__ExternalKey__c9vw_ACUMATICACLOUD_InvoiceDetailvw_ACUMATICACLOUD_InvoiceDetailCommercientSF24__ / __c1
ACUMATICACLOUD PaymentCommercientSF24__ACUMATICA_Payment__cCommercientSF24__ExternalKey__c10vw_ACUMATICACLOUD_Paymentvw_ACUMATICACLOUD_PaymentCommercientSF24__ / __c1
ACUMATICACLOUD PaymentDetailCommercientSF24__ACUMATICA_PaymentDetail__cCommercientSF24__ExternalKey__c11vw_ACUMATICACLOUD_PaymentDetailvw_ACUMATICACLOUD_PaymentDetailCommercientSF24__ / __c1
Create Standard PriceBookPricebookEntryExternalKey__c12vw_ProductPriceBookvw_ACUMATICACLOUD_StandardPriceBook'' / ''1
Update Standard PricebookPricebookEntryExternalKey__c13vw_ProductPriceBookvw_ACUMATICACLOUD_StandardPriceBookUpdate'' / ''1
OpportunityOpportunityExternalKey__c14vw_ACUMATICACLOUD_Opportunityvw_ACUMATICACLOUD_Opportunity'' / ''1
ContactContactCommercient_ExternalKey__c15vw_ACUMATICACLOUD_Contactvw_ACUMATICACLOUD_Contact'' / ''1
OpportunityLineitemOpportunityLineItemExternalKey__c15vw_ACUMATICACLOUD_OpportunityLineItemvw_ACUMATICACLOUD_OpportunityLineItem'' / ''1
Get UserUserId17vw_ACUMATICACLOUD_UserSELECT 1=0'' / ''1
QuoteQuoteExternalKey__c22vwSFQuotevw_ACUMATICACLOUD_Quote'' / ''1
Quote LineQuoteLineItemExternalKey__c23vwSFQuoteLinevw_ACUMATICACLOUD_QuoteLineItem'' / ''1

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, Sync_Batch_Size 200. Text columns a template does not use are inserted as '' rather than left NULL. Get_SOQL_Query carries a query on Get User, Account, OpportunityLineitem — those rows read records back from Salesforce 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_ACUMATICACLOUD_Accountinsert + updatevw_ACUMATICACLOUD_Account:vw_ACUMATICACLOUD_Salesperson:, vw_ACUMATICACLOUD_User:SF_ERP_Salesforce_Clone_Salesrep, SF_ERP_Salesforce_Clone_SalesPerson, SF_ERP_Salesforce_Clone_Customer, SF_ERP_Salesforce_Clone_CustomerLocation, SF_ERP_Salesforce_Clone_CustomerContact
vw_ACUMATICACLOUD_Salespersoninsert + updatevw_ACUMATICACLOUD_Salesperson:ExternalkeySF_ERP_Salesforce_Clone_Salesrep, SF_ERP_Salesforce_Clone_SalesPerson
vw_ACUMATICACLOUD_Customerinsert + updatevw_ACUMATICACLOUD_Customer:vw_ACUMATICACLOUD_Account:ExternalKeySF_ERP_Salesforce_Clone_Customer
vw_ACUMATICACLOUD_Addressinsert + updatevw_ACUMATICACLOUD_Address:vw_ACUMATICACLOUD_Account:, vw_ACUMATICACLOUD_Customer:ExternalKeySF_ERP_Salesforce_Clone_Contacts, SF_ERP_Salesforce_Clone_CustomerContact
vw_ACUMATICACLOUD_Productinsert + updatevw_ACUMATICACLOUD_Product:CommercientSF__ExternalKey__cSF_ERP_Salesforce_Clone_StockItem
vw_ACUMATICACLOUD_LineIteminsert + updatevw_ACUMATICACLOUD_LineItem:vw_ACUMATICACLOUD_Product:ExternalKeySF_ERP_Salesforce_Clone_StockItem
vw_ACUMATICACLOUD_SalesOrderHeaderinsert + updatevw_ACUMATICACLOUD_SalesOrderHeader:vw_ACUMATICACLOUD_Account:, vw_ACUMATICACLOUD_Customer:ExternalKeySF_ERP_Salesforce_Clone_SalesOrder
vw_ACUMATICACLOUD_SalesOrderDetailinsert + updatevw_ACUMATICACLOUD_SalesOrderDetail:vw_ACUMATICACLOUD_SalesOrderHeader:, vw_ACUMATICACLOUD_LineItem:ExternalKeySF_ERP_Salesforce_Clone_SalesOrderDetail
vw_ACUMATICACLOUD_InvoiceHeaderinsert + updatevw_ACUMATICACLOUD_InvoiceHeader:vw_ACUMATICACLOUD_Account:, vw_ACUMATICACLOUD_Customer:ExternalKeySF_ERP_Salesforce_Clone_SalesInvoice
vw_ACUMATICACLOUD_InvoiceDetailinsert + updatevw_ACUMATICACLOUD_InvoiceDetail:vw_ACUMATICACLOUD_InvoiceHeader:, vw_ACUMATICACLOUD_LineItem:ExternalKeySF_ERP_Salesforce_Clone_SalesInvoiceDetail
vw_ACUMATICACLOUD_Paymentinsert + updatevw_ACUMATICACLOUD_Payment:vw_ACUMATICACLOUD_Account:, vw_ACUMATICACLOUD_Customer:ExternalKeySF_ERP_Salesforce_Clone_Payment
vw_ACUMATICACLOUD_PaymentDetailinsert + updatevw_ACUMATICACLOUD_PaymentDetail:vw_ACUMATICACLOUD_Payment:ExternalKeySF_ERP_Salesforce_Clone_PaymentDetail
vw_ACUMATICACLOUD_StandardPriceBookinsert + updatevw_ACUMATICACLOUD_Product:, StandardPriceBook:SF_ERP_Salesforce_Clone_StockItem
vw_ACUMATICACLOUD_StandardPriceBookUpdateinsert + updatevw_ACUMATICACLOUD_Product:, StandardPriceBook:SF_ERP_Salesforce_Clone_StockItem
vw_ACUMATICACLOUD_Opportunityinsert-onlyvw_ACUMATICACLOUD_Opportunity:vw_ACUMATICACLOUD_Account:ExternalKey__cSF_ERP_Salesforce_Clone_SalesOrder
vw_ACUMATICACLOUD_Contactinsert + updatevw_ACUMATICACLOUD_Contact:vw_ACUMATICACLOUD_Account:Commercient_ExternalKey__cSF_ERP_Salesforce_Clone_Contacts, SF_ERP_Salesforce_Clone_CustomerContact, SF_ERP_Salesforce_Clone_Salesrep
vw_ACUMATICACLOUD_OpportunityLineIteminsert + updatevw_ACUMATICACLOUD_OpportunityLineItem:vw_ACUMATICACLOUD_Product:, vw_ACUMATICACLOUD_Opportunity:ExternalKey__cSF_ERP_Salesforce_Clone_SalesOrderDetail
vw_ACUMATICACLOUD_Quoteinsert + updatevwSFQuote:vw_ACUMATICACLOUD_Account:, vw_ACUMATICACLOUD_Opportunity:ExternalKeySF_ERP_Salesforce_Clone_SalesOrder
vw_ACUMATICACLOUD_QuoteLineIteminsert + updatevwSFQuoteLine:vwSFQuote:, vw_ACUMATICACLOUD_Product:ExternalKey__cSF_ERP_Salesforce_Clone_SalesOrderDetail

The repository key these templates build is <TimeStamp_Prefix>:<key>. The literal in the view and the TimeStamp_Prefix on the configuration row have to be the same string, case included.

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 — Account, Acumatica SalesPerson
  • 2 — ACUMATICACLOUD Customer
  • 3 — ACUMATICACLOUD Address
  • 4 — Product
  • 5 — ACUMATICACLOUD Item Master
  • 6 — ACUMATICACLOUD SalesOrder
  • 7 — ACUMATICACLOUD SalesOrderDetail
  • 8 — ACUMATICACLOUD InvoiceHeader
  • 9 — ACUMATICACLOUD InvoiceDetail
  • 10 — ACUMATICACLOUD Payment
  • 11 — ACUMATICACLOUD PaymentDetail
  • 12 — Create Standard PriceBook
  • 13 — Update Standard Pricebook
  • 14 — Opportunity
  • 15 — Contact, OpportunityLineitem
  • 17 — Get User
  • 22 — Quote
  • 23 — Quote Line

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_ACUMATICACLOUD_Account reads vw_ACUMATICACLOUD_Salesperson:, vw_ACUMATICACLOUD_User:
  • vw_ACUMATICACLOUD_Payment reads vw_ACUMATICACLOUD_Account:, vw_ACUMATICACLOUD_Customer:
  • vw_ACUMATICACLOUD_PaymentDetail reads vw_ACUMATICACLOUD_Payment:
  • vw_ACUMATICACLOUD_Contact reads vw_ACUMATICACLOUD_Account:
  • vw_ACUMATICACLOUD_Opportunity reads vw_ACUMATICACLOUD_Account:
  • vw_ACUMATICACLOUD_OpportunityLineItem reads vw_ACUMATICACLOUD_Product:, vw_ACUMATICACLOUD_Opportunity:
  • vw_ACUMATICACLOUD_Quote reads vw_ACUMATICACLOUD_Account:, vw_ACUMATICACLOUD_Opportunity:
  • vw_ACUMATICACLOUD_QuoteLineItem reads vwSFQuote:, vw_ACUMATICACLOUD_Product:
  • vw_ACUMATICACLOUD_Customer reads vw_ACUMATICACLOUD_Account:
  • vw_ACUMATICACLOUD_Address reads vw_ACUMATICACLOUD_Account:, vw_ACUMATICACLOUD_Customer:
  • vw_ACUMATICACLOUD_LineItem reads vw_ACUMATICACLOUD_Product:
  • vw_ACUMATICACLOUD_InvoiceHeader reads vw_ACUMATICACLOUD_Account:, vw_ACUMATICACLOUD_Customer:
  • vw_ACUMATICACLOUD_InvoiceDetail reads vw_ACUMATICACLOUD_InvoiceHeader:, vw_ACUMATICACLOUD_LineItem:
  • vw_ACUMATICACLOUD_StandardPriceBook reads vw_ACUMATICACLOUD_Product:, StandardPriceBook:; no template in this set writes StandardPriceBook:
  • vw_ACUMATICACLOUD_StandardPriceBookUpdate reads vw_ACUMATICACLOUD_Product:, StandardPriceBook:; no template in this set writes StandardPriceBook:
  • vw_ACUMATICACLOUD_SalesOrderHeader reads vw_ACUMATICACLOUD_Account:, vw_ACUMATICACLOUD_Customer:
  • vw_ACUMATICACLOUD_SalesOrderDetail reads vw_ACUMATICACLOUD_SalesOrderHeader:, vw_ACUMATICACLOUD_LineItem:

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 → Salesforce pairs
AccountAccount24CustomerIDCommercientSF__Commercient_ArCustomerCode__c, CustomerNameName, CustomerIDERP_UID__c, DisplayNameDBA_Name__c, EmailAccount_Emails__c
Acumatica SalesPersonCommercientSF24__ACUMATICA_Employee__c5Commissioncommission__c, EmployeeIDCommercientSF24__employeeid__c, LocationIDlocationid__c, IsActiveisactive__c, LocationNamelocationname__c
ACUMATICACLOUD CustomerCommercientSF24__ACUMATICA_Customer__c49CustomerIDCommercientSF24__ExternalKey__c, CustomerNameName, AccountRefAccountRef, ApplyOverdueChargesApplyOverdueCharges, AutoApplyPaymentsAutoApplyPayments
ACUMATICACLOUD AddressCommercientSF24__ACUMATICA_Contact__c67ContactID, TypeCommercientSF24__ExternalKey__c, CustomerIDAccount, CustomerIDACUMATICA_Customer, DisplayName, ContactID, TypeName, ActiveActive__c
ProductProduct26InventoryIDCommercientSF__ExternalKey__c, DescriptionName, InventoryIDProductCode, DescriptionDescription, ItemStatusIsActive
ACUMATICACLOUD Item MasterCommercientSF24__StockItem__c74InventoryIDCommercientSF24__ExternalKey__c, SFDCIDCommercientSF24__Product__c, InventoryIDCommercientSF24__Name__c, ABCCodeCommercientSF24__ABCCode__c, AutoIncrementalValueCommercientSF24__AutoIncrementalValue__c
ACUMATICACLOUD SalesOrderCommercientSF24__ACUMATICA_SalesOrder__c64OrderNbrCommercientSF24__ExternalKey__c, CustomerIDAccount, CustomerIDACUMATICA_Customer, OrderNbrName, ApprovedApproved__c
ACUMATICACLOUD SalesOrderDetailCommercientSF24__ACUMATICA_SalesOrderDetails__c46OrderNbr, lineNbrCommercientSF24__ExternalKey__c, SFDCIDCommercientSF24__ACUMATICA_Sales_Order__c, SFDCIDCommercientSF24__ACUMATICA_Item_Master__c, OrderNbrOrderNbr, accountaccount
ACUMATICACLOUD InvoiceHeaderCommercientSF24__ACUMATICA_SalesInvoice__c17ReferenceNbrCommercientSF24__ExternalKey__c, CustomerIDCommercientSF24__AccountID__c, CustomerIDCommercientSF24__ACUMATICA_Customer__c, ReferenceNbrName, AmountAmount
ACUMATICACLOUD InvoiceDetailCommercientSF24__ACUMATICA_SalesInvoiceDetail__c16SalesInvoiceNumber,LineNbrCommercientSF24__ExternalKey__c, SalesInvoiceNumber,LineNbrCommercientSF24__Name__c, SFDCIDCommercientSF24__ACUMATICA_Sales_Invoice__c, SFDCIDCommercientSF24__ACUMATICA_Item_Master__c, ReferenceNbrCommercientSF24__ReferenceNbr__c
ACUMATICACLOUD PaymentCommercientSF24__ACUMATICA_Payment__c21ReferenceNbrCommercientSF24__ExternalKey__c, CustomerIDAccount__c, CustomerIDACUMATICA_Customer__c, ReferenceNbrName, ApplicationDateApplicationDate
ACUMATICACLOUD PaymentDetailCommercientSF24__ACUMATICA_PaymentDetail__c10paymentHeaderRefNumber,referenceNbrCommercientSF24__ExternalKey__c, SFDCIDACUMATICA_Payment__c, paymentHeaderRefNumber,referenceNbrName, amountPaidAmountPaid, balanceWriteOffBalanceWriteOff
Create Standard PriceBookPricebookEntry5InventoryIDExternalKey__c, Pricebook2IdPricebook2Id, SFDCIDProduct2Id, IsActiveIsActive, CurrentStdCostUnitPrice
Update Standard PricebookPricebookEntry3InventoryIDExternalKey__c, IsActiveIsActive, CurrentStdCostUnitPrice
OpportunityOpportunity8OrderNbrExternalKey__c, CustomerIDAccountID, DescriptionName, EffectiveDateCloseDate, FOBPointFOB__c
ContactContact20Commercient_ExternalKeyCommercient_ExternalKey__c, AccountIDAccountID, LastNameLastName, FirstNameFirstName, SuffixSuffix
OpportunityLineitemOpportunityLineItem5OrderNbr, lineNbr, lineTypeExternalKey__c, SFDCIDPricebookEntryId, SFDCIDOpportunityId, unitPriceUnitPrice, orderQtyQuantity
QuoteQuote17OrderNbrExternalKey__c, OrderNbrName, SFDCIDOpportunityID, SFDCIDAccountId, SFDCIDPricebook2Id
Quote LineQuoteLineItem6OrderNbr, lineNbr, lineTypeExternalKey__c, inventoryIDProduct2ID, PricebookEntryIdPricebookEntryId, OrderNbrQuoteID, orderQtyQuantity

6. Community templates

The catalogue carries 170 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: 170
  • Default operations: insert on 170, update on 170, delete on 170
  • Marked circular-sync: 0
  • Licence groups they span: 12
  • Destination objects: Account, Product2, PricebookEntry, CommercientSF24__ACUMATICA_Customer__c, CommercientSF24__ACUMATICA_SalesInvoice__c, CommercientSF24__ACUMATICA_SalesInvoiceDetail__c, CommercientSF24__ACUMATICA_SalesOrder__c, CommercientSF24__ACUMATICA_SalesOrderDetails__c, CommercientSF24__StockItem__c, CommercientSF24__ACUMATICA_Contact__c, CommercientSF24__ACUMATICA_Employee__c, Contact, ACUMATICA_ItemWarehouse__c, CommercientSF24__ACCOUNTMATCHING__c, Quote, CommercientSF24__ACUMATICA_PaymentDetail__c, CommercientSF24__CONTACTMATCHING__c, Opportunity, ACUMATICA_CustomerCreditCard__c, CommercientSF24__ACUMATICA_Payment__c and 16 more
  • Object display names: Account, ACUMATICACLOUD InvoiceDetail, ACUMATICACLOUD InvoiceHeader, ACUMATICACLOUD Customer, ACUMATICACLOUD Item Master, Product, ACUMATICACLOUD SalesOrder, ACUMATICACLOUD SalesOrderDetail, Update Standard Pricebook, ACUMATICACLOUD Address, Create Standard PriceBook, SYNC ITEMTOPRODUCTLOOKUP, 48 more and 2 further templates
  • Template groups: Account, Product, Invoice, Salesorder, CRM Quote and Line, Customer Multi Ship Addresses, CRM Opportunity 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:

  • vw_ACUMATICACLOUD_User
  • vw_ACUMATICACLOUD_Account
  • vw_ACUMATICACLOUD_Payment
  • vw_ACUMATICACLOUD_PaymentDetail
  • vw_ACUMATICACLOUD_Contact
  • vw_ACUMATICACLOUD_Opportunity
  • vw_ACUMATICACLOUD_OpportunityLineItem
  • vwSFQuote
  • vwSFQuoteLine
  • vw_ACUMATICACLOUD_Customer
  • vw_ACUMATICACLOUD_Address
  • vw_ACUMATICACLOUD_LineItem
  • vw_ACUMATICACLOUD_InvoiceHeader
  • vw_ACUMATICACLOUD_InvoiceDetail
  • vw_ProductPriceBook
  • vw_ACUMATICACLOUD_Product
  • vw_ACUMATICACLOUD_SalesOrderHeader
  • vw_ACUMATICACLOUD_SalesOrderDetail
  • vw_ACUMATICACLOUD_Salesperson

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 Acumatica Cloud → 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 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.