Hello is it possible to mass lock records in NetSuite based on a condition? The scheduled workflow does not work for locking.
n
nsAI
05/31/2023, 5:06 PM
You wouldn't use a scheduled WF for this....use an event based WF on Before Load
nsAI
05/31/2023, 5:07 PM
The lock record is a Client trigger so it only works when someone loads the record in the UI
m
Marc
05/31/2023, 5:11 PM
ok but what to do when there are several recordings that must be locked on a specific date and according to a condition. I don't want to go to every record at the end of the month and do it. That's why I was going on a scheduled wf
n
nsAI
05/31/2023, 5:12 PM
I guess you could make a custom checkbox on the record called "Lock Record" and use a scheduled wf to check that box
👍 1
nsAI
05/31/2023, 5:12 PM
then the condition of your Lock Record action would be if "Lock Record checkbox = T" then lock the record
m
michoel
05/31/2023, 11:31 PM
Ideally you would put that condition into the Lock Record action if possible, rather than a separate scheduled WF