Commit 85440ca4 authored by asikarwar's avatar asikarwar

add validation of tran type null


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92888 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 707d6695
......@@ -13,7 +13,6 @@ import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import javax.ejb.Stateless;
import org.w3c.dom.CDATASection;
import org.w3c.dom.Document;
......@@ -179,6 +178,18 @@ implements ReceiptAdvLocal, ReceiptAdvRemote
errFields.add(childNodeName.toLowerCase());
}
}
else if (childNodeName.equalsIgnoreCase("tran_type"))
{
tranType=this.genericUtility.getColumnValue("tran_type", dom);
if (tranType == null || tranType.trim().length() == 0)
{
errCode = "TRTYPEBK";
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
}
// As par discuss with manoharan sir it is not required
/* else if (childNodeName.equalsIgnoreCase("tran_type"))
......
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