I've got a manually-unmanageable number accounts created by bot activity I'd like to inactivate (not purge) while we test out improved captcha. Can anyone point me to the code invoked by the constituent menu or possibly already have code written for this. I'm thinking there's probably more to it than updating inactive and inactive_reason in T_CUSTOMER.
Thanks!
I've done it before by just updating those two fields.
Before I asked in this forum, I did it in TEST, and it looked fine in T_CUSTOMER and constituent search in app, but when I tried to open any of those accounts, got the hourglass, so I rolled back. But maybe the hourglass was a coincidence.
I'm almost certain that I have done this before, and had the same issue, but do not remember off the top of my head what the resolution was.
Maybe you hadn't committed the transaction yet?
commit FTW