Join Slack
Powered by
I’m guessing the database doesn’t have time to upd...
# suitescript
b
Brandon Smith
10/29/2019, 10:57 PM
I’m guessing the database doesn’t have time to update and realize that those dependent records are gone before you’re trying to delete the other ones.
e
erictgrubaugh
10/29/2019, 11:01 PM
My understanding, assuming that everything is synchronous, is that each
delete
call has to trigger any relevant
beforeSubmit
and
afterSubmit
scripts/workflows, and the `afterSubmit`s won't fire until the deletion has occurred in the database.
Open in Slack
Previous
Next