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!
Problem with a script in Time Tracking form
Hi,
I have a javascript running on the Time Tracking form, which gets the customer name from a custom field and puts the same value into the standard 'customer' field. The scripts runs fine, however, it adds a "/" at the end of the customer's name which causes problems. Is there a way to get rid of it? An extract of my script is below:
function time_change(type,name)
{
if (name == 'custcolproj_customer')
{
nlapiSetFieldText('customer', nlapiGetFieldText('custcolproj_customer'));
}
.....
}
TIA
Regards
Srilatha
0