And for the second question, no, the URL can chang...
# suitescript
a
And for the second question, no, the URL can change anytime without any notice... the
url.resolveRecord
should be consistent...
d
agreed the resolveRecord is a better approach, issue is iterating over many many lines for some reason this API call takes quite a while to return, so was just looking for a workaround
j
try memoizing / caching its value within the same script execution
👍 1
d
unfamiliar with
baserecordtype
is that an undocumented search column to get via script?
a
What is your use case? what are you doing exactly that you need that many calls to
resolveRecord
...
d
it is creating a dynamic sublist with many lines from search results. I like @jkabot idea though, can't believe I didn't think of that