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!
CUstomize Form 'Location'
Hi, i have a problem with form Location.
I assigned a user event before load to form Location because i need set values to fields.
function onload(type , form){
if (type == 'create' | type == 'edit') {
var record = nlapiGetNewRecord()
record.setFieldValue('custrecord_cbox_rucvalido','F')
record.setFieldValue('custrecord_nom_comercial','ok')
}
}
in case 'create' the UserEvent is perfect, but in other case (edit) isn't working.
I´ll expect that you can help me
thanks
PD. Sorry by my english
0