Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
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