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
Name & Type Issue
On our Vendor Bill form, I have a simple function to run when a field is changed on the expense tab, see below.
it seems 'name' and 'type' are backwards.
type gives me the field name and
name gives me the word 'expense'
all the code samples I have found show name == field
and type is 'create' or 'edit'...
Can someone explain to me if this correct or a bug?
function xSetLineItems(<span style="color:'"Purple"'">name, type</span>) { if(<span style="color:'"Purple"'">type == 'custcol_employee'</span>) { ...code fills in some fields. } } 0