Commit c8ad7876 authored by ssalve's avatar ssalve

Sarita : Done changes for allocDateString as if conditon not satisfy not...

Sarita : Done changes for allocDateString as if conditon not satisfy not formatting date and giving Unparseable date: "" error on 09 APR 2019

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@199389 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 777c6790
......@@ -2961,6 +2961,7 @@ public class PostOrderProcess extends ProcessEJB implements PostOrderProcessLoca
{
if(priceList != null && priceList.trim().length() > 0)
{
allocDateStr=sdf.format(allocDate);//Added by sarita on 09 APR 2019
rate = dist.pickRate(priceList, allocDateStr,itemCode,lotNo,"D", quantityStduom, conn);
}
......@@ -3045,9 +3046,10 @@ public class PostOrderProcess extends ProcessEJB implements PostOrderProcessLoca
}
}
//Added by sarita as getting Unparseable date: "" exception in case when pricelist is null on 09 APR 2019[START]
allocDateStr=sdf.format(allocDate); System.out.println("allocDateStr ["+allocDateStr+"]");
rateClg = dist.pickRate(priceListClg, allocDateStr,itemCode,lotNo,"D", quantityStduom, conn);
//Added by sarita as getting Unparseable date: "" exception in case when pricelist is null on 09 APR 2019[END]
}
......
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