Upgrade to 721 TaxRate Show A - Fast Report
Introduction
This issue occurs when a report contains a script that retrieves the TaxRate from Maintain Tax.
The error is caused by changes in SQL Accounting's coding structure that affect how tax rates are provided to reports.
Problem
You will see the following error when previewing the report:

Solution
-
Click the Code tab.
-
Scroll down and locate
procedure SetUp;. -
Replace the existing code with the following:

SQL := 'SELECT Dockey, Tax, TaxRate, Sum(CAST(LocalTaxAmt AS REAL)) LocalTaxAmt, Sum(CAST(LocalAmount AS REAL)) LocalAmount '+
'FROM Document_Detail ' +
'WHERE Tax <> '''' ' +
'GROUP BY Dockey, Tax, TaxRate';
AddDataSet('GSTAmt', ['Tax', 'TaxRate', 'LocalTaxAmt', 'LocalAmount']) -
Click the Subreport1 tab.

-
Double-click the Tax Rate memo.
-
Replace its expression with the following:

[IIF(Trim(<GSTAmt."TaxRate">)='',<GSTAmt."Tax">,<GSTAmt."Tax"> +' @ ' + <GSTAmt."TaxRate">)] -
Click OK.
-
Save the report.