I have a client who is using an outdated process to update the receivables tables with payments, but it is fraught with errors. They don't want to fix the process as they may be replacing it soon, but they do want to ensure the accuracy of the data in their RM tables.
I'm comparing data in tables with what I'm finding in Fabrikam to script some checks and balances, but I've come across something that has me stumped. In TWO there are 5 payments which are in the RM00401 table that are not in the RM10101 or RM30101 tables. What would make that happen? When I apply the same script to the live company database, I find over 3,000 records. Are the payments indeed missing from the RM10101 or RM30101 (whichever applies) or is there are reason for them not to be there?
select * from RM00401 where DOCNUMBR not in (select DOCNUMBR from RM10101) and DOCNUMBR not in (select DOCNUMBR from RM30101) and RMDTYPAL=9
Thanks!
Trish
*This post is locked for comments