SSS_FILE_CONTENT_SIZE_EXCEEDED

The following error is thrown: ‘SSS_FILE_CONTENT_SIZE_EXCEEDED: The file content you are attempting to access exceeds the maximum allowed size of 10 MB’ for SuiteScript 1.0. This is a known error that is thrown if a file larger than 10 MB is uploaded via nlapiLoadFile() and its contents are read using any of the following methods: … Continue reading SSS_FILE_CONTENT_SIZE_EXCEEDED

SSS_TIME_LIMIT_EXCEEDED

This error is thrown if a single execution of a server-side script or application has taken longer than its limit. The following table lists the prescribed time limits for each script type or application: Note: A script may execute for a long time if any or all of the following occur: The script performs a large… Continue reading SSS_TIME_LIMIT_EXCEEDED

Invoice Sales Order > Unexpected Error > Transaction was not in Balance OR Transaction was not complete

Scenario: Customer tries to Bill/Bill Remaining/Next Bill Sales Orders, but when attempts to save the Invoice page, an Unexpected Error occurs. The Error description could be “Transaction was not in Balance” OR “Transaction was not complete” Solution: Those Errors can appear when the Company does not have a default Accounts Receivable Account set, and Customer… Continue reading Invoice Sales Order > Unexpected Error > Transaction was not in Balance OR Transaction was not complete

Resolve UNEXPECTED ERROR When Using log.debug on URL With Parameters Using SuiteScript 2.0 N/log Module

Scenario: User is encountering UNEXPECTED ERROR when using the log.debug function of the N/log Module to log URL with stringified array parameters such as: /app/site/hosting/scriptlet.nl?script=<scriptid>&deploy=<deployid>&compid=<companyid>&ordersArray=%5B123152%2C1521512%5D Solution: To prevent encountering the error, User should utilize the JavaScript native method encodeURI() to escape reserved characters in the URL string. Include the encodeURI() method before displaying the URL… Continue reading Resolve UNEXPECTED ERROR When Using log.debug on URL With Parameters Using SuiteScript 2.0 N/log Module

Resolve error: “code”:”SSS_INVALID_SRCH_COLUMN_SUM”,”details”:”An nlobjSearchColumn contains an invalid column summary type

Scenario: Creating saved search in suite script which contains results having summary type. Solution: Check the field types. If the field type is numeric (e.g., Integer, Decimal Number), you can use “SUM”, “AVG”, “MIN”, “MAX”. If the field type is non-numeric (e.g., Text, List/Record), use “GROUP” or “COUNT”. If we are using summary types as… Continue reading Resolve error: “code”:”SSS_INVALID_SRCH_COLUMN_SUM”,”details”:”An nlobjSearchColumn contains an invalid column summary type

Prevent error “You cannot edit the end of group line. You must delete the group.” when setting the transaction line values

Scenario: when trying to set transaction line value in sales order in the item sublist. Solution: The received error is the standard error that occurs in the case Sublist Items includes Item with Item Type Item Group. Exclude End Group from processed lines.   for (let i = 0; i < lineCount; i++) {  … Continue reading Prevent error “You cannot edit the end of group line. You must delete the group.” when setting the transaction line values

Resolve Error: “EntityOrRoleDisabled”

Solution: When trying to connect NetSuite through integration using TBA, received a detail message “EntityOrRoleDisabled” in Login Audit Trail. Customer have a web service role which has permissions of Access Token Management, Log in using Access Tokens and User Access Tokens. Solution Navigate to Setup > Company > Enable Features. Under SuiteCloud tab, Manage Authentication… Continue reading Resolve Error: “EntityOrRoleDisabled”