Cause: This has been reported as a bug. The problem can occur if the 08.240.00 screen is open twice, and the same payment is reclassified from each screen.
Additional information: When a PA is reclassified to another customer, the system creates an RP with the same reference number as the payment. Example: If you reclassified a payment with a reference number of APR-PMT, this would create an RP with a reference number of APR-PMT, automatically applying PA APR-PMT to RP APR-PMT. When the screen is open twice and the payment is reclassified twice, the second reclassification cannot create an RP with a reference number of APR-PMT in this example, so it uses the next reference number from AR setup, maybe something like 009678.
Resolution: Delete the ardoc, artran and aradjust records for the duplicate RP that was created. In the example above, something like this:
Delete from ardoc where doctype = ‘RP’ and custid = ‘SMITH’ and refnbr = ‘009678’
Delete from artran where trantype = ‘RP’ and custid = ‘SMITH’ and refnbr = ‘009678’
Delete from aradjust where adjddoctype = ‘RP’ and custid = ‘SMITH’ and adjdrefnbr = ‘009678’
You might also need to make a journal entry if the duplicate RP batch was posted to GL.