SharpSync
  • Welcome
  • Fundamentals
    • Getting Started
      • Registration
      • Landing Page
      • Support
      • Subscription
    • Data Sources
    • Property Mappings
      • Adding Property Mapping
      • Property Mapping Settings
    • Rules
      • Import / Export
        • Append text
        • Calculate number
        • Export manipulation
        • Format as decimal number
        • Prepend text
        • Remove property
        • Replace all instances
        • Replace first instance
        • Round to nearest X
        • Select from JSON
        • Set cell value
        • Set empty cells
        • Text manipulation
      • Display
        • Number between
        • Text contains
        • Text ends with
        • Text evaluation
        • Text is a number
        • Text is exactly
        • Text is in list
        • Text is not a number
        • Text is not empty
        • Text is not in list
        • Text length between
        • Text length is exactly
        • Text maximum length
        • Text minimum length
        • Text not contains
        • Text not ends with
        • Text not starts with
        • Text starts with
      • Advanced Scripting
    • BOM Comparison
    • Data Safety
    • Troubleshooting
      • Duplicate component paths
      • OAuth 2.0
  • Data Sources
    • Autodesk Inventor
    • CSV
      • Getting Started
      • Importing a Bill of Materials (BOM)
    • MS Dynamics 365 Business Central
      • Getting Started
      • Item Fields Json & Internal Names
      • Resource Fields Json & Internal Names
      • List Names For nestedObject Mappings
    • NetSuite
      • OAuth Setup
        • Permissions
      • RESTlet Script Setup
        • SharpSync RESTlet Script
      • Thumbnail Folder Setup
      • Authentication + Configuration
      • Common setup
        • Configure quantity mapping
        • Configure accounts mappings
        • Configure itemType mapping
        • Configure isPhantom mapping
        • Configure subsidiary mapping
        • Configure price mapping
        • Configure Where Used Link mapping
        • Configure thumbnail mapping
        • Read-Only NetSuite Fields
        • Common Mapping Rules
        • Common List names
      • Advanced Bill of Materials
      • Configure Routings
      • Integration tips
      • Troubleshooting
    • Odoo
      • Getting Started
        • Authentication + Configuration
        • Debugging tips
      • Common Setup
        • Map BOM Codes
        • Map BOM Types
        • Map Attribute Values
          • Reading Attributes - Overview
          • Display All Attribute Names
          • Display Single Attribute Values
          • Writing attributes
      • Product Management
      • Hosting Options
      • List Names
      • Permissions
      • Troubleshooting
    • Onshape
      • Getting Started
      • Setting up Derivatives
    • Propel PLM
      • Getting Started
    • SolidWorks
    • SolidWorks PDM
      • Downloading and installing the add-in
      • Configure the add-in
      • Setting up the Solidworks PDM Web 2
      • Troubleshooting
      • Submitting a BOM for update
  • Advanced
    • Derivatives
  • User management
    • User Management
    • Application Permissions
Powered by GitBook
On this page
  • Item Type Property Mapping Settings
  • Item Type Property Mapping Rules
  1. Data Sources
  2. NetSuite
  3. Common setup

Configure itemType mapping

The NetSuite REST API using specific paths for mapping item types such as (but not limited to):

  • assemblyitem

  • inventoryitem

  • noninventoryitem

  • noninventoryresaleitem

  • noninventorypurchaseitem

  • bom

  • bomrevision

  • etc

Exactly one property mapping for NetSuite must be set as an item type mapping in order for SharpSync to know which item type value to use when creating new items in NetSuite. You can leave both the Onshape and the Netsuite mappings as (Unmapped), but the mapping must exist.

Item Type Property Mapping Settings

Setting
Value

Accessor

itemType

Primary accessor

(Unmapped)

or mapped to a Primary Source accessor if you have one

Secondary accessor

(Unmapped)

Update Primary on Submit

unchecked

Update NetSuite on Submit

unchecked

Rendering Type

Select List

List Items

(see below)

Prefer NetSuite value

checked

Is Item Type Property

checked

When an item is created in NetSuite, it is typically one of the item types mentioned above. As such, add this as a list of options to pick from your Select List. You can include any item type in this list that is supported by your installation of NetSuite. A typical List Items list is as follows:

assemblyitem|inventoryitem|noninventorypurchaseitem|noninventorysaleitem|noninventoryresaleitem

On a more technical note: These items are derived by calling the endpoint

/GET {{netsuite-api}}/services/rest/record/v1/metadata-catalog with an empty body

Item Type Property Mapping Rules

In addition to this you'll want to create the following rules:

  • A Text Manipulation rule for the Primary Source (CAD source) system that runs the following script (or similar based on your conditions) on data import:

if (rowData.isAssemblyRow === true) 
    return 'assemblyitem'; 

return 'inventoryitem'; /* or whatever your default item type is */
  • A Text Manipulation rule for the Secondary Source (NetSuite) that runs the following script on data import to derive the existing NetSuite item type:

return rowData.secondaryDefaultItemCreationType;
  • A Text not empty rule. This will prevent errors when submitting the BOM

PreviousConfigure accounts mappingsNextConfigure isPhantom mapping

Last updated 3 months ago