{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":21343,"path":"integrate-applications/integration-hub/oracle-netsuite-spoke.md","title":"Oracle NetSuite Spoke","bundle":null,"doc_type":null,"release":"australia","body":"\n# Oracle NetSuite Spoke\n\nAutomate create, read, update, and delete \\(CRUD\\) record management operations in Oracle NetSuite from your ServiceNow instance by using the Oracle NetSuite spoke. It provides preconfigured actions, subflows, connection and credential aliases, and scripted REST APIs to do these operations.\n\n## Request apps on the Store\n\nVisit the [ServiceNow Store](https://store.servicenow.com/sn_appstore_store.do#!/store/home) to view all the available apps, and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the [ServiceNow Store version history release notes](https://www.servicenow.com/docs/r/store-release-notes/sn-store-release-notes.html).\n\n## Integration Hub subscription\n\nThis spoke requires an Integration Hub subscription. For more information, see [Legal schedules - IntegrationHub overview](https://www.servicenow.com/content/dam/servicenow-assets/public/en-us/doc-type/legal/snc-addendum-integrationhub.pdf).\n\n## Spoke version\n\nOracle NetSuite spoke v1.2.0 is the latest version. For version history of the spoke, see [Oracle Netsuite Spoke release notes](https://www.servicenow.com/docs/r/store-release-notes/store-integrationhub-rn-oracle-netsuite-spoke.html).\n\n## Supported versions\n\nThis spoke was built for Oracle NetSuite API version 1.0, but may be compatible with later versions.\n\n## Spoke dependencies\n\nIf you’re having trouble installing the app, ensure that these dependent plugins are installed:\n\n-   Complex Object \\(com.glide.object\\)\n-   ServiceNow IntegrationHub Action Template - Data Stream \\(com.glide.hub.action\\_type.datastream\\)\n-   ServiceNow IntegrationHub Runtime \\(com.glide.hub.integration.runtime\\)\n-   ServiceNow IntegrationHub Action Step - REST \\(com.glide.hub.action\\_step.rest\\)\n-   ServiceNow IntegrationHub Action Step - SOAP \\(com.glide.hub.action\\_step.soap\\)\n-   ServiceNow Flow Designer - Dynamic Inputs \\(com.glide.hub.dynamic\\_inputs\\)\n-   ServiceNow Flow Designer - Dynamic Outputs \\(com.glide.hub.dynamic\\_outputs\\)\n\n**Note:** Some of these plugins are licensable features and require appropriate licenses, if used outside the spoke implementation.\n\n## Spoke subflows\n\nThe Oracle NetSuite spoke provides sample subflows to demonstrate automating Oracle NetSuite tasks. To customize a sample subflow, copy it to a new application scope. Available sample subflows include:\n\n|Subflow|Description|\n|-------|-----------|\n|Get Record Details \\(Inbound\\)​|Triggers the 'Look up Record Details' action. The output of the action is logged for reference. You can replace the logging step with custom logic, such as creating records in a desired table, depending on the requirement to store record details.​|\n|Create Purchase Order \\(Outbound\\)​|Triggers the 'Create Record' action of the Oracle NetSuite Spoke. Required data is provided through subflow inputs, and all fields are structured exactly as per the API requirements. All subflow inputs are passed directly to the action, except for one: the input of type Array of Objects is converted to a string using the OracleNetsuiteUtils.stringifyArray\\(array\\) method before being passed. This method should be used for all Array of Object type inputs.​|\n\n## Spoke actions\n\nThe Oracle NetSuite spoke provides actions to automate Oracle NetSuite tasks when events occurs in your ServiceNow instance. Available actions include:\n\n|Category|Action|Description|\n|--------|------|-----------|\n|Record Management|Create Record|Creates a record corresponding to an object in Oracle NetSuite. For example, create a new record for the object: “purchaseOrder”.|\n|Delete Record|Delete a record corresponding to an object in Oracle NetSuite. For example, delete a record for the object: “account”.|\n|Look up Record Details|Retrieves any type of record details from Oracle NetSuite.|\n|Update Record|Updates a record corresponding to an object in Oracle NetSuite. For example, update a record for the object: \"purchaseOrder\".|\n|Look up Record List Stream|Retrieves the list for a given record or object from Oracle NetSuite. For example, retrieve the list of all purchaseOrder\\(s\\).|\n|Metadata Retrieval|Get Objects \\(Metadata\\)|Retrieves the list of all records or objects from Oracle NetSuite.|\n|Get Object Schema \\(Metadata\\)|Retrieves all schema or fields related data from Oracle NetSuite for a given object.|\n\n## Connection and credential alias requirements\n\nIntegration Hub uses aliases to manage connection and credential information, and OAuth credentials. Using an alias eliminates the need to configure multiple credentials and connection information profiles when using multiple environments. If the connection or credential information changes, you don't need to update any actions that use the connection.\n\n\n\nFor information about setting up the spoke, see [Set up Oracle NetSuite Spoke](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/integration-hub/set-up-oracle-netsuite-spoke.md).\n\n"}}