I have a custom transaction body field, of type Tr...
# general
j
I have a custom transaction body field, of type Transaction, on Invoices. It is not a stored value. The value is filled during a User Event beforeLoad() call. This value is getting set correctly, but is showing just as text, not as a link to the related Transaction. Any way to get it to be a link, or do I have to use InlineHTML instead and manually generate the HTML to show a link?
j
I’m not sure the question. You have user event script setting a value before load? What’s the value? The markdown language sometimes works in scenarios. Can you show example
d
Hey Jen, I'd be curious to know if this is a quirk of it being a non-stored field. Have you tried switching it to a stored field to see if it links to the related transaction? If so, you could unset it on beforeSubmit if you're set on you really need the value not to be stored *edited confusing wording
j
David is probably right. I misunderstood and thought you might be passing in HTML and it was displaying as text . You’ve probably read through this link, but I think when page loads the value is being set as default because it’s not a stored value, and it doesn’t load the true value and then have uncheck store on save and submit. https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_N2832010.html
s
I am having trouble finding the relevant SuiteAnswers articles, but I have hit this same situation with a custom Transaction field. The user can see the linked transaction, but it’s just text, not a clickable link as is expected. The SA suggestion is to create a hyperlink field referencing it as a workaround.
j
So it turns out it was because the field display type was set up as “Inline Text” in the field setup, but “Normal” on the actual form where it was being used. When I customized the form and set that field as “Inline Text” it turned into a link.
👀 1
d
nice find. Will try to remember that one