To view the transaction history in My Account page

The reason why a user gets the error message “Not Allowed. Sorry! You have no permission to view this page.” when viewing the transaction history in My Account page is because the level for Customer Payment permission is set to View or lower. To be able to successfully view the transaction history in My Account page, the user… Continue reading To view the transaction history in My Account page

Remove array values

To remove values from array in js use _.reject on array. From array ‘categoryArray’ remove values equal to variable ‘hideCategory’.var categoryArray = originalRet.categories[1].categories;categoryArray= _.reject(categoryArray, function (method) { return method.text==hideCategory; });

Giving access to new employee

User adds new Employee to Give Access and Default Password marked to be Required for Password Change on Next Login and received the following error:“Only the user can change this password, as this user has access to more than one NetSuite account.” If already accounts there for the employee dont give password. Just check give… Continue reading Giving access to new employee

Extension to storeitem model

To change the source code for errors find out the file in source and if it is a model file then in extension suitescript file has to use. Sample code is given below. StoreItem.Model file is changed

Resolve “internal error Please check if the fieldset is created”

To resolve Internal error when clicking an invoice holding a subtotal line item in my account page in SCA, resolve with the following steps:   1. Locate the following file in the SCA Module: \StoreItem@X.X.X\SuiteScript\StoreItem.Model.js   2. Find the following line of code: if (!item.id || !item.type || item.type === ‘Discount’ || item.type === ‘OthCharge’ || item.type… Continue reading Resolve “internal error Please check if the fieldset is created”

Extension Files

SuiteCommerce extensions generally include the following types of files. File Description Example Baseline Extension File* Entry Point An essential file in any extension with JavaScript is the entry point file. When an extension is loaded into a site’s application, this is the file that is called. In the entry point JavaScript file, you should define… Continue reading Extension Files