Commit f111d264 authored by prane's avatar prane

On SO Posting, System should display error if rate is not defined in price...

On SO Posting, System should display error if rate is not defined in price list master for list type batch and lot item.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@200225 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 72b9bf9c
......@@ -973,7 +973,17 @@ public class PostOrdDespatchGen
}
//Pavan R on 26apr19[error on not rate updated in pricelist master against item and lot for type B]
if("B".equals(priceListType) && (mrate < 0 || mrate == 0))
{
rs2.close();
rs2 = null;
pstmt2.close();
pstmt2 = null;
errString = itmDBAccessEJB.getErrorString("","VTRATE1","","",conn);
return errString;
}
//end
if(mrate<0)
{
// errcode = 'VTRATE1'
......@@ -1131,8 +1141,8 @@ public class PostOrdDespatchGen
{
rateStdum=0.0;
}
// System.out.println("convRtuomStduom>>>>"+convRtuomStduom);
// System.out.println("rateStdum==="+rateStdum);
System.out.println("convRtuomStduom>>>>"+convRtuomStduom);
System.out.println("rateStdum==="+rateStdum);
if(rateStdum<=0 && "C".equalsIgnoreCase(nature) )//Added by chandrashekar on 10-aug-2016 // removed nanture type I condition by nandkumar gadkari on 12/12/18
{
//errString = itmDBAccessEJB.getErrorString("","VTRATE1","","",conn);
......
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