Commit a41a5690 authored by msaggam's avatar msaggam

Transaction - Sale return form

Issue - not allowing to take return for same product with different lot gives duplicate Item_code error
have asked the user to do the Entry via sale return as it is allowing there to do the same 

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@202041 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 7b911331
...@@ -6777,8 +6777,9 @@ public class SReturnForm extends ValidatorEJB implements SReturnFormLocal, SRetu ...@@ -6777,8 +6777,9 @@ public class SReturnForm extends ValidatorEJB implements SReturnFormLocal, SRetu
{ {
errList.add( errCode ); errList.add( errCode );
errFields.add( childNodeName.toLowerCase() ); errFields.add( childNodeName.toLowerCase() );
} }
else // Commented by Mahesh Saggam on 14-June-2019 [Start]
/*else
{ {
int length = dom2.getElementsByTagName("Detail2").getLength(); int length = dom2.getElementsByTagName("Detail2").getLength();
System.out.println("length="+length); System.out.println("length="+length);
...@@ -6802,7 +6803,8 @@ public class SReturnForm extends ValidatorEJB implements SReturnFormLocal, SRetu ...@@ -6802,7 +6803,8 @@ public class SReturnForm extends ValidatorEJB implements SReturnFormLocal, SRetu
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} }
System.out.println("For loop over"); System.out.println("For loop over");
} }*/
// Commented by Mahesh Saggam on 14-June-2019 [End]
} }
if( childNodeName.equalsIgnoreCase( "unit" ) ) if( childNodeName.equalsIgnoreCase( "unit" ) )
{ {
......
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