Class: nlobjSearchResult

nlobjSearchResult

new nlobjSearchResult() → {nlobjSearchResult}

Return a new instance of nlobjSearchResult used for search result row object.
Source:
Returns:
Type
nlobjSearchResult

Methods

getAllColumns() → {nlobjSearchColumn[]}

return an array of all nlobjSearchColumn objects returned in this search.
Since:
  • 2009.2
Source:
Returns:
Type
nlobjSearchColumn[]

getId() → {int}

return the internalId for the record returned in this row.
Source:
Returns:
Type
int

getRecordType() → {string}

return the recordtype for the record returned in this row.
Source:
Returns:
Type
string

getText(column) → {string}

return the text value for this nlobjSearchColumn if it's a select field.
Parameters:
Name Type Description
column nlobjSearchColumn search result column
Since:
  • 2009.1
Source:
Returns:
Type
string

getText(name, join, summary) → {string}

return the text value of this return column if it's a select field.
Parameters:
Name Type Description
name string the name of the search column
join string the join ID for the search column
summary string summary type specified for this column
Since:
  • 2008.1
Source:
Returns:
Type
string

getValue(column) → {string}

return the value for this nlobjSearchColumn.
Parameters:
Name Type Description
column nlobjSearchColumn search result column
Since:
  • 2009.1
Source:
Returns:
Type
string

getValue(name, join, summary) → {string}

return the value for a return column specified by name, join ID, and summary type.
Parameters:
Name Type Description
name string the name of the search column
join string the join ID for the search column
summary string summary type specified for this column
Since:
  • 2008.1
Source:
Returns:
Type
string