Quality Management Connect

The NetSuite Quality Management SuiteApp lets you send pending inspection notifications to NetSuite partners so that they can collect and review inspection data. When the inspection's done, you can send the results back to NetSuite to trigger business processes using the existing REST interface.

Quality Management Connect uses NetSuite’s SuiteSignOn to make an outbound call to an external app with an SSO OAuth token.

The external application uses the token to create an OAuth signature, then authenticates with NetSuite to start a web service session and pull quality inspection queue records. The session lasts for 20 minutes.

This process lets partner solutions get the information they need to push quality data back to NetSuite to initiate workflow actions.

NetSuite Quality Management Connect supports the following inspection types:

Quality Management OAuth 2.0

In client-server authentication, you have to request access to protected resources using the resource owner’s credentials. To give access, the resource owner shares their credentials with a third party.

For example, if a client needs to use the Quality SuiteApp and call a RESTlet from outside NetSuite, they have to enter their user ID and password. That’s risky because it gives third parties access to the client’s account and lets them do anything.

NetSuite OAuth fixes this by adding an authorization layer and separating the client from the resource owner. OAuth 2.0 lets third-party apps get limited access to HTTP services (like RESTlets). The resource owner can approve access or let a third-party app connect.

To enable OAuth 2.0

  1. Go to Setup > Company > Setup Tasks > Enable Features.

  2. Click the SuiteCloud subtab.

  3. In the SuiteScript section, check the following boxes:

    • Client SuiteScript

    • Server SuiteScript

  4. In the Manage Authentication section, check the OAuth 2.0 box.

  5. Click Save.

To create an OAuth role:

  1. Go to Setup > Users/Roles > Manage Roles > New.

  2. On the Permission subtab, click Setup.

  3. In the Permission list, select OAuth 2.0 Authorized Applications Management.

  4. Click Add.

  5. Assign this new role to the user who needs OAuth 2.0 access.

  6. Click Save.

To create integration records to use OAuth 2.0

  1. Go to Setup > Integration > Integration Management > Manage Integrations > New.

  2. Enter an application Name.

  3. Enter an integration Description.

  4. In the State list, select Enabled.

  5. If you want to add details about this integration, type them in the Note field.

    Anything you enter here is for your NetSuite account only. If you package and install this record somewhere else, this text won’t be included.

  6. On the Authentication subtab, check the following boxes in the OAuth 2.0 section:

    • Authorization Code Grant

    • Scope:

      • RESTlets

      • REST Web Services

  7. Enter a Redirect URI.

  8. Click Save.

  9. Share the CONSUMER KEY / CLIENT ID (client_id) and CONSUMER SECRET / CLIENT SECRET with your client.

    Save the CONSUMER KEY / CLIENT ID (client_id) and CONSUMER SECRET/ CLIENT SECRET. After you save the record, you won't be able to see it again. If you lose Client Key and Secrete, reset them and share the new ones with your client.

For more information, see OAuth 2.0.

Related Topics

General Notices