Authentication + Configuration
Configuration of a Netsuite Datasource
By now you should have the following key info:
clientId(see OAuth Setup)clientSecret(see OAuth Setup)scriptId(see RESTlet Script Setup)deploymentId(see RESTlet Script Setup)folderId(see Thumbnail Folder Setup)
NetSuite supports a number of types of authentication. The auth method supported in SharpSync is OAuth 2. The configuration values in SharpSync are shown below.
Authentication
In SharpSync, navigate to
Data SourcesSelect the NetSuite Data Source >
AddSet the
Server Url
https://[customerId].app.netsuite.comClick
UpdateClick the Ping button to test the connection. This is optional and will not work if ICMP is disabled on the server
Click the 'Configure' button
You can now configure Authentication & Configuration
Base API path
This is the full link [including your customer id] to the NetSuite Instance. Typically something like:
https://[customerId].suitetalk.api.netsuite.comAuthentication Types
The type of authentication method to use when authenticating with NetSuite. We only support:
OAuth 2.0OAuth Url
The URL where authentication initially happens:
https://[customerId].app.netsuite.com/app/login/oauth2/authorize.nlOAuth Token Url
The URL where tokens are created / renewed. Typically something like:
https://[customerId].suitetalk.api.netsuite.com/services/rest/auth/oauth2/v1/tokenOAuth Client Client Id
The OAuth clientId registered for the SharpSync application. Usually generated by the integration record created:
{some long string of text}
OAuth Client Secret
The OAuth clientSecret registered for the SharpSync application. Usually generated the first time the integration record is created:
{some long string of text}
OAuth Scopes
Think of this as the permissions needed by your OAuth application to send and receive data. The restlets scope is optional but highly recommended. Without it you will not be able to upload thumbnails. You should set this to:
Default item type to use when creating BOM item
When creating a new item, if the item cannot be reliably determined from SharpSync, this is the fallback type to be used (this is currently superseded by the values in the itemType property mapping), example:
Item types to load properties for
When loading accessors (NetSuite Fields) and property mappings, these are the item types searched for:
Simple Boms:
Advanced BOMs:
Servlet URL
The url of the servlet where thumbnails will be uploaded and advanced BOMs item created.
Simple Boms:
Advanced BOMs (use the same value for script and itemInjectionScriptId ):
Use server side scripting for items
Use the server to update custom fields for items which are not surfaced in the NetSuite api. (check this if using advanced BOMs)
Use advanced BOMs
Check to let SharpSync know that you use advanced BOMs in NetSuite
BOM Naming Scheme
The scheme that SharpSync uses to search for and generate BOM names
BOM Revision Naming Scheme
The scheme that SharpSync uses to search for and generate BOM revision names
Last updated