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