Yes, I'm betting you have some orphan transactions out there in the work tables. (I feel your pain, we actually broke GP because of our FA with AA entry - hit the max # out of the box for a mass retirement entry. Also, I had to rewrite MS script because at the time we started using FA with AA they hadn't updated the script to account for those tables) Try these and see if you get any results: SELECT * FROM AAG10001 WHERE aaGLWorkHdrID IN (SELECT aaGLWorkHdrID FROM AAG10000 WHERE JRNENTRY NOT IN (SELECT JRNENTRY FROM GL10000)) SELECT * FROM AAG10002 WHERE aaGLWorkHdrID IN (SELECT aaGLWorkHdrID FROM AAG10000 WHERE JRNENTRY NOT IN (SELECT JRNENTRY FROM GL10000)) SELECT * FROM AAG10003 WHERE aaGLWorkHdrID IN (SELECT aaGLWorkHdrID FROM AAG10000 WHERE JRNENTRY NOT IN (SELECT JRNENTRY FROM GL10000)) SELECT * FROM AAG10001 WHERE aaGLWorkHdrID NOT IN (SELECT aaGLWorkHdrID FROM AAG10000) SELECT * FROM AAG10002 WHERE aaGLWorkHdrID NOT IN (SELECT aaGLWorkHdrID FROM AAG10000) SELECT * FROM AAG10003 WHERE aaGLWorkHdrID NOT IN (SELECT aaGLWorkHdrID FROM AAG10000) I'm betting that you have an orphan transaction in those tables and the MS script doesn't look at the sub-tables for the header IDs...
↧