Is there an easy way to make a custom field as a h...
# administration
m
Is there an easy way to make a custom field as a hyperlink to another page in NetSuite? For example, I have created a field on the Vendor Bill that will show the "createdfrom" (unfortunately a 3rd party used the current createfrom field for something else) document number. However we would like it to be hyperlinked back to the purchase order document if possible. Any suggestions?
a
You could try this
'<a href="#" onclick="window.open(''https://[YOURACCOUNTNUMBER].app.netsuite.com/app/accounting/transactions/purchord.nl?id=' || {createdfrom.internalid} || '&whence='', ''popup'', ''width=600, height=600, resizeable=yes, location=no''); return false;">Export to Excel</a>'
Change the [YOURACCOUNTNUMBER] to be your account number
Also change the Export to Excel to whatever text you want to be displayed
Also FYI this will open the PO as a popup
if you want it to just navigate to the PO instead of a popup then use this: '<a href="https://[YOURACCOUNTNUMBER].app.netsuite.com/app/accounting/transactions/purchord.nl?id=' || {createdfrom.internalid} || '&whence=">display text</a>'