Commit 97ad6011 authored by cpatil's avatar cpatil

change convertedqty method calculation as per suggestion for same same unit n diff item


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96550 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4bcab6f7
...@@ -367,13 +367,13 @@ QCTransferConfLocal, QCTransferConfRemote ...@@ -367,13 +367,13 @@ QCTransferConfLocal, QCTransferConfRemote
//if(!byprodUnit.equalsIgnoreCase(qcOrdItemUnit)) //if(!byprodUnit.equalsIgnoreCase(qcOrdItemUnit))
if(!qcOrderItem.equalsIgnoreCase(itemCode)) if(!qcOrderItem.equalsIgnoreCase(itemCode))
{ {
//convertedQty=roundVal(dcommon.convQtyFactor(byprodUnit, qcOrdItemUnit, "X", qty, conn),3); // commented by cpatil on 05/04/14 convertedQty=roundVal(dcommon.convQtyFactor(byprodUnit, qcOrdItemUnit, "X", qty, conn),3); // commented by cpatil on 05/04/14 // remove comment on 08/10/14 by cpatil
// modify by cpatil 05/04/14 start // // modify by cpatil on 09/04/14 // modify by cpatil 05/04/14 start // // modify by cpatil on 09/04/14
System.out.println("@@@@ qc order Qty[qcQty]["+qcQty+"]qc transfer qty[qty]["+qty+"]netWeight["+netWeight+"]noArt["+noArt+"]"); System.out.println("@@@@ qc order Qty[qcQty]["+qcQty+"]qc transfer qty[qty]["+qty+"]netWeight["+netWeight+"]noArt["+noArt+"]");
convertedQty = qty * qcQty / netWeight ; // convertedQty = qty * qcQty / netWeight ; // comment line as per suggestion on 08/10/14 by cpatil and remove comment from above line of convertedQty calculation
//convertedNetWeight = netWeight ; //convertedNetWeight = netWeight ;
convertedNetWeight = netWeight * convertedQty / qcQty ; convertedNetWeight = netWeight * convertedQty / qcQty ;
......
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