This can be used to display alert using inline html field. Paste the code to the default value of the inline html field.
Author: Hari Krishnan
Suitelet for Open POs with next page transition
Solution Suitelet Code Client Script for Next page
Suitelet to display Search results and Download as CSV
Solution Suitelet Code Download CSV
Render pdf using suitelet with a custom object
Solution Below code defines rendering a pdf template, which sends data as custom object retrieved from search
Html code for a camera scanner
Solution Below code defines the code for a camera scanner which scans e way bills from a warehouse
Add Onclick action to the New Icon added on SCM Mobile
Solution To add an onlclick action to the icon, Go to Global Search and find Mobile – Action page and create new action Provide name and select URL action and provide target URL as any URL or to suitelet And select this onclick action in the Mobile Page Icon. Then go to Setup>Custom>Mobile Application> Update… Continue reading Add Onclick action to the New Icon added on SCM Mobile
Add icon to SCM Mobile
Solution To add icon to SCM Mobile, follow the steps below Go to Global Search and find ‘Mobile – Page Element’ Create a new Page Element and enter label, name, icon path After creating page element, go to Setup> Custom> SCM Application> Update app The new icon will be displayed on the SCM mobile
Merge duplicate customer as Subcustomer through N/task
Solution let cusTask = task.create({ taskType: task.TaskType.ENTITY_DEDUPLICATION }) cusTask.entityType = task.DedupeEntityType.CUSTOMER; cusTask.dedupeMode = task.DedupeMode.MAKE_MASTER_PARENT; cusTask.masterSelectionMode = task.MasterSelectionMode.SELECT_BY_ID cusTask.masterRecordId = ‘112255’ //master record ID cusTask.recordIds = [‘2255′,’66332’] // internal ids of duplicates Or to merge based on recent activity, use, cusTask.masterSelectionMode = task.MasterSelectionMode.MOST_RECENT_ACTIVITY cusTask.recordIds = [‘112255′,’2255′,’66332’]; // provide internal id of all records. NetSuite will find… Continue reading Merge duplicate customer as Subcustomer through N/task
Solution for Vendor Portal (No NetSuite Access)
A Vendor Portal for the vendors that doesn’t have access to the NetSuite Create a custom Vendor Portal page using Suitelet The vendors can access this page using the external link of Suitelet Create a sublist to display the purchase orders Add filters if needed Display the Purchase Order items as a seperate page when… Continue reading Solution for Vendor Portal (No NetSuite Access)
Send a report CSV to Google Cloud Storage using API
To send a CSV data to Google Cloud Storage, we require A JWT token generated using the client credentials JWT token library script is added below Below code defines generating JWT token using library script