Upgrade to 721 TaxRate Show A - Report Report

From eStream Software
Revision as of 09:12, 13 November 2015 by Twfaung (talk | contribs) (Created page with "==Introduction== This happen if you had write script to get the '''TaxRate''' from Maintain Tax in the report<br /> This due to changing SQLAccounting Coding Structure to cat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Introduction

This happen if you had write script to get the TaxRate from Maintain Tax in the report

This due to changing SQLAccounting Coding Structure to cater future Changes in Tax Rate

Problem

You will get below error when you preview the report

Error-721-RB-TaxRate-01.jpg

Solution

Error-721-RB-TaxRate-02.jpg
01. Click Calc Tab
02. Click View | Module
03. Click Event
04. Click OnCreate
05. Scroll down & look for SQL_6
06. Replace this script with below script
  SQL_6 := 'SELECT DocKey,  Tax, TaxRate, Sum(LocalAmount) LocalAmount, Sum(Qty) Qty, Sum(LocalTaxAmt) localTaxAmt, Description '+ 
		        'FROM Document_Detail ' +
		        'Where Tax <> ''''' +
		        'GROUP BY Dockey, Tax, TaxRate';


Error-721-FR-TaxRate-03.jpg
04. Click on Subreport1 tab
05. Double the Tax Rate memo
Error-721-FR-TaxRate-04.jpg
06. Replace this script with below script
[IIF(Trim(<GSTAmt."TaxRate">)='',<GSTAmt."Tax">,<GSTAmt."Tax"> +' @ ' + <GSTAmt."TaxRate">)]
07. Click OK button
08. Save the report

See also