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.
nlapiSubmitField problem...
Hi-
I am using nlapiSubmitField in a script and have run into a problem..
THIS WORKS:
nlapiSubmitField('customer', (custid*1), 'custentity_rh5', 99999);
THIS DOES NOT WORK:
nextblank= "custentity_rh5"
nlapiSubmitField('customer', (custid*1), nextblank, 99999);
Is there any way that I can use a variable for the field-name part of nlapiSubmitField... It is a really long script and I really need to do this... Any help is appreciated? Thanks...
0