I have an issue with PO-C47164.
The net value of the order should be £1195.07. The VAT should be 20% of this i.e. £239.01 and total including VAT £1,434.08.
It seems as if the net value is getting calculated and then 20% is taken off it.
To recreate go to company ‘agl’.
Click Purchase Ledger > Common > Purchase Orders > All Purchase Orders.
Filter for PO-C47164.
Click the Purchase tab > Purchase Order Confirmations.
Click Print Preview > Use Print Management.
The values at the bottom are incorrect.
Attached is a screenshot of the report output. I've traced this as best I can and managed to find that the report is called PurchPurchaseOrder. It seems as if the PurchPurchaseOrderDP class gets the data for the report but I don't understand the code well enough to see where the VAT is getting calculated. Can anybody please advise?