Hi all, is there a way to capture the event when a...
# suitescript
d
Hi all, is there a way to capture the event when a PO is closed?
r
Yes, via UserEvent script
d
No, Closing a PO does not trigger a UE
b
options for detecting the close button is detecting that the record is viewed after closing
or removing the close button and adding your own
s
Does the PO save on the close? maybe a oldRec vs newRec comparison? Or maybe via a workflow and a status transition?
r
Alternative approach, creating a custom button for close which will close and then execute any logic which you want to execute
d
Booo NetSuite for this one. I ended up using a beforeLoad/status combo ... it works well.
Thanks everyone