简体   繁体   中英

How to get bundle information through RESTlet script in Netsuite suitescript 2.0?

I want to get bundle version in which installed on target accounts using script.

ex: There is way to get bundle id in suitescript 1.0 like below

nlapiGetContext().getBundleId()

like these is there any way to get bundle id, version etc on installed accounts through RESTlet script.

You could use the apis in the N/runtime module:

var scriptObj = runtime.getCurrentScript();
var bundleArr = scriptObj.bundleIds;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM