Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Cache.scope for more information.
N/cache Module
Cache.scope
Property Description:
A label that describes the availability of the cache to other scripts.
Type:
cache.Scope
Supported Script Types:
All server-side scripts
For additional information, see SuiteScript 2.0 Script Types.
Module:
N/cache Module
Parent Object:
cache.Cache
Sibling Object Members:
Cache Object Members
Since:
2016.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=Cache.scope
Example:
// Code Example 1
//Add additional code
//...
var myCache = cache.getCache({
name: 'temporaryCache',
scope: cache.Scope.PRIVATE //Cache.scope
});
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4642698254.html