Are you doing this in a sandbox or production acco...
# suitescript
s
Are you doing this in a sandbox or production account?
c
Production account @Sandii We are using result.getValue() this contains group and joins
s
Yeah it really should not take long at all.
b
You can try sharing your code, but the slow part should be getting the search results. Looping through search results and getting values should be fast
c
Hi @Sandii and @battk thanks for your reply. After debugging some more time found the bottle neck, we are using URL.resolverecord for each row 3 times to prepare links to show in table which is taking considerable amount of time. Ex: we are showing customer, salesorder and custom record details in data table as links. On clicking those links we are redirecting user to respective record page. Is there anyway to optimize? I am thinking to memorize by record type and replace I'd with new I'd ? Do you foresee any issue with this approach or is this be idea?
b
unless netsuite makes major changes to how their url paths work, that sounds ok