Solution Below code defines the code for a camera scanner which scans e way bills from a warehouse
Author: Hari Krishnan
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
Set a customer as SubCustomer to a Primary Customer
Below code defines how to set a customer as Sub Customer // 255-internal id of duplicate, 231- parent customer id Using 1.0 Using 2.0 record.submitFields({type: record.Type.CUSTOMER,id: 255,values:{‘parent’:231}})
Sent a Sales Document to the GST Clear Tax portal
Below code shows how to sent a file to the GST Clear Tax portal There are 3 stages to sent a file to the GST Clear Tax portal Get Presigned URL Upload file to Storage Trigger File Ingestion
Merge Duplicate Customer Using script
Solution To merge the duplicate customers through script, use N/task module. Initially search for duplicate records using search.duplicates. This search is working based on the duplication set up on the NetSuite account. You can find duplicate records based on a field or internal id. This will merge record ‘1112’ to the ‘978’ including the transactions… Continue reading Merge Duplicate Customer Using script
Convert Zulu Date format to normal Date format
Solution Example dateString = ‘2024-03-31T07:00:00.000Z’ Code