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.
Problem with User Event type "approve"
Hi, need some help with a SuiteScript, please!
I need to create a custom record when an Expense Report gets fully approved (by Supervisor & by Accounting). I am using the User event type 'approve' for this. The problem is that the custom record gets created upon approval by Supervisor itself rather than waiting till the expense report is fully approved. I tried putting in a condition in the script using the "status" field but that doesn't work either as the "status" field still holds the old value.
Any ideas please??
-Latha
0