Modules

filter

 

Objects/Functions

module (N/search)

SuiteScript 2.0

Search.packageId

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Search.packageId for more information.

N/search Module
Search.packageId
Property Description: The application ID for this search. An application ID identifies a SuiteApp project and is a fully qualified name with the following notation: For example, com.netsuite.mysuiteapp and org.mycompany.helloworld are application IDs. To use this feature, the Show App ID Field preference must be enabled in your NetSuite account. For more information, see SuiteCloud Development Framework Account Preferences (SDF Developers Only).
Type: string
Supported Script Types: All script types For more information, see SuiteScript 2.0 Script Types.
Module: N/search Module
Since: 2019.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Search.packageId

Example:

// Code Example 1
.

// Code Example 2
// Add additional code
//...
var mySalesOrderSearch = search.create({
type: search.Type.SALES_ORDER,
packageId: 'com.example',
columns: ['entity', 'subsidiary', 'name', 'currency']
});

var thePackageId = mySalesOrderSearch.packageId;
//...
// Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_156336419831.html