我想获得使用脚本在目标帐户上安装的捆绑版本。
例如:有以下方法可以在setscript 1.0中获取bundle id
nlapiGetContext().getBundleId()
像这些有任何方法通过RESTlet脚本获得已安装帐户上的包ID,版本等。
您可以在N /运行时模块中使用api:
var scriptObj = runtime.getCurrentScript(); var bundleArr = scriptObj.bundleIds;