Mapping Customizations > Mapping Customizations > Integrating Custom Salesforce Objects with Standard NetSuite Objects
Was this helpful?
Integrating Custom Salesforce Objects with Standard NetSuite Objects
You can integrate custom Salesforce objects with standard NetSuite objects that are not part of the base connector functionality.
Before integrating, make sure you install:
NetSuite CRM Connector
NetSuite Workflow Templates
To integrate a custom Salesforce object with a standard NetSuite object
1. Create a new trigger on the Salesforce source object which you want to integrate. Select after insert and after update actions and do the following:
a. Copy the body of the trigger code within AbstractCustomObject.trigger block and paste it within your trigger.
b. Uncomment the lines that reference NSCRM.ConnectorSettings and NSCRM.OutboundSchemaUtil.
c. Change the first argument in NSCRM.OutboundSchemaUtil.sendMessage() from Abstract_Custom_Object__c to the API Name of the Salesforce source object which you want to integrate.
2. Create a new custom field on the Salesforce source object called NS_Internal_Id__c with the following attributes:
Text(18)
Unique, case-insensitive
External Id
3. Create two new OutboundSchema records called <ObjectAPIName>PreLink and <ObjectAPIName>PostLink. Use SOQL to define the fields that you want to integrate.
4. Create a custom XSLT file to map your Salesforce source object fields into the corresponding NetSuite target object fields and upload through the DataCloud3 Configuration UI.
5. Update the NetSuite custom object Restlet ID in the DataCloud3 Configuration UI.
The custom Salesforce objects integrate with the standard NetSuite objects.
 
Last modified date: 12/14/2021