Commit d9e13787 authored by dsawant's avatar dsawant

updated


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93876 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 5b183e09
......@@ -34,6 +34,7 @@ public class StockAllocPrc extends ActionHandlerEJB implements StockAllocPrcLoca
public String confirm(String tranId,String xtraParams, String forcedFlag) throws RemoteException,ITMException
{
Connection conn = null;
PreparedStatement pstmt = null, pstmt1 = null ;
ResultSet rs = null, rs1 = null;
......@@ -197,7 +198,7 @@ public class StockAllocPrc extends ActionHandlerEJB implements StockAllocPrcLoca
private String sorderAllocate( String tranId, String xtraParams, Connection conn )throws RemoteException,ITMException
{
System.out.println("updateSOrder calling ..............");
System.out.println("updateSOrder calling ..............xcdfffhh");
String getDataSql = null;
String saleOrder = null;
String lineNoo = null;
......@@ -341,14 +342,14 @@ public class StockAllocPrc extends ActionHandlerEJB implements StockAllocPrcLoca
saleOrder = rs.getString(3);
//LINE_NO__SlineNoSordORD
lineNoSord = rs.getString(4);
//lineNoSord = " " + lineNoSord.trim(); commented by deepak sawant (line no = ' 1')
//lineNoSord = lineNoSord.substring( lineNoSord.length()-3 ); commented by deepak sawant
lineNoSord = " " + lineNoSord.trim();
lineNoSord = lineNoSord.substring( lineNoSord.length()-3 );
if(lineNoSord != null)
{
lineNoSord = lineNoSord.trim(); // added by deepak sawant
}
System.out.println("lineNoSord =ddddd["+lineNoSord+"]");
// if(lineNoSord != null)
// {
// lineNoSord = lineNoSord.trim(); // added by deepak sawant
// }
// System.out.println("lineNoSord =ddddd["+lineNoSord+"]");
//ITEM_CODE
itemCode = rs.getString(5);
//LOC_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