service tax percentage not coming in sales invoice report

Hey Experts,

i created a code to print service tax % in sales invoice report. its not working for all invoices.what may b wrong?

“”.SETFILTER(“Service Tax Amount”,’>%1’,0);
grc_ServiceTaxSetup.SETRANGE(Code,"".“Service Tax Group”);
IF grc_ServiceTaxSetup.FINDFIRST THEN
gdc_servicetaxpercentage := grc_ServiceTaxSetup.“Service Tax %”;

Did you try by adding

IF “”.FINDFIRST THEN

After first line?

Thanks Mohana… alot.

Welcome