By using this script, we can restrict the duplicate customers in the NetSuite and webstore based on the subsidiary.
Author: Rohit Adithiya
Based on subsider how to set the delivery method from the customer record
UK subsidiary when not selected any delivery Method it should show all the values in the shipping Method and when selected any option from customer record need to show only selected record in the webstore.
Solution for PDF document or link not opening in new window using windows Open ()
After getting all the data the URL will not open in new window even if use windoes.open() function for the url we need to give permission in the browser and allow the popup to show the new window by using this methode we can get the new pdf document or link in new window
How to hide the login based on the URL, should not allow customer to login to access the login page set the key word “? mode-test “in the URL.
Using this Methode we can hide the login section based on the URL at the First stage, should not allow customer to login to access the login page for testing purpose, we need to setup an additional URL that contains the key word “? mode-test “in the URL.
In IOS device how to set the active class selected for the array using the JavaScript
For iOS devices in an array active class will not be selected so the selected option will show only the first option of the array using this Methode we can select the active option from the array the selected values are taking in IOS devices also the issues on the iOS devices are due to… Continue reading In IOS device how to set the active class selected for the array using the JavaScript
How to solve the issue Uncaught SyntaxError: Unexpected token ‘<‘, ” on JSON.parse in the fail function
using this method when we click on submit button need to get email from the configuration record and send email, getting error as Uncaught SyntaxError: Unexpected token ‘<‘, ”JSON.parse in the fail function
How to set the condition for workflow on item fulfillment if the status is shipped to send an email
using this condition, we could set the values in workflow for the old records if status shipped in item fulfillment to send the email.Solution: Added the context called shipped in workflow execution. Added new condition old status not shipped and new status shipped. Condition: Subsidiary (Main) = OX Tools AU And email-sent = F And… Continue reading How to set the condition for workflow on item fulfillment if the status is shipped to send an email
How to update only one Quantity to the cart on the ADD TO CART button for those items which have minimum quantity is set as 25 in NetSuite.
using this method, we can set the quantity 1 for the item which has minimum quantity also.
Using workflow how to Tick the “HOLD “checkbox for the AU subsidiary sales orders placed.
When customer in AU subsidiary place order from the webstore the checkbox “HOLD “in the sales order should be checked this can be achieved by using workflow1. create workflow in NetSuite customization workflow new2. select the Felds as required transaction and in sub tabs sales order 3.context select the webstore, event after the submit, and… Continue reading Using workflow how to Tick the “HOLD “checkbox for the AU subsidiary sales orders placed.
How to solve the 404 error in indexing for the blog page due to extension.
The http status of the blog page generates a 404 error when the feature extension is activated to the website. The error is because the new view for the feature section has been added to all layouts. var layout = container.getComponent(‘Layout’);layout.addChildView(‘Feature.view’, function() {return new FeatureView({ container: container });}); Since the view is required only for… Continue reading How to solve the 404 error in indexing for the blog page due to extension.