Importing Records from NetSuite into OpenAir Using Custom Workflows

You can create custom workflows to import data from a supported NetSuite record type, including custom record types, into a record type in OpenAir using your own field mapping definitions.

To import records from NetSuite into OpenAir using a custom import workflow:

  1. Go to Administration > NetSuite Connector > Mappings.

  2. Click New workflow then Custom Import. The Custom workflow popup window appears.

    Custom workflow settings popup window.
  3. Enter a Workflow name — the value must be up to 40 characters long and must contain only alphanumeric or underscore characters.

  4. Enter a Display name up to 80 characters long.

  5. Select the NetSuite record holding the data you want to import into the selected OpenAir record type. To import data from a custom record type in NetSuite, select “[Custom Record]”, and select the NetSuite custom record type from the Specify dropdown.

    For more information about creating custom record types in NetSuite, see Creating Custom Record Types (External link to NetSuite SuiteAnswers | Answer ID: 10140).

    Tip:

    Click Synchronize to update the list of NetSuite custom record types without leaving the custom import workflow configuration form.

  6. Select the OpenAir record type you want to import NetSuite data into.

  7. Select the ID field for the OpenAir record — this is the custom field that will hold the internal ID of the matching NetSuite record. The ID field is required and cannot be changed after you save the custom import workflow configuration.

    Note:

    In most cases, you must create the custom field before you create the custom import workflow.

    It is not possible to create custom fields for loaded cost records in OpenAir. To enable custom import workflows for loaded cost, contact OpenAir Customer Support. Enabling the Loaded Cost Custom Import optional feature, creates the custom field netsuite_loaded_cost_id that will hold the internal ID of the NetSuite record. This custom field is not visible on the OpenAir UI.

    • To view the NetSuite internal ID for an imported loaded cost record, export the loaded_cost table using the Import/Export functionality in OpenAir. For more information about the Import/Export functionality, see Integration: Import/Export.

    • To set the NetSuite internal ID for an existing loaded cost record, you need to use the OpenAir XML API, OpenAir SOAP API, or OpenAir Integrations Manager. As with all import workflows, if you have existing loaded cost records in OpenAir, you should ensure that importing loaded cost information from NetSuite does not create duplicate entries in OpenAir. Setting the NetSuite internal ID for existing records is one way of doing so.

  8. The only Integration method available for custom import workflows is Create and Update— The workflow lets you:

    • Create new records in OpenAir first and then import them to NetSuite.

    • Update records in OpenAir and use the NetSuite <> OpenAir integration to update the corresponding record in NetSuite.

  9. Click Save.

  10. Click New workflow then click the display name of the custom import workflow you created. The custom import workflow is added to the list.

    Adding a custom workflow to the list of integration workflows.
  11. Select the custom import workflow from the list of workflows to show the field mappings for this workflow. Custom import workflows are listed after built-in workflows.

  12. Edit the field mappings as per your integration requirements.

    One row mapping the internal ID of the OpenAir record to the relevant custom field on the NetSuite record is shown by default. This required mapping row is protected and cannot be modified.

    You must specify at least one additional mapping row before you can save the workflow.

    Note:

    Review the following guideline:

    • Before you create a custom import workflow, make sure you add a custom field to the OpenAir record type to store the NetSuite internal IDs of the records imported using the custom workflow.

    • Consult NetSuite SOAP schema browser for reference when defining field mapping for custom import workflows. It includes information about any specific requirements for importing NetSuite data into OpenAir.

    Filed mapping definition table for a custom workflow.
  13. (Optional) Add a filter to limit the number of records imported when the workflow runs. See Using Filters.

    By default, the custom import workflow imports all records of the selected type from NetSuite each time the custom import workflow even if the NetSuite records were imported previously and were not modified since the last import.

  14. Click Save.