Debug a SuiteScript 1.0 SSP Application
The creation of an SSP Application record enables you to write debugging details to the script execution log when SSP application scripts are run. These details are displayed on the Execution Log subtab of the SSP Application record.
For more information on SuiteScript 1.0, see SuiteScript 1.0 Guide.
Use the SuiteScript API nlapiLogExecution(type, title, details)
to debug SSP applications written in SuiteScript 1.0. This API requires the following parameters:
-
type {string} [required] -One of the following log types:
-
DEBUG (the default when Status is set to Testing)
-
AUDIT
-
ERROR
-
EMERGENCY
-
-
title {string} [required] -A title used to organize log entries (max length: 99 characters). Important: The title argument is mandatory and a value must be specified. You cannot set title to null or to an empty string.
-
details {string} [optional] -The details of the log entry (max length: 3999 characters)
For more details about this API, see the SuiteScript Help.
Use of the SuiteScript Debugger currently is not supported for SSP application scripts.
Related Topics
- Enable Required Features for SuiteScript 1.0 SSP Applications
- Create a SuiteScript 1.0 SSP Application Record
- Set Execute as Role Permissions for .ss and .ssp Files
- Link a Website or Domain to an SSP Application
- Remove Touch Points
- Change SSP Application Precedence
- Sample SSP Application Code (SuiteScript 1.0)
- SuiteScript 1.0 SSP Applications
- Create and Use SSP Applications