Commit f620a501 authored by ppatro's avatar ppatro

active split missing codes


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92259 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 54939cd0
...@@ -10646,7 +10646,8 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo ...@@ -10646,7 +10646,8 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
masterPackWeight = Double.parseDouble(discommon.getDisparams("999999","MASTER_PACK_WEIGHT",conn)); masterPackWeight = Double.parseDouble(discommon.getDisparams("999999","MASTER_PACK_WEIGHT",conn));
masterPackWeightPerOrder = Double.parseDouble(discommon.getDisparams("999999","MASTER_PACK_WEIGHT_PER_ORDER",conn)); masterPackWeightPerOrder = Double.parseDouble(discommon.getDisparams("999999","MASTER_PACK_WEIGHT_PER_ORDER",conn));
isSinglePickMasterPack = discommon.getDisparams("999999","MASTER_PACK_SINGLE_PICK",conn); isSinglePickMasterPack = discommon.getDisparams("999999","MASTER_PACK_SINGLE_PICK",conn);
//Changed by Rohan on 24-11-12 to get variable from disparam for active pick case count
String actPkCnt = discommon.getDisparams("999999","ACTIVE_PICK_CASE_COUNT",conn);
mPackAllow = genericUtility.getColumnValue("master_pack_allow",detailDom); mPackAllow = genericUtility.getColumnValue("master_pack_allow",detailDom);
mPackAllow = (mPackAllow != null && mPackAllow.length() > 0)?mPackAllow:"N"; mPackAllow = (mPackAllow != null && mPackAllow.length() > 0)?mPackAllow:"N";
aPickAllow = genericUtility.getColumnValue("active_pick_allow",detailDom); aPickAllow = genericUtility.getColumnValue("active_pick_allow",detailDom);
...@@ -12895,7 +12896,9 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo ...@@ -12895,7 +12896,9 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
//String replRefId =""; //String replRefId ="";
String replRefDeepId = ""; String replRefDeepId = "";
String replRefPndId =""; String replRefPndId ="";
//Changed by Rohan on 24-11-12 to get variable from disparam for active pick case count.start
cartonCount = 0;
pstmtRplHdr.setString(1,replRefDeepId); pstmtRplHdr.setString(1,replRefDeepId);
pstmtRplHdr.setDate(2,orderDate); pstmtRplHdr.setDate(2,orderDate);
pstmtRplHdr.setString(3, siteCode); pstmtRplHdr.setString(3, siteCode);
...@@ -14036,6 +14039,17 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo ...@@ -14036,6 +14039,17 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
//////////////////////To add Carton no generation for Actives Hear/////////////////////////////////////// //////////////////////To add Carton no generation for Actives Hear///////////////////////////////////////
System.out.println("Finally ["+itemWeightTotal+"]Finally itemVolumeTotal["+itemVolumeTotal+"]"); System.out.println("Finally ["+itemWeightTotal+"]Finally itemVolumeTotal["+itemVolumeTotal+"]");
updateCartonMaster(pickRefId, pickCtr,Double.parseDouble(noArt),ptcn,"A-PICK", xtraParams, conn,itemWeightTotal,itemVolumeTotal,pickType); updateCartonMaster(pickRefId, pickCtr,Double.parseDouble(noArt),ptcn,"A-PICK", xtraParams, conn,itemWeightTotal,itemVolumeTotal,pickType);
//Changed by Rohan on 24/11/12 to spilt active pick depending upon cartons.start
cartonCount++;
System.out.println("cartonCount:::"+cartonCount+"Active pick case count::"+Integer.parseInt(actPkCnt));
if(cartonCount == Integer.parseInt(actPkCnt))
{
System.out.println("Creating new pick header");
isActivePickHdr = false;
cartonCount = 0;
pickCtr = 1;
}
//Changed by Rohan on 24/11/12 to spilt active pick depending upon cartons.end
} }
} }
......
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