Commit 25a6ba61 authored by msaggam's avatar msaggam

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@202514 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f42921a6
......@@ -7868,7 +7868,7 @@ public class SalesReturn extends ValidatorEJB implements SalesReturnLocal, Sales
if(chidDetailNode.getFirstChild() != null )
{
lineValue = chidDetailNode.getFirstChild().getNodeValue();
if(mlineNoStr !=null && !updateFlag.equalsIgnoreCase("D") && lineNoInt != lineValueInt && lineValue.trim().equalsIgnoreCase(invTrace.trim()))
if(mlineNoStr !=null && !"0".equalsIgnoreCase(mlineNoStr) && !updateFlag.equalsIgnoreCase("D") && lineNoInt != lineValueInt && lineValue.trim().equalsIgnoreCase(invTrace.trim()))
{
//System.out.println("Duplicate item");
errCode = "VTLININVTR";
......
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