I'm having trouble with a saved search for bills, it's set to main line only for criteria.
I want a formula field that displays links to all the attachments on the bill in one row.
I'm trying to use:
Code:
NS_CONCAT(Case WHEN {file.name} IS NULL THEN NULL ELSE '<a href=https://' || 'system.na1.netsuite.com' ||{file.url}||' target="_blank"' || '>' || {file.name} || '</a>' END)
But if a bill has 1 file attached, it repeats the same file 11 times.
A similar formula for a saved search of a custom record works just fine
Code:
REPLACE(NS_CONCAT('<a href=https://' || 'system.na1.netsuite.com' ||{file.url}||' target="_blank"' || '>' || {file.name} || '</a>'),',','<br>')
Any ideas what's making it do that specifically for bills?
Thanks
This is a cached copy. Click here to see the original post.