Hi,
I have a report which displays information about money asked for from a company (column 3). and total money paid (column 7) and a calculation in green atthe end for outstanding amount (column 8). The red figures are correction figures to get the outstanding amount to 0.
An invoice is raised asking for money to be paid in one table (SOV) and the payment break down is input into another table (SOVPayment).
I seem to be getting a problem when an invoice raised (SOV) has more than one payment (SOVPayment).
As shown in the diagram attached. If you add together all the figures shown in the 3rd column it should come to around £152,108 which is around £9042 less than what has been calculated in blue at the bottom of the image, meaning that because of the 2 payments made against invoice 900139 the amount has been added twice.
I dont understand why this happens...I have grouped information by SOV ID which I thought would solve the problem of duplicating the amount. Is there any other way I should be doing this?