Commit 828f186b authored by ssarkar's avatar ssarkar

update by sumit on 14/02/13 for qty_stduom


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92693 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c2e6ca72
......@@ -3057,13 +3057,17 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
//Changed by sumit on 31/01/13 changing below quantity as per unit start
pendingQuantity = getStockQtyAfterConvert(saleOrder, lineNo, itemCodeOrd, pendingQuantity, 1, conn);
double newQuantity = 0.0;
newQuantity = getStockQtyAfterConvert(saleOrder, lineNo, itemCodeOrd, lotQtyToBeAllocated, 2, conn);
//Changed by sumit on 14/02/13 commented this , no need now as per manoharan sir aty_allow value as per stock unit start
/*double newQuantity = 0.0;
newQuantity = getStockQtyAfterConvert(saleOrder, lineNo, itemCodeOrd, lotQtyToBeAllocated, 2, conn);*/
//Changed by sumit on 14/02/13 commented this , no need now as per manoharan sir aty_allow value as per stock unit end
//Changed by sumit on 31/01/13 changing below quantity as per unit end
//Changed by sumit on 01/02/13 updating converted quantity
//updateSorditem ="UPDATE SORDITEM SET QTY_ALLOC = CASE WHEN QTY_ALLOC IS NULL THEN 0 ELSE QTY_ALLOC END + " + new Double(lotQtyToBeAllocated).toString()
updateSorditem ="UPDATE SORDITEM SET QTY_ALLOC = CASE WHEN QTY_ALLOC IS NULL THEN 0 ELSE QTY_ALLOC END + " + new Double(newQuantity).toString()
//Changes done by sumit on 14/02/13 reverting previous code
//updateSorditem ="UPDATE SORDITEM SET QTY_ALLOC = CASE WHEN QTY_ALLOC IS NULL THEN 0 ELSE QTY_ALLOC END + " + new Double(newQuantity).toString()
updateSorditem ="UPDATE SORDITEM SET QTY_ALLOC = CASE WHEN QTY_ALLOC IS NULL THEN 0 ELSE QTY_ALLOC END + " + new Double(lotQtyToBeAllocated).toString()
+" WHERE SALE_ORDER = '" + saleOrder + "' "
+" AND LINE_NO = '" + lineNo + "' "
+" AND EXP_LEV = '" + expLev + "' ";
......
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