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.
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