'&lt;a href=\"' || Concat("<https://4146758.app.ne...
# ask-stanley-ai
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems like the issue is related to the concatenation of strings in a formula. In NetSuite, you can concatenate strings using the
||
operator. For example, in the first conversation, the user is trying to create a hyperlink in a saved search. The correct formula would be
'<a href=<https://system.netsuite.com/app/common/entity/custjob.nl?id=>' || {internalid} || ' target=_blank>Link</a>'
. This formula concatenates the URL, the internal ID of the record, and the HTML tags to create a clickable link. In the second conversation, the user wants to display the
{appliedtotransaction.number}
document number instead of the words "Sales Order". The correct formula would be
'<a href=\"https://########.<http://app.netsuite.com/app/accounting/transactions/salesord.nl?id=|app.netsuite.com/app/accounting/transactions/salesord.nl?id=>' || {appliedtotransaction.internalid} || '&whence=\">' || {appliedtotransaction.number} || '</a>'
. In the third conversation, the user is trying to concatenate a URL with two fields
{custitem_awa_custom_parent.custitem_awa_brand}
and
{custitem_awa_custom_parent.custitem_awa_type}
. The correct formula would be
'<a href=\"url=' || SUBSTR({entityid},1,3) || '%23' || SUBSTR({entityid},5,5) || '&custrecord_nn_nps_contact='||{contact.custentity_nn_con_nps_id}||'\">Text</a>'
. ****** 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.856914878
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.839671671
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.831681132
Please provide your feedback on this answer.