【发布时间】:2023-04-07 16:26:01
【问题描述】:
有谁知道或有一个 JSDOC 定义库可以用于 SS2.0 吗??
我目前的 SS1.0 看起来像下面的那个,我用它来插入我的 IDE 并获得自动补全。
/** * Loads an existing saved search. The saved search could have been created using the UI, or created using nlapiCreateSearch(type, filters, columns) in conjunction with nlobjSearch.saveSearch(title, scriptId).
*<br>API Governance: 5
* @param {String} recType [optional] - The record internal ID of the record type you are searching (for example, customer|lead|prospect|partner|vendor|contact). This parameter is case-insensitive.
* @param {String} searchId - The internal ID or script ID of the saved search. The script ID of the saved search is required, regardless of whether you specify the search type. If you do not specify the search type, you must set type to null and then set the script/search ID.
* @returns {nlobjSearch} nlobjSearch
* @since 2012.1 */
function nlapiLoadSearch(recType, searchId) { };
不是真正的技术问题,但对每个人都会派上用场。
【问题讨论】:
-
github.com/3EN-Cloud/autocomplete-netsuite 如果你使用 atom 编辑器很有用
标签: netsuite suitescript