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
User event triggering another user event
I'm having a few problems with user events.
1. Payment document modifies related Invoices (changes its "AMOUNT DUE" value). But that does not call Invoice's user event scripts.
Is that right/expected behavior?
2. I tried to trigger Invoice's u.e. scripts manually from payment u.e. script using code like this:
var invoice = nlapiLoadRecord('invoice',id); invoice.setFieldValue(FIELD_NAME,'T'); nlapiSubmitRecord(invoice); And it didn't help. But in case if same code is executed in browser's console - user event scripts are executed.
Am I missing something or that's bug?
0