Commit 72b9bf9c authored by prane's avatar prane

PO amendment to be allowed for line item even if there is unconfirmed receipt

for the line but not to allow changing rate

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@200208 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 48a3b51e
......@@ -1869,7 +1869,7 @@ public class POrderAmdIC extends ValidatorEJB implements POrderAmdICLocal,POrder
if(count >= 1)
{
/*sql = " select rate from PORCPDET WHERE "+
sql = " select rate from PORCPDET WHERE "+
" PURC_ORDER = ? and LINE_NO__ORD = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, purcOrder);
......@@ -1882,18 +1882,17 @@ public class POrderAmdIC extends ValidatorEJB implements POrderAmdICLocal,POrder
System.out.println("Result of purcRate Rate : " + purcRate +"current Rate : " +rateStr);
if(rate != purcRate)
{*/
//System.out.println("Result of purcRate Rate1 : " + purcRate +"current Rate 1: " +rateStr +" VTCHINRATE");
//errCode = "VTCHINRATE";//Changed In rate not applicable when PORCP is unconfirmed
errCode = "VTRCPLNEXS";
{
System.out.println("Result of purcRate Rate1 : " + purcRate +"current Rate 1: " +rateStr +" VTCHINRATE");
errCode = "VTCHINRATE";//Changed In rate not applicable when PORCP is unconfirmed
//errCode = "VTRCPLNEXS";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
/*}
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
*/
//Pavan R on 14nov18 end
}
//Added By PriyankaC on 07JUNE18.[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