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
Author: Thara Gopi
Array length issue on initailize extend
When array length issue occurred check the error and find out where the error the extend the child view and give the code to correct the condition not get the array empty.
Extend a view to update initialize
To extend a view to update initialize below code can use.
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
Suitelet to Show Customer based ship method
Create a suitelet to get the customer id from website and to get if the checkbox is checked or not and if it is checked then the value of shipping method field, if not checked set the shipping method as UPS . After that send result as object.
Essential CSS Tips and Tricks
Hover Effects HTML Code: CSS Code: CSS Fade-in Effect on Hover CSS Grow-in Effect on Hover