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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Trim ItemID in Transaction Forms
If I enter a ItemID in a transaction form and have a trailing space then I get the 'No Match' error. Suppose I have an item called 'test' but I entered 'test ', I get the error.
This sounds kind of trivial but the issue is that CSRs cut/paste IDs from other sites quite often and consistently get the trailing blank. I was going to add a trim() function to the FieldChanged event but the FieldChanged doesn't fire until after a field is accepted and since the 'No Match' appears, it never gets accepted thusly never fires the trim() function.
0