Commit 27befdcc authored by ssalve's avatar ssalve

Sarita: Done changes QC issue when deselect all the rescords.. on 12JAN2018

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@178246 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 921a178a
...@@ -305,7 +305,7 @@ public class CostCtrAllocIC extends ValidatorEJB implements CostCtrAllocICRemote ...@@ -305,7 +305,7 @@ public class CostCtrAllocIC extends ValidatorEJB implements CostCtrAllocICRemote
{ {
childNode = childNodeList.item(ctr); childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName(); childNodeName = childNode.getNodeName();
System.out.println("childNodeName::: for Case3"+childNodeName +"editFlag :::"+editFlag); System.out.println("childNodeName::: for Case3"+childNodeName +"updateFlag :::"+updateFlag);
if("allocation".equalsIgnoreCase(childNodeName)) if("allocation".equalsIgnoreCase(childNodeName))
{ {
allocation = checkNull(genericUtility.getColumnValue("allocation",dom)).trim(); allocation = checkNull(genericUtility.getColumnValue("allocation",dom)).trim();
...@@ -313,8 +313,16 @@ public class CostCtrAllocIC extends ValidatorEJB implements CostCtrAllocICRemote ...@@ -313,8 +313,16 @@ public class CostCtrAllocIC extends ValidatorEJB implements CostCtrAllocICRemote
System.out.println("Allocation Percentage Value is :::::["+allocation+"]" + "\t"+ "CurrentLineNo is :::"+CurrentLineNo); System.out.println("Allocation Percentage Value is :::::["+allocation+"]" + "\t"+ "CurrentLineNo is :::"+CurrentLineNo);
int detlCnt1 = getNumOfNonDelDetail(dom2,3); int detlCnt1 = getNumOfNonDelDetail(dom2,3);
System.out.println("DETAIL COUNT" +detlCnt1); System.out.println("DETAIL COUNT" +detlCnt1);
if((detlCnt1 != 0) && (allocation.trim().length()==0 || allocation == null)) //if(!("D".equalsIgnoreCase(updateFlag)) && allocation.trim().length()==0 || allocation == null)
//if(allocation.trim().length()==0 || allocation == null)//Added by sarita on 11JAN2018 //Added by sarita on 12JAN2018
if(detlCnt1 == 0)
{
System.out.println("Delete count is 0");
errCode = "VTBLNKDTL";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
else if(allocation.trim().length()==0 || allocation == null)//Added by sarita on 11JAN2018
{ {
System.out.println("inside alloc_perc LENGTH.."); System.out.println("inside alloc_perc LENGTH..");
errCode = "VMEMPQLF03"; errCode = "VMEMPQLF03";
......
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