Commit d06f1e23 authored by smanohar's avatar smanohar

javadoc comments updated

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@213002 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b127deea
...@@ -19,6 +19,10 @@ import ibase.webitm.utility.TransIDGenerator; ...@@ -19,6 +19,10 @@ import ibase.webitm.utility.TransIDGenerator;
import ibase.utility.E12GenericUtility; import ibase.utility.E12GenericUtility;
import ibase.webitm.utility.ITMException; import ibase.webitm.utility.ITMException;
/**
* @author base
*
*/
public class StockUpdate public class StockUpdate
{ {
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB(); ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
...@@ -2299,6 +2303,11 @@ public class StockUpdate ...@@ -2299,6 +2303,11 @@ public class StockUpdate
return errString; return errString;
}//END OF UPDATE METHOD }//END OF UPDATE METHOD
/**
* @param updateStockMap
* @throws ITMException
* @throws Exception
*/
private void puplateCommonParameters(HashMap updateStockMap) throws ITMException, Exception private void puplateCommonParameters(HashMap updateStockMap) throws ITMException, Exception
{ {
System.out.println("Comming Map :::- ["+updateStockMap+"]"); System.out.println("Comming Map :::- ["+updateStockMap+"]");
...@@ -2574,6 +2583,14 @@ public class StockUpdate ...@@ -2574,6 +2583,14 @@ public class StockUpdate
//END OF PUPLATECOMMONPARAMETERS //END OF PUPLATECOMMONPARAMETERS
//********************************************Generate the TranId //********************************************Generate the TranId
/**
* @param windowName
* @param xmlValues
* @param conn
* @return
* @throws ITMException
* @throws Exception
*/
private String generateTranId(String windowName,String xmlValues,Connection conn) throws ITMException, Exception private String generateTranId(String windowName,String xmlValues,Connection conn) throws ITMException, Exception
{ {
System.out.println("Generating tran ID....."); System.out.println("Generating tran ID.....");
...@@ -2626,6 +2643,12 @@ public class StockUpdate ...@@ -2626,6 +2643,12 @@ public class StockUpdate
return tranId; return tranId;
}//generateTranTd() }//generateTranTd()
/**
* @param conn
* @return
* @throws ITMException
* @throws Exception
*/
private String adjustStkValue(Connection conn) throws ITMException, Exception private String adjustStkValue(Connection conn) throws ITMException, Exception
{ {
String prdCode = "",sql = ""; String prdCode = "",sql = "";
...@@ -2878,6 +2901,12 @@ public class StockUpdate ...@@ -2878,6 +2901,12 @@ public class StockUpdate
System.out.println("Returning Value from adjustStkValue : "+errString); System.out.println("Returning Value from adjustStkValue : "+errString);
return errString; return errString;
} }
/**
* @param conn
* @return
* @throws ITMException
* @throws Exception
*/
private String updateStockMovement(Connection conn) throws ITMException, Exception private String updateStockMovement(Connection conn) throws ITMException, Exception
{ {
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
...@@ -3250,6 +3279,12 @@ public class StockUpdate ...@@ -3250,6 +3279,12 @@ public class StockUpdate
} }
return ""; return "";
} }
/**
* @param conn
* @return
* @throws ITMException
* @throws Exception
*/
private String calcWeights(Connection conn) throws ITMException, Exception private String calcWeights(Connection conn) throws ITMException, Exception
{ {
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
...@@ -3326,6 +3361,14 @@ public class StockUpdate ...@@ -3326,6 +3361,14 @@ public class StockUpdate
return ""; return "";
} }
/**
* @param siteCode
* @param itemCode
* @param conn
* @return
* @throws ITMException
* @throws Exception
*/
public String checkStkOptRnd(String siteCode,String itemCode,Connection conn) throws ITMException, Exception public String checkStkOptRnd(String siteCode,String itemCode,Connection conn) throws ITMException, Exception
{ {
ResultSet rs=null; ResultSet rs=null;
...@@ -3425,6 +3468,13 @@ public class StockUpdate ...@@ -3425,6 +3468,13 @@ public class StockUpdate
} }
// added by cpatil on 16/11/12 start adding stock update function // added by cpatil on 16/11/12 start adding stock update function
/**
* @param updateStockMap
* @param conn
* @return
* @throws ITMException
* @throws Exception
*/
private HashMap updateLotInfo(HashMap updateStockMap ,Connection conn) throws ITMException, Exception private HashMap updateLotInfo(HashMap updateStockMap ,Connection conn) throws ITMException, Exception
{ {
String sql="",errCode="",sql2=""; String sql="",errCode="",sql2="";
......
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