Is everyone aware that the File Intialize routine in System Manager will result in deleting SQL Triggers from the table?
A week or so ago I did a file initialize on the IMINVLOC table at the request of Exact Support to correct some problems with WMS.
This table had "several" SQL triggers in place. I recently noticed (and so did the users!) that the triggers didn't seem to be running anymore. When I checked the table, they were all missing.
In thinking about "File Initialize" I suppose it makes sense that this happens, as the table is actually "dropped" from the database as part of the process.
Just to verify, I ran the process in our Test Company on a table that I added a trigger to. Sure enough, the triggers were gone after the File Init. I'm assuming a File rebuild will result in the same outcome.
I think all system administrators need to be aware of this and Exact needs to also warn any users when it advises them to run a File Initialize.
A week or so ago I did a file initialize on the IMINVLOC table at the request of Exact Support to correct some problems with WMS.
This table had "several" SQL triggers in place. I recently noticed (and so did the users!) that the triggers didn't seem to be running anymore. When I checked the table, they were all missing.
In thinking about "File Initialize" I suppose it makes sense that this happens, as the table is actually "dropped" from the database as part of the process.
Just to verify, I ran the process in our Test Company on a table that I added a trigger to. Sure enough, the triggers were gone after the File Init. I'm assuming a File rebuild will result in the same outcome.
I think all system administrators need to be aware of this and Exact needs to also warn any users when it advises them to run a File Initialize.