Modules

filter

 

Objects/Functions

module (N/currentRecord)

SuiteScript 2.0

Field.type

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

N/currentRecord Module
Field.type
Property Description: Returns the type of a body or sublist field. For example, the value can return text, date, currency, select, checkbox, and other similar values. For more information on possible return values, seeĀ format.Type The maximum character limit for select field types is 801.
Type: string (read-only)
Module: N/currentRecord Module
Supported Script Types: Client scripts For more information, see SuiteScript 2.0 Client Script Type.
Since: 2016.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Field.type

Example:

// Code Example 1
//Add additional code
//...
var type = objField.type;
//...
//Add additional code

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