Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Creating Sales Orders through RESTlets
We have a need to mass create/upload SOs in NS. The approach we have generally taken for these mass uploads, is to dump all the data we need to upload into a staging table(using CSV imports), and then kick off off a scheduled data that loops through the data from the staging table(nlapiSearchRecord), and creating the needed records(nlapiCreateRecord and nlapiSubmitRecord). This approach works fine, but can be very long running if there are 1000's of records to upload.
I was thinking since RESTlets support 50 concurrent sessions, maybe we can invoke RESTlets through the scheduled script, which would reduce the time the process runs(I do not have to process the rows per customer per oppty SERIALLY in a loop). But I am not sure if this approach is even feasible, and also if it is feasible, how would one invoke 50 concurrent sessions say to process 50 different SOs(per customer per oppty)