Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Change Print Button on View Mode
Hi,
I have created a custom print button which works fine in edit mode of my custom record
var CurrentContractID = nlapiGetRecordId(); location.href=(nlapiResolveURL('SUITELET',8,1) +'&ContractRecordID='+CurrentContractID);All I want to do is get the same results in View mode. I have referanced this code on a user event script that acts on print but it seems user event scripts don't recognise any javascipt functions, I get an error on location, I can't event add a simple window.alert line.
Can anyone help, I feel I have done all the hard work I am just missing something in my understanding.
0