We are using a RF-Smart. When we approve a Stock Count record, it automatically creates an Inventory Adjustment. In the IA, we have a mandatory field that is not exposed on stock count, so we can't set the field value manually. The IA is being created by a map/reduce script based on the system notes. The stock count approval page looks like a suitelet.
We have a user event script that automatically sets the value of the mandatory field on before submit. But UE doesn't get triggered at all.
Is there any reason why it's not being triggered?