Commit 8df49002 authored by smanohar's avatar smanohar

Wrong validation corrected to check confirmed flag of PO instead of emp_code__aprv

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@213891 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 519a246a
...@@ -252,7 +252,8 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec ...@@ -252,7 +252,8 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec
} }
/*if(errCode == null || errCode.trim().length() == 0) /*if(errCode == null || errCode.trim().length() == 0)
{*/ //COMMENTED BY NANDKUMAR GADKARI ON 03/05/18 {*/ //COMMENTED BY NANDKUMAR GADKARI ON 03/05/18
if( "O".equals(status) && empCodeaprv==null|| empCodeaprv.trim().length() == 0) //if( "O".equals(status) && empCodeaprv==null|| empCodeaprv.trim().length() == 0)
if( "O".equals(status) && "N".equals(lsconfirmed))
{ {
errCode = "VTPONAPRV"; errCode = "VTPONAPRV";
errList.add(errCode); errList.add(errCode);
......
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