How to add pay now button for making payment in the My account invoice.

Created a new extension as invoice pay now button and extend the view and template .    Added the button in the template and created the pay now button.   Stored the link in a variable and passed the link to the button.  Made the invoice ID dynamic by getting the invoice id and stored in… Continue reading How to add pay now button for making payment in the My account invoice.

How to magnifiy a specific part of an image when hovered over it

This teqchnique can be used for the for the pdp pages where the products are to be shown by magnifiying the products to the customers. The image must be placed inside a container with relative positioning. The result can be put anywhere on the page, but must have the class name “img-zoom-result”. Make sure both… Continue reading How to magnifiy a specific part of an image when hovered over it

Identify sandbox and production

Differentiate production account and sandbox account using the host To get the host id we can use var host = url.resolveDomain({ hostType: url.HostType.APPLICATION}); It returns a domain name for a NetSuite account. options.hostType : The type of domain name you want to retrieve. Set this value using the url.HostType enum. options.accountId : The NetSuite account ID for… Continue reading Identify sandbox and production

Bank Feed Connectivity

Bank Feeds SuiteApp The SuiteApp retrieves bank data daily to ensure that everything in your bank account is reflected in NetSuite. And then, it imports the data into your account to aid with the bank reconciliation process. This process eliminates the manual effort of importing and matching your banking data in NetSuite. It’s a free… Continue reading Bank Feed Connectivity

Customer Price level update

Choose Custom in the Price Levels field on transactions if you wish to alter a customer’s price. Next, enter the desired price of each item in the Prices area in the customer record. Go to Lists > Relationships > Customers > New. Enter the customer’s name. Click the Financial subtab. Under Account Information in the Price Level field, choose this… Continue reading Customer Price level update

Permission issue while Creating Commerce Categories

We have to give some permission for the role to create commerce categories in NetSuite. To create Commerce Categories we have to create a catalog to which we will assign the categories. Steps to update the role Setup > Users/Roles > Manage Roles Select the role to update Add Commerce Categories under “Setup” subtab in… Continue reading Permission issue while Creating Commerce Categories

How to resolve error: “syntax error (adhoc$-1$debugger.user#19)” while debugging script in NetSuite

The error message you provided appears to be incomplete and lacks context. However, a “syntax error” typically refers to a mistake in the structure of the code that violates the programming language’s syntax rules. Double-check your code for typos or misspelled keywords. Make sure that all opening brackets, parentheses, and quotes have corresponding closing ones.… Continue reading How to resolve error: “syntax error (adhoc$-1$debugger.user#19)” while debugging script in NetSuite