Get value and Get text
Documentation article about Get value and Get text Get value and Get text Get value and Get text Get value and Get text Get value and Get text
Get value and Get text
Special Characters in map
You can use special characters in the map section to change how the search results work. Here are some of those characters:
Note:
When you use special characters, remember that they work the same way they do in NetSuite. For example, using group means all other fields you want to return results need to be grouped, counted, or summed. If you use these, it is best practice to have all results grouped or summarized.
Character
Usage
=
Get value
Get text value (label)
[ ]
Get array values (multiselect)
*
Merge search result duplicates of this column value
<
Sort in ascending order
>
Sort in descending order
^
Group by maximum value
?
Count
Sum
~
Average
{
Minimum
}
Maximum
!
Write a value even if it hasn't changed
Get value and Get text
The equals (=) character lets you get a field's value. For example, if you're mapping a select field, this returns the internalid of the selection. Most of the time, the value is returned by default, but the = character makes it more specific.
The number sign (#) character lets you get the field's text instead. With a select field, this returns the label of the selection as you see it in the NetSuite UI.
Multiselect or arrays
The square bracket ([ ]) characters return the result as an array. They are usually used to ensure that the selected options are returned as an array, rather than as a comma-separated list.
Pipe
The pipe (|) character lets you control where the property reads from and where it writes to, separately. It is handy when you need to read from one field but write to another, or when the same field has two different IDs for searching and writing. Another common use for the pipe character is to make sure you can read a field value but not write to it.
Here's an example search that reads from one field and writes to another:
"quantity": "quantity|item.quantity"Here's an example search that only reads the field value:
"status": "status#|"Frequently Asked Questions (4)
How does the equals (=) character affect search results in NetSuite?
Can the pipe (|) character be used to separate read and write fields in NetSuite searches?
What is the function of the number sign (#) character in NetSuite?
How are multiselect or array results returned in NetSuite searches?
Was this article helpful?
More in General
- Release Notes PDF Availability in NetSuite
NetSuite provides generated PDF files for each Release Note update, enhancing accessibility and user experience.
- Commitment Credits for Billing in NetSuite SuiteBilling
Commitment Credits in SuiteBilling enhance flexible usage-based billing across services. Managing usage-based billing in NetSuite SuiteBilling has been
- Prepay Across Subscriptions in NetSuite SuiteBilling
Prepay Across Subscriptions enables efficient management of prepaid services in NetSuite SuiteBilling.
- Edit the Extension Manifest: Manual Edits
Documentation article about Manual Edits Your extension's Workspace directory includes a manifest.json file, which includes all the information required to
Advertising
Reach General Professionals
Put your product in front of NetSuite experts who work with General every day.
Sponsor This Category