<@U56RCK9D0> I don't think so; NetSuite has severa...
# suitescript
e
@NSObsessed I don't think so; NetSuite has several API files that it loads into the browser to run any client-side function calls like
nlapiLookupField
. Certainly some functions do make HTTP requests back to the server, but they're not actually running on the server
n
Yes that makes sense. I get that all the API files are loaded on page. But then if the data i need form nlapilookup is not on the page itself, how else would the API get the information. There is no way every field of every record in NetSuite is preloaded on the page. That is why I was questioning if my definition or understanding of 'client script' is flawed.
s
NetSuite provides some of the serverside APIs as functions in client script. As Eric mentions, those functions may be named the same as their server-side counterparts (e.g.
nlapiLookupFields
) but on the client side they actually make RPC requests over the network. In essence, the client-side version of those API functions are proxies for the server side equivalent.
n
cool