Performance improvement on tax view

Accounting: Reporting to Government Version 10.05

Changes in the tax view has been made to improve performance and use of CTE has been implemented (Temp. tables has replaced some sub selects for max values).