Debug a SuiteScript 1.0 SSP Application
Creating an SSP Application record lets you write debugging details to the script execution log when SSP application scripts run. You'll see these details on the Execution Log subtab of the SSP Application record.
For more information about 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 99 characters). The title argument is required, so you can't set it to null or an empty string.
-
details {string} [optional] - The log entry details (max 3999 characters)
For more details about this API, see the SuiteScript Help.
Currently, you can't use the SuiteScript Debugger 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