I have a scenario where I have AA loaded in 3 different company DB on 1 SQL instance. I need to remove AA from just 1 of the company DBs while leaving the other 2 intact. To that end I used the SQL script provided by KB915903 (AA_Remove_AAComplete)
Everything looks as it should (no AA) after running the script, but when I post a PM transaction I receive the following error:
"a get/change operation on table 'aasubledgerHDR"
The script has a line where it updates the AA status in a DYNAMICS table for the company ID:
"update DYNAMICS..AAG00104 set aaCompanyStatus=0 where CMPANYID=@CmpID"
So after some thinking, I decided to delete the ROW that held my Company ID from the AAG00104 table. Then Presto! everything is posting fine.
Did anyone else come across the same issue with this KB? Are there any potential issues? Is the script wrong?
Thanks for your responses.