Modules

filter

 

Objects/Functions

module (N/query)

SuiteScript 2.0

Condition.fieldId

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

N/query Module
Condition.fieldId
Property Description: The name of the condition. This property is set during the execution of Query.createCondition(options) and Component.createCondition(options). This property is not applicable to parent conditions created with the execution of Query.and(conditions), Query.or(conditions), or Query.not(condition).
Type: string (read-only)
Module: N/query Module
Parent Object: query.Condition
Sibling Object Members: Condition Object Members
Since: 2018.1
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Condition.fieldId

Example:

// Code Example 1
// Add additional code
//...
var myCustomerQuery = query.create({
type: query.Type.CUSTOMER
});

var myCondition = myCustomerQuery.createCondition({
fieldId: 'openingbalance',
operator: query.Operator.GREATER,
values: 10000
});

var theFieldId = myCondition.fieldId;
//...
// Add additional code

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