Is it possible to get the date/time of when the cu...
# suitescript
b
Is it possible to get the date/time of when the current sandbox account was last refreshed?
s
I don't know about via script, but it's visible on the production account sandbox page?
b
Yeah, I know that, but I'm wanting to get it programmatically somehow
d
ughh,,, the only thing I can think of is pretty hacky Setup a RESTlet in the prod account and have it get the body of the
/app/setup/sandboxaccounts.nl
page, parse it with a
new DOMParser()
and get the value of either
dateactivated_0
or
lastrefresh_0
Call the RESTlet with a script from the sandbox account
m
Doubt you could do that in a restlet
d
yeah, could do it CS
Tip: Easy Way to Expose Sandbox Refresh Date to All Users - NetSuite Insights Good idea from Chidi, do a search for the minimum system note date. good approximation