Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
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)