Quality Management Connect

The NetSuite Quality Management SuiteApp enables you to send pending inspection notifications to NetSuite partners so that they can collect and evaluate inspection data. After the inspection has been completed, the results can be transmitted to NetSuite to trigger business processes using the existing REST interface.

Based on NetSuite’s SuiteSignOn, Quality Management Connect initiates an outbound (SuiteSignOn) call to an external application using an SSO OAuth token.

The external application uses the token to create an OAuth signature and then authenticates the application with NetSuite to establish an active web service session to retrieve quality inspection queue records. This session is valid for 20 minutes.

This process enables partner solutions to retrieve enough information to push quality data back to NetSuite to initiate workflow actions.

NetSuite 2020.2 Quality Management Connect supports the following inspection types:

Quality Management OAuth 2.0

Client-server authentication models require you to request access to protected server resources using the resource owner’s credentials. To give access to restricted resources, resource owner shares its credentials with the third party.

For example, a client has access to the Quality SuiteApp and needs to invoke the RESTlet from an application running outside of NetSuite. The client must enter their user ID and password. This is dangerous as it allows third-party access to the client's account and they can perform any operation.

NetSuite OAuth addresses these issues by introducing an authorization layer and separating the role of the client from the resource owner. The OAuth 2.0 authorization framework enables third party applications to obtain limited access to HTTP services (RESTlet). The resource owner does this by organizing an approval interaction between the resource owner and the HTTP service or allowing third-party application access.

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 you want to access OAuth 2.0.

  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. (Optional) To enter details about this integration, enter text in the Note field.

    Text entered in this field is specific to your NetSuite account. If this record is packaged and installed elsewhere, this text is not 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 you’re your client.

    Save CONSUMER KEY / CLIENT ID (client_id) and CONSUMER SECRET/ CLIENT SECRET. After you save the record, you cannot see it again. If you lose Client Key and Secrete, then lease reset and share those with client.

For more information, see OAuth 2.0.

Related Topics

Quality Management Prerequisites
Enhanced Receipt Quarantine Workflow
Setting up Enhanced Receipt Quarantine v1 and v2
NetSuite Plugins
Quality Management Overview
Quality Management User Guide

General Notices