Stored Procedures
Stored procedures are available to complement the data available from the Data Model. It may be necessary to update data available from a view using a stored procedure because the data does not provide for direct, table-like, two-way updates. In these situations, the retrieval of the data is done using the appropriate view or table, while the update is done by calling a stored procedure. Stored procedures take a list of parameters and return back a dataset that contains the collection of tuples that constitute the response.
NetSuite Adapter Stored Procedures
| Name | Description |
| Attach | Attaches a specified attachment to a given record. |
| CheckJobStatus | Returns the status of a given job. |
| CreateRestletSchema | Creates the schema for the RESTlet specified. Saves the schema at the location set by the Location connection property. |
| CreateSavedSearchSchema | Creates the schema for the table specified. Saves the schema at the location set by the Location connection property. |
| CreateSchema | Creates a schema file for the specified table or view. |
| Detach | Detaches an attachment from the specified record. |
| DownloadFile | Downloads files from Netsuite |
| GetExtraColumnInfo | Returns additional information about the listed columns beyond what may be obtained using the standard methods. |
| GetExtraTableInfo | Returns additional information about the listed tables beyond what may be obtained using the standard methods. |
| GetJobResults | Returns results for a job that was executed in NetSuite. |
| GetOAuthAccessToken | Gets an authentication token from NetSuite. |
| GetOAuthAuthorizationURL | Gets the authorization URL that must be opened separately by the user to grant access to your application. Only needed when developing Web apps. You will request the OAuthAccessToken from this URL. |
| GetRoles | Returns the roles for the user specified in the connection string. |
| SubmitSoapRequest | Creates the schema for the tables specified. Saves the schema at the location set by the Location connection property. |
| UploadFile | Upload files in Netsuite |