Commit 730038d4 authored by prane's avatar prane

bug fixed IOOBExceptio in pickRate() for lot_sl

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@192231 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2e72c0ca
...@@ -42,8 +42,8 @@ public class DistIssueIC extends ValidatorEJB { ...@@ -42,8 +42,8 @@ public class DistIssueIC extends ValidatorEJB {
Document dom2 = null; Document dom2 = null;
String valueXmlString = ""; String valueXmlString = "";
System.out.println("xmlString............."+xmlString+"\n\n"); System.out.println("xmlString............."+xmlString+"\n\n");
System.out.println("xmlString1............"+xmlString+"\n\n"); System.out.println("xmlString1............"+xmlString1+"\n\n");
System.out.println("xmlString2............"+xmlString+"\n\n"); System.out.println("xmlString2............"+xmlString2+"\n\n");
try try
{ {
if(xmlString != null && xmlString.trim().length() > 0) if(xmlString != null && xmlString.trim().length() > 0)
...@@ -1932,6 +1932,7 @@ public class DistIssueIC extends ValidatorEJB { ...@@ -1932,6 +1932,7 @@ public class DistIssueIC extends ValidatorEJB {
if (mCount == 0 ) // PRICE LIST DEFINED IS NOT OF TYPE I if (mCount == 0 ) // PRICE LIST DEFINED IS NOT OF TYPE I
{ {
System.out.println("1935 @@ mCount::["+mCount+"]");
listType = distCommon.getPriceListType(priceList, conn); listType = distCommon.getPriceListType(priceList, conn);
if(!"L".equals(listType)) if(!"L".equals(listType))
{ {
...@@ -1993,7 +1994,7 @@ public class DistIssueIC extends ValidatorEJB { ...@@ -1993,7 +1994,7 @@ public class DistIssueIC extends ValidatorEJB {
{ // PRICE LIST DEFINED IS OF I TYPE SO PICK RATE FROM INVENTORY { // PRICE LIST DEFINED IS OF I TYPE SO PICK RATE FROM INVENTORY
if (lotSl == null || lotSl.trim().length() == 0 ) if (lotSl == null || lotSl.trim().length() == 0 )
{ {
lotSl = ""; lotSl = " ";
} }
if (priceList == null || priceList.trim().length() == 0) if (priceList == null || priceList.trim().length() == 0)
{ {
...@@ -2052,7 +2053,7 @@ public class DistIssueIC extends ValidatorEJB { ...@@ -2052,7 +2053,7 @@ public class DistIssueIC extends ValidatorEJB {
{ {
if(lotSl == null || lotSl.trim().length() == 0 ) if(lotSl == null || lotSl.trim().length() == 0 )
{ {
lotSl = ""; lotSl = " ";
} }
//mRateClg = i_nvo_gbf_func.gbf_pick_rate(priceListClg,mTranDate,itemCode,msiteCode+'~t'+locCode+'~t'+lotNo+'~t'+lotSl,'I',ShipRetQty) ; //mRateClg = i_nvo_gbf_func.gbf_pick_rate(priceListClg,mTranDate,itemCode,msiteCode+'~t'+locCode+'~t'+lotNo+'~t'+lotSl,'I',ShipRetQty) ;
mRateClg = distCommon.pickRate(priceListClg, mTranDateStr, itemCode, msiteCode+"~t"+locCode+"~t"+lotNo+"~t"+lotSl, "I", ShipRetQty, conn); mRateClg = distCommon.pickRate(priceListClg, mTranDateStr, itemCode, msiteCode+"~t"+locCode+"~t"+lotNo+"~t"+lotSl, "I", ShipRetQty, conn);
......
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