Commit 522aaeb7 authored by ppatro's avatar ppatro

Changed By Pragyan 12/12/14 To fix the bug master pack generated wrong same...

Changed By Pragyan 12/12/14 To fix the bug master pack generated wrong same item in diffrent sord line item


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96959 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 0209f521
......@@ -11100,7 +11100,9 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
tempPickMap.put("case_weight", caseWeight);
tempPickMap.put("case_volume", caseVolume);
if(mapItemPick.containsKey(itemCode + ":"+ lotSl))
//Changed By Pragyan 12/12/14 To fix the bug master pack generated wrong same item in diffrent sord line item.start
System.out.println("STORING PICK ORDER["+pickRefId+"]pickCtr["+pickCtr+"]noArt["+noArt+"]sordLineNo["+sordLineNo+"]");
/*if(mapItemPick.containsKey(itemCode + ":"+ lotSl))
{
allItemPickkList = (ArrayList)mapItemPick.get(itemCode+":"+lotSl);
allItemPickkList.add(tempPickMap);
......@@ -11111,7 +11113,23 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
allItemPickkList = new ArrayList();
allItemPickkList.add(tempPickMap);
mapItemPick.put(itemCode + ":"+ lotSl, allItemPickkList);
}*/
if(mapItemPick.containsKey(itemCode + ":"+ lotSl+":"+sordLineNo))
{
allItemPickkList = (ArrayList)mapItemPick.get(itemCode + ":"+ lotSl+":"+sordLineNo);
allItemPickkList.add(tempPickMap);
mapItemPick.put(itemCode + ":"+ lotSl+":"+sordLineNo, allItemPickkList);
}
else
{
allItemPickkList = new ArrayList();
allItemPickkList.add(tempPickMap);
mapItemPick.put(itemCode + ":"+ lotSl+":"+sordLineNo, allItemPickkList);
}
System.out.println("mapItemPick["+mapItemPick.toString()+"]");
//Changed By Pragyan 12/12/14 To fix the bug master pack generated wrong same item in diffrent sord line item.end
}
else
{
......@@ -11385,7 +11403,9 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
itmWidth = (String)itmVolumeMap.get("ITEM_WID").toString();
itmHeight = (String)itmVolumeMap.get("ITEM_HEIGHT").toString();*/
unitValue = getRateStdoum(saleOrder, itemCode, conn);
ArrayList valList = (ArrayList)mapItemPick.get(itemCode + ":" + lotSl);
//Changed By Pragyan 12/12/14 To fix the bug master pack generated wrong same item in diffrent sord line item
//ArrayList valList = (ArrayList)mapItemPick.get(itemCode + ":" + lotSl);
ArrayList valList = (ArrayList)mapItemPick.get(itemCode + ":" + lotSl + ":" +((String)tempMap.get("sord_lineNo")));
int valListLen = valList.size();
//isADSIConnReq
......
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