just to clarify....you say "voucherPRETSRET doesnt contain any data but needs to be checked"...but there is a PURCHASE RETURN in the sample data for voucher table.....???
maybe sensible to test with a SALES RETURN at this stage as well......
also I asked that you please provide expected results for the sample data........
regards
________________________________________________________________
you can lead a user to data....but you cannot make them think
and remember....every day is a school day