Commit 8a764e54 authored by pchavan's avatar pchavan

To correct case for P-RET ref ser for Tran type.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@200833 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 438993b5
......@@ -31877,9 +31877,11 @@ dtlSql = " select '' as TRAN_ID, "
+ " i.tran_date as PRD_CODE,"
+" '2' as REC_TYPE,"// -- GSTR1,GSTR2,etc.
+" 'D' as GST_TYPE," //need to ask
//+" '10' as TRAN_TYPE,"// -- b2b,b2c
+" case when c.tax_reg_2 is null then '10' else '11' end AS TRAN_TYPE,"
+" i.supp_code as CUST_CODE,"
//Changed By PriyankaC on 14MAY2019.[START]
+" '10' as TRAN_TYPE,"// -- b2b,b2c
// +" case when c.tax_reg_2 is null then '10' else '11' end AS TRAN_TYPE,"
//Changed By PriyankaC on 14MAY2019.[END]
+" i.supp_code as CUST_CODE,"
+" c.supp_name as CUST_NAME,"
//+" state.GST_CODE,"// -- 2 digit code
+"case when length(trim(state.GST_CODE)) is NULL then '00' else state.gst_code end as GST_CODE, "
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