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?