Sage 100 2021 PU2
This happens even if no changes are made.
Any chance you have a custom script enabled for Vendor Maintenance? When I upgraded from 2019 to 2020c I had a similar problem. Deleting the script solved the problem.
Thanks for the suggestions below; however, I had already checked and there are not scripts. I had also already run the Custom Office utilities. I had to create a new UDF for the Vendor Master table. After updating the UDF, the error no longer occurs. Hopefully this will help someone else in the future.
I should have said do you have any Customizer modifications?
Glad you figured it out.
*Community Hub is the new name for Sage City