![](/img/trans.png)
[英]How to get bundle information through RESTlet script in Netsuite suitescript 2.0?
[英]How can I change the deployed status of a script through code? Netsuite SuiteScript 2.0
有人可以解釋如何通過代碼更改任何腳本的部署狀態嗎? 感謝幫助。 謝謝你。
您可以使用 N/record 模塊的 submitFields 方法。
record.submitFields({
type: record.Type.SCRIPT_DEPLOYMENT,
id: scriptDeploymentId,
values: {
status: 'RELEASED' // or 'TESTING'
}
});
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.