Hi everyone! I need to build a suitlet that will d...
# suitescript
a
Hi everyone! I need to build a suitlet that will display sales orders ready for execution, but with filters by date and customer. Once the filters are selected, I want the sublist below to load, allowing me to select the orders I want to send for execution and have a button to do so. What is the best way to do this? I know there is a native option in NetSuite to execute orders, but I need to perform other functions such as assigning batches, etc., so I'm considering a custom suitlet. What should go in the suitlet and what in the clientscript? Thank you very much
r
Field change reloads the suitelet with the change in either date or customer body level field. And pass the date and customer as parameters. Display the data in the sublist based on querying/searching based on those params.
s
Are these orders pending approval? Are you just wanting to approve them? Maybe work with the business to understand their process now without automation, and then you can replicate that automation in code using a suitelet. If you are processing lots of orders, you’ll be better off pushing the data to a Map/Reduce script to do the updates. << This is a fairly large ask if you don’t have experience doing these… Happy to help you get started if you’re eager to learn…