The choice between using HTTPS GET or POST for a data sync API between NetSuite and portal storage depends on the specific requirements and use case of the application. GET requests should be used for retrieving data from the server(NetSuite records), and they can be cached and bookmarked. However, they have limitations on the amount… Continue reading HTTPS GET vs POST for a Portal to NetSuite data sync API
Month: November 2023
How to set default status to sales order
NetSuite offers a standard feature to set the order status. Go to setup -> accounting-> accounting preference Under the order management, we can set the order status as pending approval or pending fulfillment.
Email recipients chunking to not exceed the limit 10
When implementing new functionalities to send emails, we have to be careful about the NetSuite limitation. A maximum of 10 recipients (recipient + cc + bcc) is only allowed. So to tackle this issue, we have to chunk the recipients before sending the emails, such that if we got 5 recipients, 3 cc and 4… Continue reading Email recipients chunking to not exceed the limit 10
Defaulting Item Line Field to Blank in Non-User Interface Contexts: User Event Script Before Submit
Setting Default Blank Value for Item Line Field in Sales Order across Non-User Interface Contexts Using User Event Script Before Load. In scenarios where a Sales Order (SO) is generated outside the user interface, the designated line field will automatically default to a null value.
Throwing a User-Friendly Error Message in User Event Script with Limited Details Display
When raising an error message within a user event script, employ the following method to exclusively display the custom error message without revealing additional error details:
Remove Add Multiple Button on Forms
To remove the add multiple button option in the forms Navigate to Customization > Forms > Transaction Forms. On the Custom Transaction Forms page, will see a list of all the transaction forms in the account. Select Edit or Customize next to the form that want to change. To remove the Add Multiple button from… Continue reading Remove Add Multiple Button on Forms
Implementing Default Field Values in a Make a Copy Context: User Event Script :BeforeLoad
Script Permissions
There are three places where a script exists in NetSuite. The File Cabinet, Scripts, and Script Deployments. Script permissions are always and only adjusted on the script deployment. Need Administrator access to view the script deployments. About script permissions: The “Status” field specifies whether a script is in testing or is released. “Testing” means that the script will only… Continue reading Script Permissions
NetSuite Field Won’t Show Up in Workflow or Search
Sometimes when we are creating a Workflow, an Analytics search, or a Saved Search in NetSuite, a sublist or body field won’t show up in the list of options Possible Solution check if the field name that are looking for has been customized on the form. One of the tricky things about NetSuite is that… Continue reading NetSuite Field Won’t Show Up in Workflow or Search
Use of the Search Operator “ANYOF”
The script below shows how to use the search operator “ANYOF“. The script searches for any Sales Order that has the status of “Pending Fulfillment”