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
Reading line values acting crazy - broken
It's possible that I'm doing something wrong but I really don't think I am.
I have a classic scenario where I want to validate line item values before allowing the line to commit.
The api functions are acting very strange. They seem to returning data from the PREVIOUS state of the line when it was last committed. For example, if I have a line with a "name" field and I do the following:[LIST]
[*]add new line and enter "dog" in the name field and click add
[*]edit this line and type "cat"
[*]The value of "name" in the OnValidate method will return "dog".[/LIST]It's validating validated data. Stupid.
Steve Klett | Senior Developer
NetValue Technology
0