I have a customer who has an incorrect AR balance. A debit memo was created against that account which processed through the GL module correctly and also is correct in the ARDoc (the discapplamt is 0, curydiscbal is 0, and discbal is 0) and ARTran tables.
However, when the Customer History screen is loaded, the amount of that Debit Memo is listed in the "Discounts" bucket. It shows in the ARHist.YtdDisc field and the ARHist.PTDDisc08 field.
We do not use the discount feature in AR, so I am not familiar with it. I have no idea how to correct the balance of this customer's account when the transaction itself doesn't appear to be wrong.
Business Applications communities