Commit b28147cc authored by manohar's avatar manohar

Bug fixing price_list__parent wrong condition corrected


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96651 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2819d942
......@@ -584,9 +584,10 @@ public class PriceList extends ValidatorEJB implements PriceListLocal, PriceList
ls_plist_parent = genericUtility.getColumnValue("price_list__parent",dom);
Is_price_list = genericUtility.getColumnValue("price_list",dom);
//System.out.println("childNode.getFirstChild() 1. : " + childNode.getFirstChild());
if (ls_plist_parent == null || ls_plist_parent.trim().length() == 0)
//if (ls_plist_parent == null || ls_plist_parent.trim().length() == 0) //
if (ls_plist_parent != null || ls_plist_parent.trim().length() > 0)/ manoharan commented wrong condition/
{
if(ls_plist_parent.trim().equals(Is_price_list) )
if(ls_plist_parent.trim().equals(Is_price_list.trim()) )
errCode = "VTPARENTPL";
errString = getErrorString("price_list__parent",errCode,userId);
......
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