Commit 53f23e57 authored by arawankar's avatar arawankar

changes made in POReceiptIc.java


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@176474 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 0ddf2fc7
......@@ -1726,7 +1726,8 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec
}
System.out.println("@@@@@temppono["+ temppono+ "]::templinenoord["+ templinenoord + "]::templineno["+ templineno+ "]");
System.out.println("@@@@@temppono["+ temppono+ "]::linenoord["+ linenoord + "]::lineno["+ lineno+ "]");
if(purcorder.equalsIgnoreCase(temppono) && linenoord.equalsIgnoreCase(templinenoord) && lineno.equalsIgnoreCase(templineno) )
//Modified by Anjali R. on[15/12/2017][Start][To add quantity if purchase order receipt line number same as current line number.]
/*if(purcorder.equalsIgnoreCase(temppono) && linenoord.equalsIgnoreCase(templinenoord) && lineno.equalsIgnoreCase(templineno) )
{
System.out.println("VTTRKQTY Skip");
}else
......@@ -1734,7 +1735,25 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec
qtybrowStr =checkNull( genericUtility.getColumnValueFromNode("quantity",detail2ListTemp.item(k)));
qtybrow = (qtybrowStr == null || qtybrowStr.trim().length() == 0 )? 0: Double.parseDouble(qtybrowStr);
currqty = currqty + qtybrow;
}*/
if( (lineno.trim()).equalsIgnoreCase(templineno.trim()) )
{
System.out.println("VTTRKQTY Skip for current line no.");//quantity skip due to current order receipt line number same as current row line number.
}
else
{
if( (purcorder.trim()).equalsIgnoreCase(temppono.trim()) && (linenoord.trim()).equalsIgnoreCase(templinenoord.trim()) )
{
qtybrowStr =checkNull( genericUtility.getColumnValueFromNode("quantity",detail2ListTemp.item(k)));
qtybrow = (qtybrowStr == null || qtybrowStr.trim().length() == 0 )? 0: Double.parseDouble(qtybrowStr);
currqty = currqty + qtybrow;
}
else
{
System.out.println("VTTRKQTY Skip different PO/Order Line no");//quantity skip due to different purchase order receipt line number and current row line number.
}
}
//Modified by Anjali R. on[15/12/2017][End][To add quantity if purchase order receipt line number same as current line number.]
}
lcrcpqty = lcrcpqty + currqty;
......
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