How to implement dark/light theme in Nextjs

Adding themes to Next.js app makes it possible for users to personalize their experience and improve the usability of product. With themes, users can easily switch between light and dark modes. Next themes This package provides a custom useTheme hook to consume and change the current theme. It can also select between dark and light modes based… Continue reading How to implement dark/light theme in Nextjs

Single CSV file for different Records Import

Scenario Feasibility of using a single CSV file for importing various types of records into NetSuite using task module in scheduled script Created a scheduled script. Created 2 Saved imports, one for customers and the other for items. Saved a CSV file in suitescript folder under the name testcsvimport.csv The sample is given below Script… Continue reading Single CSV file for different Records Import

FAM – Migration of Mid-life Assets

 Import Preference for New Assets If we are importing mid-life assets, set these preferences as follows:  In Setup > Import/Export > CSV Import Preference, check the Run Server SuiteScript and Trigger Workflows box.  In Fixed Assets > Setup > System Setup, clear the Run Server Script on CSV Import box.  Guidelines for Importing Mid-life Asset Records We… Continue reading FAM – Migration of Mid-life Assets

FAM – Migration of New Fixed Assets

Import Preference for New Assets If we are importing new assets, set these preferences as follows:  In Setup > Import/Export > CSV Import Preference, check the Run Server SuiteScript and Trigger Workflows box.  In Fixed Assets > Setup > System Setup, check the Run Server Script on CSV Import box.  Guidelines for Fixed Asset Import  Import… Continue reading FAM – Migration of New Fixed Assets

Solve the error

{“type”:”error.SuiteScriptError”,”name”:”SSS_AUTHOR_MUST_BE_EMPLOYEE”,”message”:”The author internal id or email must match an employee.”,”id”:””,”stack”:[“Error\n at Object.map (/SuiteScripts/Jobin and Jismi IT Solutions/Order Processing Email Notification/jj_mr_folllowup_and_overdue_notification_otga1476.js:251:67)”],”cause”:{“type”:”internal error”,”code”:”SSS_AUTHOR_MUST_BE_EMPLOYEE”,”details”:”The author internal id or email must match an employee.”,”userEvent”:null,”stackTrace”:[“Error\n at Object.map (/SuiteScripts/Jobin and Jismi IT Solutions/Order Processing Email Notification/jj_mr_folllowup_and_overdue_notification_otga1476.js:251:67)”],”notifyOff”:false},”notifyOff”:false,”userFacing”:true} This is the error get after executing a map/reduce script, which is deployed in the… Continue reading Solve the error

Identify email templates used in transactions

Open the required transaction form in edit mode. Email template used is given in the Email message template field. If the email message template is “Default email template” To see the default email template, navigate to Setup > Company > Email Preferences Under Transactions, default email template can be viewed.