Search.packageId

Note:

The content in this help topic pertains to SuiteScript 2.0.

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:

                    <publisher_id>.<project_id> 

                  

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

Client and server scripts

For more information, see SuiteScript 2.x Script Types.

Module

N/search Module

Since

2019.2

Syntax
Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/search Module Script Samples.

          // 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 

        

Related Topics

search.Search
N/search Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices