Re: Error Running Reconcile to GL: GP 10.0
I have traced this down by running (no pun intended) a SQL trace. In the background it is creating temp tables and populating them with data. They put Constraints on these temp tables when they create them. Specifically TRXSOURCE, DOCNUMBR, and RMDTYPAL (which they hard code).
Transactions that were causing this to fail were where we had multiple RECV distribution lines. Not sure exactly why they do that here, but there must be some reason.
In this procedure, it tries to insert into a temp table some transaction from the RM10101 (distributions) table, and here we had one transaction with 3 RECV distributions. So it tried to insert
(RMAPY00009150, 'PMT 06/18/10-1', 1) for the first distribution, then
(RMAPY00009150, 'PMT 06/18/10-1', 1) for the second RECV distribution
It hit the Constraint that those 3 fields were the primary keys, and threw the error "Can't insert Duplicates". This just throws off the rest of the procedure in a way I din't feel like figuring out. Basically that excel spreadsheet is useless now.