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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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