How to search or query description from transactio...
# ask-stanley-ai
l
How to search or query description from transaction item line?
c
AI generated answer (using internal Slack threads):
To search or query the description from a transaction item line in NetSuite, you can use the 'memo' field at the line level (sublist). This field holds the description of the item in the transaction. Here is an example of how you can access this field in SuiteScript:
Copy code
javascript
var lineDescription = record.getSublistValue({
    sublistId: 'item',
    fieldId: 'memo',
    line: 0
});
In this example, 'item' is the sublistId for the item sublist on a transaction record, 'memo' is the fieldId for the line description, and '0' is the line number. If you are creating a saved search, you can include the 'Memo (Line)' field in your results to display the item line description. Please note that the 'memo' field might not contain the description if the description is entered at the time of entering the Purchase Order and not set on the item record itself. In such cases, you might need to consider creating a custom transaction line field to store the description. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.858430147
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.857287705
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.856532931
Please provide your feedback on this answer.