Commit 99dd032f authored by mchauhan's avatar mchauhan

validation not to allow 0 conversion factor in sales order detail for rate

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@212538 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b346ef06
...@@ -4184,9 +4184,16 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal ...@@ -4184,9 +4184,16 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} }
} }
// Added by Mahesh Saggam on 05/0/2019 end // Added by Mahesh Saggam on 05/0/2019 end
if(convRtuomStduom <= 0 )//Added by Mukesh Chauhan on 20/11/19
{
errCode = "VTUCON1";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}//END by Mukesh
} // end case convRtuomStduom } // end case convRtuomStduom
// nv__qty_stduom // nv__qty_stduom
else if (childNodeName.equalsIgnoreCase("conv__qty_stduom")) { else if (childNodeName.equalsIgnoreCase("conv__qty_stduom")) {
......
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