There’s no equivalent SS2.x function for SS1.0 nla...
# suitescript
d
There’s no equivalent SS2.x function for SS1.0 nlapiYieldScript. While the plan is to eventually move this script to a Map/Reduce, teh first milestone is a SS2.0 conversion. Anyone have suggestions/workaround?
n
Without knowing exactly what you're doing, you could pass an integer denoting where you are in processing. IE, if you're doing 1000 results (obv making sure they're sorted), you could pass that you're on the 50th. More complicated, you could do a large text field as a parameter and pass in a JSON for IDs you've already processed.
Both of these are a bit kludgey though.
s
my half cent advice is actually check if it's SS2.0 convertible, I can think of several things that I had to use ss1.0 for, the specific one that comes to mind is the one that triggers workflow state transitions, not sure there is a ss2.0 equivalent of that