Posts

Showing posts with the label #netsuitetutorials

How to use Netsuite workbook using script?

Hi, In this post we are going to learn accessing workbook in script . We already cover Data Set and Workbook in our previous post, click on this link to read . To use workbook in script, you should use " N/query " module. We can query Workbook using Query APIs . Lets go to step by step process of using Query Module Step 1: Script should use " N/query " module and use query as parameter   ( You can use parameter name as you like) . Step 2: Copy workbook internal id. Step 3: Use "query.load" api and use internal id from step 2. var mLoadedquery= query.load({                         id: 'custworkbook_your_id_here'                     });  Step 4: Run loaded query  var resultSet = mLoadedquery.run(); Step 5: Access workbook column data in script. You can either iterator using iterator() or use for loo...

How to Make Tab and add links to that Tab in Netsuite?

Image
Netsuite Centers and Tabs Hi All, My Friend "Aaron" has a requirement where he want to show some website as a inline html in Portlet or suitelet but as it was not https URL so browser blocks the content. Now to enable it, user should disable security which is probably not a good idea. Now the question is how to show it inside Netsuite or an easily available link which user can click and go to that webpage/URL. Netsuite provide functionality where you can make a tab and links under that tab and add URL to those links/tab. when user click on that it will open the URL. This functionality is very useful if you are making a product/bundle and want to show guide/suitelets/webpages/configuration etc for your product. How to start? You can create Tabs and Links is 3 simple steps as below: Step1: Make  " Custom Center Links "              Go to Customization -- Centers and Tabs --> Center Links , Add Label and ...