Commit 0b98e867 authored by prahate's avatar prahate

To set loginSite code to generate tran id


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@196525 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 92fe2700
...@@ -704,7 +704,7 @@ public class NearExpiryPrc extends ProcessEJB implements NearExpiryPrcLocal,Near ...@@ -704,7 +704,7 @@ public class NearExpiryPrc extends ProcessEJB implements NearExpiryPrcLocal,Near
//tranID = generateTranId( "w_stock_transfer", conn ); Commented by Vikas L on 31-1-2019 //tranID = generateTranId( "w_stock_transfer", conn ); Commented by Vikas L on 31-1-2019
SimpleDateFormat sdfAppl = new SimpleDateFormat(genericUtility.getApplDateFormat()); SimpleDateFormat sdfAppl = new SimpleDateFormat(genericUtility.getApplDateFormat());
String currDateStr = sdfAppl.format(currDate); String currDateStr = sdfAppl.format(currDate);
tranID = generateTranId( "w_stock_transfer",siteCode,currDateStr, conn ); tranID = generateTranId( "w_stock_transfer",loginSiteCode,currDateStr, conn );
//Added by Vikas L on 31.1.2019 [end] //Added by Vikas L on 31.1.2019 [end]
//Insert into header table i.e stock_transfer //Insert into header table i.e stock_transfer
......
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