Commit a2b8e95e authored by rpawar's avatar rpawar

chages in POrderAMDIC.java

-changes made in itemChanged method for term_code condition

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@173338 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b04bb02f
...@@ -5962,7 +5962,12 @@ public class POrderAmdIC extends ValidatorEJB implements POrderAmdICLocal,POrder ...@@ -5962,7 +5962,12 @@ public class POrderAmdIC extends ValidatorEJB implements POrderAmdICLocal,POrder
System.out.println("@@@@@6termCode[" + termCode System.out.println("@@@@@6termCode[" + termCode
+ "]::termCodeO[" + termCodeO + "]::purcOrder[" + "]::termCodeO[" + termCodeO + "]::purcOrder["
+ purcOrder + "]::lineNoOrd [" + lineNoOrd + "]"); + purcOrder + "]::lineNoOrd [" + lineNoOrd + "]");
if (lineNoOrd != null && lineNoOrd.trim().length() > 0) { //Changed by Rupesh on[09/11/20017][Term Description should set from Transaction Table if Term code is same as previouse term code][Start].
/*if (lineNoOrd != null && lineNoOrd.trim().length() > 0)*/
if((termCodeO!=null || termCodeO.trim().length()>0) &&(termCode!=null ||termCode.trim().length()>0)
&& (termCodeO.equals(termCode)))
//Changed by Rupesh on[09/11/20017][Term Description should set from Transaction Table if Term code is same as previouse term code][End].
{
sql = " select descr from pord_term where purc_order = ? and line_no = ? "; sql = " select descr from pord_term where purc_order = ? and line_no = ? ";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1, purcOrder); pstmt.setString(1, purcOrder);
......
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