Hello wonderful people, couple of questions: Can s...
# suitescript
m
Hello wonderful people, couple of questions: Can someone give me a bit of clarification re restlet script and its usage.. I know it's 5000, if I was doing a record.transform and wanted to create 15,000 records per day.. what would be the best way without having the restlet fall over? how can you do large number of transactions with restlets without going over execution limits? Also record.transform only works if internal ID is provided, is there anything that can be done with just the external ID? What could I use to transform a PO to a IR without the internal ID? again with the goal on having 15,000 per days and not having the restlet fall over because of execution limits?
r
You can build the logic as per your requirement. But you can call the restlet which calls the MR, While calling the MR you can pass in some parameters (maybe an array of external IDs). In MR, Input stage : do a search/query to get all the transactions internal for those external IDs. In map stage transform each PO to IR. Summarize stage you can call an api and provide the details of all the successful transformation and all the failed ones to the system which initially called your restlet. You could also call your restlet 15000 times per day or whatever. Do check out your concurrency limit though. For batch request you can use restlet +MR. For standalone request, you can simply do your stuff in restlet. There are other ways too with help of restlet + custom record + userevent among others. It all depends on the requirement and how you want to approach it.
💯 1