Commit be976de0 authored by kdabholkar's avatar kdabholkar

Changes in Export query of GSTR1

- remove condition tax_reg_no = ' UNREGISTER' for export queries 

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@195772 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b50af4c4
...@@ -2751,7 +2751,7 @@ public class GstDataPrc extends ProcessEJB implements GstDataPrcLocal,GstDataPrc ...@@ -2751,7 +2751,7 @@ public class GstDataPrc extends ProcessEJB implements GstDataPrcLocal,GstDataPrc
+" and s.site_code = i.site_code " +" and s.site_code = i.site_code "
+" and state.state_code = c.state_code " +" and state.state_code = c.state_code "
+" and i.inv_type=sot.ORDER_TYPE " +" and i.inv_type=sot.ORDER_TYPE "
+" and trim(c.tax_reg_2) <> 'UNREGISTER' " // +" and trim(c.tax_reg_2) <> 'UNREGISTER' "
+" and i.invoice_id not in (select inv.INVOICE_ID from invoice inv,sreturn srt where inv.INVOICE_ID = srt.INVOICE_ID " +" and i.invoice_id not in (select inv.INVOICE_ID from invoice inv,sreturn srt where inv.INVOICE_ID = srt.INVOICE_ID "
+"and srt.TRAN_DATE between ? and ? "; +"and srt.TRAN_DATE between ? and ? ";
if(SRET_FULL_TRANTYPE.length() > 0) if(SRET_FULL_TRANTYPE.length() > 0)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment